Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp2401701rdb; Wed, 21 Feb 2024 06:42:47 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXGJSilzICLfOL2V9FTq55a9J72nEsv3BGN/2hlEAMXKxtUhp+h3oqhfLrdMXPU9CppIB+tn80snvYYowKhaYHneGbZ61qagy7X3+UAkA== X-Google-Smtp-Source: AGHT+IHom3WWeKbK6L4lPpil/iny/T2twi7odjbv6ndZNZRP4fgpHbSbvCp9sHs9V62Qmf837zf8 X-Received: by 2002:a17:906:48cc:b0:a3e:6501:339d with SMTP id d12-20020a17090648cc00b00a3e6501339dmr6660539ejt.61.1708526566942; Wed, 21 Feb 2024 06:42:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708526566; cv=pass; d=google.com; s=arc-20160816; b=ryxvwg3HHPGliGMBrCTy6NBvRRX2ff8dPhrB3MiYUL6OJ0F3Tu4YKOmR+poZivV/7K f1OFr9Xxa0FCmz1h5HRvaXFSuVOkK8h5QsRBT2qKgiIpM7MDYNHSE1bQrHz2Qix1I93C slGlfjot46Ip1ETOo/RXM/XjD4gQbhjt0HCg+4lGI8svc7H+9qfCtLWpGthrItm5y0bt vVyrPlgeZhGU3V0hUxrNh8BDPnCpgP+XLmdeKw6sXGQWFNZSE8VJa2jlkq0Ixg7gyG+f ChKDN8s8CuMRTuDotlWcrK9TAhLjee9JEI6j1hwafCfMs4WM4lni+ehFmuhcH+zpP13h 7d1A== 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:dkim-signature; bh=fmTc5O7z6wNn/Q8rF9Snt1E6YxYYkV/OkCRbRQIJVRM=; fh=oKhYOBbOsE/JeHIqAMo4D8uiPhpoyNfK9ryOIAaqBco=; b=zmpwVkmu9agZH5Ho1reTm18M/+x+4Gy19XcRp7zNk7l4cV5kS6E1PcSFVLsIYAGHRI UPMEBc7/oAzOruwFoEzd3ewhvOskSb9i98dAOqfw764Iu4gKkybK1n6/RNuplB8eebbM +RFXeOYw5rOg6Yg25JlTDQeiNah6pwjWblPgl1rANKmAUhu13o2OUfNy3MA06Nhc8uE2 ky8qjtx4AcfknC7YFjBIZAmEmblWva7Ur/39gjqWGxQVEP4FxtqjBSVj2m3GIwImoKZ5 flpsUQehderqi0GbIv9tX4bmG/AOB5rMtHDKauJ4tJdXhNTyajh3/8Wr76gKdnIsmKDz S7gA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ED+Is0Rs; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-74923-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74923-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id gl4-20020a170906e0c400b00a3f552d9d64si301646ejb.811.2024.02.21.06.42.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 06:42:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-74923-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ED+Is0Rs; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-74923-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74923-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 am.mirrors.kernel.org (Postfix) with ESMTPS id AE2E51F24F46 for ; Wed, 21 Feb 2024 14:42:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6537B7FBA6; Wed, 21 Feb 2024 14:41:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ED+Is0Rs" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 713017FBBE; Wed, 21 Feb 2024 14:41:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708526498; cv=none; b=JwjPJxwegBMNv2hbVjuCq9GrxJhLjr++06qlJ6UfH26N16EhvB4JmEy1saoY5M8TTUpoSHSY7zxwHQhgz49lXSnWmbDi7Mzn/YKOmK+B01zly6nEkfl5E9Y21MRed+QDDj/C8Dh/UJriYIJVUw79p9qDauybDonyDtQtRmGZd8Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708526498; c=relaxed/simple; bh=LMvwRVWrGpntZKffwPjxzABB0GbvgGzy15uoz5ce5Ck=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=LkhP6ia6rA3vTKCvmREOd6z+HZPnCudA2g2827wvEpcFGS2uwk5yPmTkUCDY9KzWO/K1njzKJeZxnfZiR0AoulB4/35aHougV3DHwsjGwGGr4lowWvX6cCf8yUzeSuTAgBcZKH3SRIksWKs4ELQYqydX300ManRJOF1ace3joos= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ED+Is0Rs; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0F34BC43399; Wed, 21 Feb 2024 14:41:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708526498; bh=LMvwRVWrGpntZKffwPjxzABB0GbvgGzy15uoz5ce5Ck=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ED+Is0RsdeVe2u1XRn9CptJaFKbYvAoA7zlpphH6RpmngRFblgD0fcKmbWmWRw+9R duuhOW191XM9FtLrmaayiakgjT+3nAHjaQldSiZwQkh+cKNrVAlNHy9qqp8nzN3y+s OcQm7CbEJNg5qelau0b6Ac6FSN4XjhYP5E+UhNBrfCu7/XqFFv1E+r1S02F/w4YvK9 tS9WwvcDbrhuwqJTsltEGwo7mmmO0c6s1+Vdojn1SWXnM/06GMXfZXGNVUaGw33/2u LauqDeHtD4tNOLfxsEezzvnOBJJI6C9IYochwhRRUIDmeflWyKyZGnk20lZBAK3iRF E5wLxaGuUwsew== Date: Wed, 21 Feb 2024 07:41:35 -0700 From: Rob Herring To: Oleksij Rempel Cc: Kory Maincent , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Jonathan Corbet , Luis Chamberlain , Russ Weight , Greg Kroah-Hartman , "Rafael J. Wysocki" , 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 v4 14/17] dt-bindings: net: pse-pd: Add bindings for PD692x0 PSE controller Message-ID: <20240221144135.GB2779189-robh@kernel.org> References: <20240215-feature_poe-v4-0-35bb4c23266c@bootlin.com> <20240215-feature_poe-v4-14-35bb4c23266c@bootlin.com> 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: On Sat, Feb 17, 2024 at 01:14:29PM +0100, Oleksij Rempel wrote: > On Thu, Feb 15, 2024 at 05:02:55PM +0100, Kory Maincent wrote: > > Add the PD692x0 I2C Power Sourcing Equipment controller device tree > > bindings documentation. > > > > This patch is sponsored by Dent Project . > > > > Signed-off-by: Kory Maincent > > --- > ... > > + pse_pis { > > + #address-cells = <1>; > > + #size-cells = <0>; > > + > > + pse_pi0: pse_pi@0 { > > + reg = <0>; > > + #pse-cells = <0>; > > + pairset-names = "alternative-a", "alternative-b"; > > + pairsets = <&phys0>, <&phys1>; > > + }; > > + pse_pi1: pse_pi@1 { > > + reg = <1>; > > + #pse-cells = <0>; > > + pairset-names = "alternative-a"; > > + pairsets = <&phys2>; > > According to latest discussions, PSE PI nodes will need some > additional, board specific, information: > - this controller do not implements polarity switching, we need to know > what polarity is implemented on this board. The 802.3 spec provide not > really consistent names for polarity configurations: > - Alternative A MDI-X > - Alternative A MDI > - Alternative B X > - Alternative B S > The board may implement one of polarity configurations per alternative > or have additional helpers to switch them without using PSE > controller. > Even if specification explicitly say: > "The PD shall be implemented to be insensitive to the polarity of the power > supply and shall be able to operate per the PD Mode A column and the PD > Mode B column in Table 33–13" > it is possible to find reports like this: > https://community.ui.com/questions/M5-cant-take-reversed-power-polarity-/d834d9a8-579d-4f08-80b1-623806cc5070 > > Probably this kind of property is a good fit: > polarity-supported = "MDI-X", "MDI", "X", "S"; Where does that live? Looks like a property of the consumers defined in the provider. Generally, that's not the right way for DT. I'll say it again, I think you should be expanding #pse-cells (>1), not getting rid of them (==0). Rob