Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp259342rdb; Thu, 21 Dec 2023 08:22:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IH0wcNp9pHtgqDvY5kxyKxZH9Vy8a5+Ig9XnKEZQhTQKkQDgcr6EVReUacJg7Nnwp7kjmLD X-Received: by 2002:a05:6a00:1a8e:b0:6d9:4322:8eaa with SMTP id e14-20020a056a001a8e00b006d943228eaamr2563449pfv.1.1703175763589; Thu, 21 Dec 2023 08:22:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703175763; cv=none; d=google.com; s=arc-20160816; b=cLRpGHZ/+nrckd2vQYcfNHBGtr004ZyDCGZkBovKdYRLjkMQBNVFx5mh35pZQkA5Nl GGZ5W1vuFJOFbSf8JWxYgZZZ7SVIaErFcBOAHC9b4rXeKTAHUyrVkjqluCDlQUnFcW2g x4MrYm2P8TcXStDJ0tDHiukH3wovcZ7eYhvY8CKm2SH4Subcuoz5TJByaoLQbiVCDaII WwYBRWUNaQOkKG9AkQjkQv4GjZERTBsT3iDgVMFMd2kH/Iy/5lbJiU255Y18wEpQH/+G 7ik9XrzVwEyx2uxLXoA27Oh8Dji2vYR/Oc06m7s9Hy1uebpDrthg4uRO63qb0ogu9Fsh fVAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=slYrtMNOL62ZahbaJLbhXsK8TRby/hekr2wMyF5PqxA=; fh=Yx9RTunlskwo8k+ncfnJkPMxgvc3YrIqzprDsw0Xblk=; b=NGxyY83K8rhNXkMWkwLf+r12hfvA4nKyBV0SHim+btSCGPzs+cF7yMCjiTdS3aUlD6 mTk91YV1yqjk4QjDVsAKXQRYIh/asmkuPRIhNU9TQM5BUScXSYM0OBt2i7kNcNAcCTEw Ar9v9TPbGA/qnNEcgP9WwzYZtD6UKQpFhpmOXcf467K2qjpxZiXqLF4I+xiErc/y6bGk jZADluvWgN3s6StxSC42dxK6xYiRnG0Yk2+ElFwqnoGv6ekVAVpfzCtVQh0qTE2kRVYB oearmuV2aJuGECkcao14rSIlfDm4H2ujCVPscb+sZq0aHNsFrVnF7pz4+dKBdR4nStPG bTdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=iYRfrVk+; spf=pass (google.com: domain of linux-kernel+bounces-8755-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8755-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 j16-20020aa79290000000b006d8a3849027si1707465pfa.325.2023.12.21.08.22.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 08:22:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-8755-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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=iYRfrVk+; spf=pass (google.com: domain of linux-kernel+bounces-8755-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8755-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 7FC3F289F75 for ; Thu, 21 Dec 2023 16:21:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 974C15992B; Thu, 21 Dec 2023 16:20:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="iYRfrVk+" X-Original-To: linux-kernel@vger.kernel.org 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 BEB855991E; Thu, 21 Dec 2023 16:20:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 21FABC433C8; Thu, 21 Dec 2023 16:20:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1703175617; bh=n7fUGVM+SEvuGWo8qzDk63I/GzAyHgRn8q2TZjjNudM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=iYRfrVk+hL3FKrbLdQnZxKrkyyeoi2039+1fgKj8SO96zJ6EnlI3M7qqNlaPr8BG8 ujSwupaWgPj61b+1HTbM+Fcf442LrUxam6y9JhcFi8T6hINBlPHdAQC8ZI+agHCVZ/ S8HZ50QewRYc2MMn7fmgrH4u0HWiyyaZruJXEy6NRJqkMZPj2rQDJaF5S34WOtpFbY ayDG+xoEVZddySlB3Q7GtecMSBMIbVPNDQnJ9bi41o+Jtsb+8zbg1IM+1Xgda4H8k8 vmlOLjEaCYBpjbcgwrn2kl8raIhxDzR3RsdO0r89rMyxbsimu3+cI2zrh4TSDrGCYn 5febw4BqNSqFw== Date: Thu, 21 Dec 2023 16:20:10 +0000 From: Mark Brown To: =?iso-8859-1?Q?K=F6ry?= Maincent Cc: Oleksij Rempel , "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 , Thomas Petazzoni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, devicetree@vger.kernel.org, Dent Project , Liam Girdwood Subject: Re: [PATCH net-next v2 8/8] net: pse-pd: Add PD692x0 PSE controller driver Message-ID: <501f671d-4e03-490b-a9d6-e1f39bb99115@sirena.org.uk> References: <20231201-feature_poe-v2-0-56d8cac607fa@bootlin.com> <20231201-feature_poe-v2-8-56d8cac607fa@bootlin.com> <20231204225956.GG981228@pengutronix.de> <20231205064527.GJ981228@pengutronix.de> <4b96b8c8-7def-46e5-9c85-d9e925fb9251@sirena.org.uk> <20231205140203.GK981228@pengutronix.de> <88ed0c94-d052-4564-be0c-79a0f502eda8@sirena.org.uk> <20231221163610.47038996@kmaincent-XPS-13-7390> <20231221171000.45310167@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: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="3A6hdUUF9ZVYaylR" Content-Disposition: inline In-Reply-To: <20231221171000.45310167@kmaincent-XPS-13-7390> X-Cookie: Results are not typical. --3A6hdUUF9ZVYaylR Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 21, 2023 at 05:10:00PM +0100, K=F6ry Maincent wrote: > Mark Brown wrote: > > On Thu, Dec 21, 2023 at 04:36:10PM +0100, K=F6ry Maincent wrote: > > > Mark Brown wrote: =20 > > > > OK... I mean, if they're not using the regulator framework I'm not= sure > > > > it has much impact - there are plenty of internal regulators in dev= ices > > > > already so it wouldn't be *too* unusual other than the fact that AF= AICT > > > > this is somewhat split between devices within the subsystem? Neith= er of > > > > the messages was super clear. =20 > > > PSE Power Interface (which is kind of the RJ45 in PSE world) have sim= ilar > > > functionalities as regulators. We wondered if registering a regulator= for > > > each PSE PI (RJ45 ports) is a good idea. The point is that the PSE > > > controller driver will be its own regulator consumer. > > > I can't find any example in Linux with such a case of a driver being a > > > provider and a consumer of its own regulator. This idea of a regulator > > > biting its own tail seems weird to me. Maybe it is better to implemen= t the > > > PSE functionalities even if they are like the regulator functionaliti= es. =20 > > Is it at all plausible that a system (perhaps an embedded one) might use > > something other than PSE? > Do you mean to supply power to a RJ45 port? Whatever it is that PSE does. > This can be done with a simple regulator. In that case we use the pse_reg= ulator > driver which is a regulator consumer. > I don't know about other cases. Oleksij do you? In that case it sounds like you need the split to allow people to substitute in a non-PSE supply, and everything ought to be doing the consumer thing? --3A6hdUUF9ZVYaylR Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmWEZbkACgkQJNaLcl1U h9Dmsgf/Y+iuaKCT8rB5ZBLmEZC3fsyLePswrWIWi6K7Oup7pNwnrCMIG5DrHYIa mP3mf9/4tOnsRyZtIpUmwL7LEirZV4iThcWwK8ylYJrWUhgUPhsEpSjllmFRKtBw uFbCx2owtx7Y7nmn2uM2dJfY9Rk+ERGK9K29dTghqqzJppXYoELrNv70ZlGd0dqb XztUXnzqG7cOTDxd+t3YESfr2jQnqssnLEmeQAJsBNBj/ANQ0e6JBOuHbX8LxNrl WZvX8cNYKA5dz/TeeCR6S+KoGzVJ4jayp7Y8xhslAgA7KorBabc9gTA7aTaroMLO UuvXolekEc4clNfpKWxHtKfhF7gH6Q== =kWGK -----END PGP SIGNATURE----- --3A6hdUUF9ZVYaylR--