Received: by 2002:ab2:3141:0:b0:1ed:23cc:44d1 with SMTP id i1csp419330lqg; Fri, 1 Mar 2024 09:01:40 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUZmxCaWqJj1rEV+wKPZHL1xykr3Dl9HasTStHDWmt12IArtrPBI2lf0nHQTWoYj3pgwiEtdb1znN0eiYT+GIEnb9z4ADcGuy/IiFQRag== X-Google-Smtp-Source: AGHT+IGlHauCGsJYjcErtZRzktqTLE1HaY4nzrmp6s5aA/ru/89YXdyLzsrwK32hp85cIlwvXoAX X-Received: by 2002:a05:6a20:1592:b0:19e:ac58:7b0d with SMTP id h18-20020a056a20159200b0019eac587b0dmr2244480pzj.5.1709312493896; Fri, 01 Mar 2024 09:01:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709312493; cv=pass; d=google.com; s=arc-20160816; b=c2txDPKSSJZ3mfoKSlh6fmnADvNxCOUf14Wqu6cuW27CkFmEFYtbmf7+12hdwM4/xT cfA6H7QOIeZMCtFxNgqr6SB7hP/zgkhWBsywR/KOzfaNbCi7faP7WszIhS2YnfJQ6etR b1YbZ2i9LBhLm+WBSX1xDIMz5C14Fzuow77wXsWjhGlTvaDoSB4PixaiJhw6aCiClzn9 NSkEHI2iiPRIB2a++sg6UAwi5Zk++X5oj7u9FnuTprATWoWucGmECHHxqnJgfqTWa/Gt Yz5hKK/nQoFgDF1ytXv8wLFq+AamljdM1lB2LJyIVy/PRSmgAexrKCYyM3bl9vNYuidD z0xA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date; bh=UYu3+rJxjb+mqqRa9HKMcEt/QqzgKV/HJHC21661eqY=; fh=Av7BMLrvbLLo84sv4GYUON0/fG92ui64ND4enueb6sQ=; b=nVl66xU3KAFjJZrqob1aC14U9V2wnOrS6SVeAyglMZG3WgOIVW5C/6kKA7iRgpTj2p dLiGxGTWTrFXUNIfhRXdFksAVwnlg9E8QFWs0uP8o0K/9VrM+1wl6pKmvl57RzN0gWck NGH+8Xz9cERABigkPMoNEuV+LGMm+ut/Ht+QpuN6XDGmPcki3uR26oTR77DP14MAK7md 4FfGbYMR8B0WPNNuyoVjnbOt8Yu3cPuzqIgN+wdc4wv+5vxeDZ/WHpraZM0k8NoCIzqX 2Y1XqDSMeYtuFV//+rAvcn9mCjSkNIR/vSJ6H0NOrbzT115dR5E30S+phRqURVDI7hH1 qPrQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-88776-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88776-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id x17-20020a631711000000b005dc88c4702dsi3869622pgl.225.2024.03.01.09.01.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 09:01:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-88776-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-88776-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88776-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 1096F28A2FF for ; Fri, 1 Mar 2024 16:57:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2915E7472; Fri, 1 Mar 2024 16:49:15 +0000 (UTC) Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ECC6C6AA2 for ; Fri, 1 Mar 2024 16:49:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709311754; cv=none; b=SK0zB7A5WeH8MTG4+NvLGb6y7TgvzJrljMwQrigGiPKA9m2HS71srbF8Hjw7z82XCvlZ2jbK860KWo6/dhUb/qTqFyW8kcn/XaRQcQ463uZyUfk+NKQq3OJRvJtmQfjgzf1aOb5YwVl6LtX3Qyei59gwG1VhzV102m0W/mJsjCM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709311754; c=relaxed/simple; bh=2U+NFf8VzBL7i5JecqNdGXv70qAxb5ESPa2lPEXW6Jw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Ge3jxHyP0jBsMnBsjUm6wBwr4iaNJVgF4mcnxjJZOYk6uynkg5MAUl6AzO54nv1/+vI/AI6C9dLShWRpgGxfH0430wHi6Cvn7GBtde2Pxjah7zQWzlffApxI65Z9EYNvniwKMa0CRLPjRVgORADbzBwFXgPeQvJSG4daj5tXBNc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rg63j-0005DY-Vp; Fri, 01 Mar 2024 17:48:32 +0100 Received: from [2a0a:edc0:2:b01:1d::c5] (helo=pty.whiteo.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rg63i-003ofQ-4h; Fri, 01 Mar 2024 17:48:30 +0100 Received: from ore by pty.whiteo.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rg63i-00F8ob-06; Fri, 01 Mar 2024 17:48:30 +0100 Date: Fri, 1 Mar 2024 17:48:30 +0100 From: Oleksij Rempel To: =?utf-8?B?S8O2cnk=?= Maincent Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Jonathan Corbet , Luis Chamberlain , Russ Weight , Greg Kroah-Hartman , "Rafael J. Wysocki" , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Mark Brown , Frank Rowand , Andrew Lunn , Heiner Kallweit , Russell King , Thomas Petazzoni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, devicetree@vger.kernel.org, Dent Project Subject: Re: [PATCH net-next v5 10/17] net: pse-pd: Add support for PSE PIs Message-ID: References: <20240227-feature_poe-v5-0-28f0aa48246d@bootlin.com> <20240227-feature_poe-v5-10-28f0aa48246d@bootlin.com> <20240301171005.43188d02@kmaincent-XPS-13-7390> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240301171005.43188d02@kmaincent-XPS-13-7390> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ore@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Hay Köry, On Fri, Mar 01, 2024 at 05:10:05PM +0100, Köry Maincent wrote: > Hello Oleskij, > > Thanks you for the review. I'll try to review more at weekend. > > > + /* Legacy OF description of PSE PIs */ > > > + pcdev->of_legacy = true; > > > > It is not "legacy" :) PoDL do not providing definition of PSE PI since there > > is only one pair. May be: single_pair, no_pse_pi or any other idea. > > You right it is not needed for PoDL. Maybe no_pse_pi is better according to the > following thoughts. > > Just wondering, how a pse controller that support PoE and PoDL simultaneously > would be exposed in the binding. In that case I suppose all the PIs (PoE and > PoDL) need to use the pse-pi subnode. Then the "alternative pinout" and > "polarity" parameter would not be requested for PoDL PIs. In case of hybrid device I would expect that we will have an 4 pair connector where only one pair will be used. In this case we will need to know what pair and polarity is supported or can be configured for PoDL. It will be full blown PSE PI node with PoDL specific extras. Don't worry about it right now. Regards, Oleksij -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |