Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1646241rdb; Tue, 20 Feb 2024 02:40:54 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVdT+22H6vQqQl4zbnYGhQTCg0lYGVFRib6c2r8C5OMx6N4dv5W2s7XcmLt5pmwoHLoVf8ipasu3xUFQi83Qu9MdYVs9P2A4CxzBBcdUA== X-Google-Smtp-Source: AGHT+IF4E3h4dz4rK5/N6n2JALE+WSIN1zzIX/py9pKcpzqok2uRMrCgzAbudAE81KCSnwRGUr8I X-Received: by 2002:a05:6512:3e14:b0:512:b932:790c with SMTP id i20-20020a0565123e1400b00512b932790cmr3178220lfv.25.1708425654229; Tue, 20 Feb 2024 02:40:54 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708425654; cv=pass; d=google.com; s=arc-20160816; b=gjUAMed840Hwf/5mKtzbcSghqfV8Ggh9NHZQA8lWClI8JET9htZNNsXDN9Ge1Cs9l1 UEBD6KFBdatl+DWInw/P54B7vRescD7nud9yMpjvR+x6J6YBguxXqQcn8fMu6JerK80O +znshQcK6p3iYqN6aCX35J9SgtfpOpWQUsoCLcXerNe0bpDKW6+KDO16vCWWa1YHgBp/ 5qP8OxIy3wWSazavD4kLgQy6jwbkPMHBXWsGWnSlF+Z7UrzSBdruyISIpXOTYndx8uZ8 ykMQA/02KiA/5UNfdmldRpyhUBYyjYJ8nPPleli8LUXBLMjcECfyxjeFWyvxtFB9g8BI SLKQ== 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=ACLavhsVh+dltMk+C9yWyeUkFI9OfKzbdHBseD8xfZk=; fh=5/fkld+zcf/XuSy0V3t++3lCdQF6MsgduU+DVU86hTU=; b=pUhBXCBwxc9LqqMbeagWu/vAFKN9Xvl5bHClCoYzv9gNaFOy+OreXpcv8WlX5Jx/LR fQqXAnlzHkDsz6UIaVm8jBkdFtahrT50X+vAixKFFbu1Xp0grjUZLuj1v2mV3MsSkBUx ZM91LaOu7juBjybcvE2DRowXdEDYNhjNG22qXUVvqWBR1NgMoPkMpLrsQ2hoICxjj6xg 71Q3tigXIqmIDHjMq2Zng9CtnHEOz234knY6PE5eAyjB4m5NICTV0d6muz2/rJ4sE2Ho 3Zsk1o5guSdC6qJZYJsC/wKZiaoXmh5zPb7MDsRnKAMB2XbJruOGHifQfQwPpiWAO9fQ pc5w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=Sy8Camel; 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-72840-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72840-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. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a8-20020a05640233c800b00560a161d4e2si3432914edc.232.2024.02.20.02.40.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 02:40:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-72840-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=Sy8Camel; 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-72840-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72840-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 9DBBC1F22276 for ; Tue, 20 Feb 2024 10:40:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A4FE064A94; Tue, 20 Feb 2024 10:40:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="Sy8Camel" Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) (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 B8B335D744; Tue, 20 Feb 2024 10:40:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.199 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708425636; cv=none; b=Xq1MjvTeTXYrF6Zui3/zk1aHcsSPJ594+V1JUNcOhxmBE4oA0NLMRKCS1yPnoKEGnMeuRzTgqN1YAfND9p2PJIjUKFjlFnrcNvdmUSPEkoUCQJRGTK2ptuOwWdTDIL6U+0knYv1ZHKiQlpHqWEEsOdEBrQjq2Pl1WomazJSTtI4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708425636; c=relaxed/simple; bh=wgEKPLuQhowA5lHKPh2DQgm6k4i0knYDD6ZvDFyTHNY=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Q+SsyR+p0Dgw5zDUMR5T68Gn7eBkdgfFMqyL1AzCNooJKbcvxW2AkTwoA2V6dgZ6P/HT2KWgwZCTnFLSx3a/rM5gLbeah/pQXJk1tAS/uQZn/SSfOYWn+eocxn9SWLnT5XqJIeGmOk823UmlE6EQlqz+pqo2Ygm1g84T4aQTaYw= 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=Sy8Camel; arc=none smtp.client-ip=217.70.183.199 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 59B2AFF809; Tue, 20 Feb 2024 10:40:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1708425632; 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=ACLavhsVh+dltMk+C9yWyeUkFI9OfKzbdHBseD8xfZk=; b=Sy8CamelugK8+m7lSC73XuxpD6fIj3LuUTyJBBO9DRk18f/sfwdN0E9xLru1XiKcNZzn61 pod84G04rz0E/l/ZlpJp3oYYnijEixCi1+ZYu4AvW1KRBKJ+MdOILZOpxP5j4X833UeW3S vv+G3kf3rm64TTQnpNhJ9tUU8jZXIl4jci89P1RWQP6T+pn3ijru+/IncV/XEHvvjR74cy SHeR1gzEx3AQ+QrYMdinFg1aZu/mbP5fRnIC9Rge5gkiExIDKmGH0n7B0t5Zri7v1ibyGF 9o1oHPe4PrVklFfimFlDb79aYTbMD+v6q+Kjpw6Gm/yrbbhGbOWr7UHsFCh6NQ== Date: Tue, 20 Feb 2024 11:40:29 +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: <20240220114029.6b1a445d@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 >=20 > Probably this kind of property is a good fit: > polarity-supported =3D "MDI-X", "MDI", "X", "S"; This property should be on the PD side. Isn't it better to name it "polarity-provided" for each PSE PIs binding? Wh= at do you think? We agreed that it is mainly for ethtool to show the polarity of a PI, right? Regards, --=20 K=C3=B6ry Maincent, Bootlin Embedded Linux and kernel engineering https://bootlin.com