Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1176992rdb; Mon, 19 Feb 2024 06:46:42 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVQXk0f58FK3sPHwXEGf2WQP7hnXqnHxQz1C9xWbPI+WoGcSQWju1qcAiCMIdX5UxP9QQKe93+AVxurJWJAvc84ClA3pfTE5PQogEhg+w== X-Google-Smtp-Source: AGHT+IG2hCgTuLuKzqPOmywJw8SVmWenTbrcafQwC3m+4jDlHZ/dn9eRIIRLA6JAvsgqmhlauLN/ X-Received: by 2002:a17:907:1704:b0:a3e:b0ca:5d2d with SMTP id le4-20020a170907170400b00a3eb0ca5d2dmr1323861ejc.55.1708354002485; Mon, 19 Feb 2024 06:46:42 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708354002; cv=pass; d=google.com; s=arc-20160816; b=0x8oX1y7tojSGfgY2h/FQ6Jtqb0UN7TGS2ovkoQlSgSxNRWD0eTI0Grnaxa4hjLChh MRDZHzqo+lIfYQtoLOlH7GSmzdhTx92/RfNSaoblaGKNvR5th6nsiooYaC1fM81COgkF O/3HdWVtb50feUVBKROEuioOZz8zpGNSaD6mYoqbyMaWCv2P36AXkhnE7/CKBUnTeQic n5pHr5qu4KbwshK3bE8Kf2YnDkZT5FptwIUbNtNodsI4SWY3rFW/PkZy8/Gzl2an4LUW Bt6PS4T1fDHoGKxgzKcLoaQsbSRDpXxLTui3SXI9KEYFOU2YTWlN0S+IP5oh5N1JqJkF 9dqw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:organization:references :in-reply-to:message-id:subject:cc:to:from:date:dkim-signature; bh=dlMyt/GJrB0JNCkR9mOHZ/+ThyT2C/+DYVpdAxe/hfA=; fh=5/fkld+zcf/XuSy0V3t++3lCdQF6MsgduU+DVU86hTU=; b=rB3IlFEGBLpCAtyz52WzSnVc7WkC6BWiKV5N3+I5zkcdHdS1YopzkPNS58yrRvC9cP RjMeTFeWKDbHmMSpBlGGUja7+UlMtOtzB4fsJak/DNTCSv4HEgHaNoA2EnAs9gtQyFvI HtKZKQEaguAMqILcuiTVJ7ioNmpQ0Ezvkeb9mQW57mImB0pxAokBHGh/lTZ5zV+ifyzB wLIuqV2XixGdvAU6OG8ka3L3ooFuudUrXoVHJp/YnD85+CeEHq3r4cNK3ou5qs1CHc/0 F6mDoD2wTmEZcJcx6XRiTDvIWjBGorerakTcMADGl1YyWYuENRI4k2GWbhPuPlgNWuAd qadw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=hcJH9P9m; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-71491-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-71491-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id m14-20020a1709066d0e00b00a3e8e4a4ee7si1003253ejr.616.2024.02.19.06.46.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 06:46:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-71491-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=@bootlin.com header.s=gm1 header.b=hcJH9P9m; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-71491-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-71491-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com 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 8334E1F2680F for ; Mon, 19 Feb 2024 14:39:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 36AEB1EA80; Mon, 19 Feb 2024 14:38:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="hcJH9P9m" Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.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 9F5CD1DFE8; Mon, 19 Feb 2024 14:38:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708353528; cv=none; b=WHalSSriSEUMvvgX8D3xDhu1QuHkI1saSqn/Leu/cjmpYlvDD9NXjrLuXxW62HwRPqigYSZHbaoEul4Xs4pEfqmew2MBq13r+xSbb9tW+LKOW94VoSATiFtwzlY8ANMhvdkiYDTbeL27R+YASUibketRD6W/f6y/w23oiqJJ/C0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708353528; c=relaxed/simple; bh=V33FKlInx1KJB20TacJi7c48XX2d5TgiGJuyJLQhp3M=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=khBoxxiFa4EdvC3v1SGgQ9ox3nkwJu8GZNQEGgardH8nciLIuN/NWszYdP+FBAw3UTU7orenYzXqBRtGYNQVPS+5h3juPEZ3cdIgckyKVJ5on1ycwLKgrgg71jpb/mtmyoPch9ST8hCGlWFU++9/OwU7Z8N++OjOx9fciii8Ypk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=hcJH9P9m; arc=none smtp.client-ip=217.70.183.201 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id 38DE81BF20E; Mon, 19 Feb 2024 14:38:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1708353524; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dlMyt/GJrB0JNCkR9mOHZ/+ThyT2C/+DYVpdAxe/hfA=; b=hcJH9P9mEQdasxaR15/c5bbDhmL8Cr/KWh2ZitP7vTgc0Z2gT+VmaBJfxTCoXNLgIdmAXY h3QyZ0CpfPfbQPrwxOQFWGtHCSbI4QU+yzptWL7C9R2zwHVLW6oXpFvE4Bp45eePioVmXo ub2k0nPcu0dMPKiRFRgUrmmxhmfIw/2+tUXXRTVbL7g0h2ndfO/R41JP4Qm/rrej/HnC0S YWbldHcqA3n4MRrOKQ7JOFcKE6/AKOq0GLa3yaPVkPHzUKPx9R9Gk1mi0xPQ8cp5dLWeFo Uam0aGLjIoKPCFiaUtRWQsDcnEQYi0FWs/sxTl6TfEPK3wOW1K4Ep9Yr5CGfzw== Date: Mon, 19 Feb 2024 15:38:40 +0100 From: =?UTF-8?B?S8O2cnk=?= Maincent To: Oleksij Rempel 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 v4 14/17] dt-bindings: net: pse-pd: Add bindings for PD692x0 PSE controller Message-ID: <20240219153840.507be7b3@kmaincent-XPS-13-7390> In-Reply-To: References: <20240215-feature_poe-v4-0-35bb4c23266c@bootlin.com> <20240215-feature_poe-v4-14-35bb4c23266c@bootlin.com> Organization: bootlin X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-pc-linux-gnu) 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-Transfer-Encoding: quoted-printable X-GND-Sasl: kory.maincent@bootlin.com On Sat, 17 Feb 2024 13:14:29 +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. > >=20 > > This patch is sponsored by Dent Project . > >=20 > > Signed-off-by: Kory Maincent > > --- =20 > ... > > + pse_pis { > > + #address-cells =3D <1>; > > + #size-cells =3D <0>; > > + > > + pse_pi0: pse_pi@0 { > > + reg =3D <0>; > > + #pse-cells =3D <0>; > > + pairset-names =3D "alternative-a", "alternative-b"; > > + pairsets =3D <&phys0>, <&phys1>; > > + }; > > + pse_pi1: pse_pi@1 { > > + reg =3D <1>; > > + #pse-cells =3D <0>; > > + pairset-names =3D "alternative-a"; > > + pairsets =3D <&phys2>; =20 >=20 > 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 p= ower > supply and shall be able to operate per the PD Mode A column and the PD > Mode B column in Table 33=E2=80=9313" > it is possible to find reports like this: > https://community.ui.com/questions/M5-cant-take-reversed-power-polarity= -/d834d9a8-579d-4f08-80b1-623806cc5070 Mmh not sure we want to support broken cases that does not follow the spec. Should we? Regards, --=20 K=C3=B6ry Maincent, Bootlin Embedded Linux and kernel engineering https://bootlin.com