Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp326306rdb; Thu, 21 Dec 2023 10:09:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IHV8dvjvwv7ToYAkC9cq6WYkNg2LkuRYgBeMM6ocI7sIgpbTpqOYZ9J6EzRLTRM99EIUwif X-Received: by 2002:a17:902:8215:b0:1d3:6f65:e31d with SMTP id x21-20020a170902821500b001d36f65e31dmr28742pln.19.1703182164684; Thu, 21 Dec 2023 10:09:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703182164; cv=none; d=google.com; s=arc-20160816; b=U+s1fR+FcEbFHUF1CTzAsoFfujoP9jBwzQYGIdoAPb+i2OmWgJxlSMxRbtV2Wta+bq /FiX0n2M97pJpgkQVDhBZ8FOfp0gnfbQiKqWeBAWL1ccbF1NR8kKPUxTt6q04T7aUZ5V E6hva30byBjRqwE7cDavm3evUrj4ER19Gq2YhsU3e8IGJeJJ+0EhN7hITb/IX+2+aNFe fGYatWNYgbIZowJwRkBP/x4lxfljbuLXrEPlmjqUXLL28hbTYUy8wwFH9f8ZMpCA/B5h nh4a6/r1alOFz11bwPCiM3NHNYCAD1QS6hzgTqM9HiN6X7CXhxroYl7CL/HSmIY/mS4w 8gEw== 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=hA5TH4rh8YuRicl9gtWGUWZ1OzaGmuO4jLvx7s5NA+4=; fh=QpGracFZPHJvc3Rqk7pb0+imjl+0sSjHtiZVo4zgZfE=; b=RLc1IBwFcvAzPVZ0wKTniQEaMFsI90ocQsdZqLcpJ1rMDGgKNdnfeyPNWzbBGltQKn eHhmcewUaqZZjeT7qNl1TnZxqfGPr1PqBU1/n3NS5K0Z53FnLJDCSyf2fJy/UbA+40uU M9P+B46svoUQcrk7V0mm6x4s3Khi9+7Rm006/giM8v6EU0Lgn9xWCxZcRkP+EQ8DKZZ4 TNTkyPMizpxcNj4NETm06BVDj1Wz2rOz+ey06jXYTWG18O0pdtaBOQYD+rEFlfbIhLsu 2bgZvnezkSgE559FT4iXqpCJ2uuV/LgTnv/jcw8VnFQzKM68SRmy+V9CzQy8PeXrnlGY 4HPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ljigpITK; spf=pass (google.com: domain of linux-kernel+bounces-8900-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8900-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id o2-20020a1709026b0200b001d3fc142ad9si1782285plk.289.2023.12.21.10.09.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 10:09:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-8900-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ljigpITK; spf=pass (google.com: domain of linux-kernel+bounces-8900-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8900-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id BE4E5B2668F for ; Thu, 21 Dec 2023 18:06:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B5B9665192; Thu, 21 Dec 2023 18:05:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ljigpITK" 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 DCD41627E2; Thu, 21 Dec 2023 18:05:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2E661C433C7; Thu, 21 Dec 2023 18:05:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1703181935; bh=D5T8wHGhxAKHwrI/lC8X+GMnYbXpN7+mZX5GeytoQ04=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ljigpITKWRoXryXYXE7TF2C2rWPXY88P26mNPS/9U7CNNAjF5Zgv7xB2KPUv4brT3 PXS8SzBv56B91NY5jhDj5FMdLD1e2lW8gEtAJh0GRa3CzOWW29o1BubDuLqBcPnKF1 p+rUcxAizfn9zOMvUHawaFn6lITidua0/D9rs6oepNSEDamK1ClDAXQnS1s/fG3n7b 65MR+q0DuQxdlKBgnwGld9sXNpSb6nquEs7dgOjIzxgB1MwHx4Zt+eynFiDDvsfjYB MTuXW+ZX0eFdIOjOx/6Ork84bt15YpWCDAKWnm7nPvbHDsKeey4pUs6hK+p/uNmzP5 rNzVDH9I/ZriA== Date: Thu, 21 Dec 2023 18:05:28 +0000 From: Mark Brown To: Oleksij Rempel Cc: =?iso-8859-1?Q?K=F6ry?= Maincent , "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: <81f0ddba-5008-43a4-a41c-c7b6ba8e2e3b@sirena.org.uk> References: <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> <501f671d-4e03-490b-a9d6-e1f39bb99115@sirena.org.uk> <20231221174246.GI1697233@pengutronix.de> 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="9BoYyAUBuFErv7HY" Content-Disposition: inline In-Reply-To: <20231221174246.GI1697233@pengutronix.de> X-Cookie: Results are not typical. --9BoYyAUBuFErv7HY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Dec 21, 2023 at 06:42:46PM +0100, Oleksij Rempel wrote: > The main question is - how to represent a remote consumer (Powered > Device)? It looks for me like having a dummy regulator consumer for each > (PSE PI) withing the PSE framework is the simplest thing to do. User > should enable this dummy consumer from user space by using already > existing interface in case of PoDL - ETHTOOL_A_PODL_PSE_ADMIN_CONTROL > or new interface for Clause 33 PSE. That's not even a dummy consumer - the physical power output from the system is a real, physical thing that we can point at just as much as any other physical device. Some kind of library/helper thing that connects up with other interfaces for controlling network ports like you suggest above does seem like a good fit here. --9BoYyAUBuFErv7HY Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmWEfmcACgkQJNaLcl1U h9Acggf+NDcjJKIBfD5BoXWMfSIkaHsYiitSj17XijQ9AOb+V8MrpL1QbuK2lHzS yZv4O/Ed2yk2oLnxJ029R54HnKgXQ25hZKFjdGkLxCHSZS+GhzRPHw7QLIG8KeGO Aw4qjs/Lkd5Nv6sNBs4es4wUiOY5+unwiqOEBZn+doFs6amX0i9Sedk8HqTxpA1l BjrYbDuacb+WEe2vLU1mTrz1+VF67nSO8R+iyShD7sss5AiiLtxxMwiBlPsZn+ec rjFGC5L2bxo71F1HTKDyn108V5E/u0kpfhbRab7jSGr3Z+48TjBczb+QaNfkzegY GswtRELPkEY6dOfiXM/49YnnGd+6mw== =A5qx -----END PGP SIGNATURE----- --9BoYyAUBuFErv7HY--