Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp576411lqp; Thu, 21 Mar 2024 09:15:43 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVjh7174sy6hDaqylwGqdutMaWg02o1xYQMZN52REzeheY1QGDIH9GqOr3SbkkFzKVFogyNdmWtoEK1dTr3czd7KUkUaSbdYDMemVRmow== X-Google-Smtp-Source: AGHT+IEnzwT7Tb5+/dNJfu96rnFVoKOVLzkAiwjU2Zjw7PjePPytiu7v79vWaCiShbNLEAe0TLJP X-Received: by 2002:a05:6402:3881:b0:567:2870:1f1c with SMTP id fd1-20020a056402388100b0056728701f1cmr14691190edb.19.1711037743388; Thu, 21 Mar 2024 09:15:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711037743; cv=pass; d=google.com; s=arc-20160816; b=cdnn+LD2eZpOn0UP13/OTspJt6Jo4YCSW3LVtBK73RNorGnJEpBw64Dp2ReYiIOnV1 VFn4LxAkWrlfWQ6YfyzjLl5jW19VlQrfi8mAJGSZ9Gke+vUze39PmPLBp5pOVpt3Es+h NQNWRk7ZxsVUtgEXYGMIezJPi0/x7E0/ezcFbEDTKCPyAhlINs3vY5vO+bGiMLhNHCFl tecb4tKpBbnQTd3QsOh9gU58QJNeCeRhLqMfVo0rON4OXlEdAKoCNEmk4dEmEhf3BjN0 4W3+26z6JzMTqGmyu4eHqsJYIu7L7HJ0A2jE8CqzC249KxJpw4sSPh3PdRYZ2mB+PphU +Kdg== 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=ss8gXzP5nhwWey64bCP2DtTV4v6oGXUHUEc5COfyiuA=; fh=5/fkld+zcf/XuSy0V3t++3lCdQF6MsgduU+DVU86hTU=; b=HmuDuFnJ4CP5N7FMC1IQdndF+dAvKl0p4EmfSzIN2qFQsCh1zOlBBXpAU0IyQSM/Wl 8/Qg6H0yMW39oxi18CdqG//Dph+IeRLMC84h8NPAIXKow+BzNSS45OIPbPV2r3wJj1cG fxSb4YxjERndn7lOz0hey4Nwr4CXB65/AWn1Gcxior/6PZmAYIaRzZz8R506PXPMgRZa pecRRYAw+X5ZeBUHQYVmzUyU6/LAON8D9j0YnCJUeyom7sdKORnY0AvquYPz8kYEz/eH HcnH/Fw75ys3MS0GvdSA+63vPLthXR/8SryB+5MAR4/wWVHLKgVZharWlqK64Ox6jUhj tbJg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=JVQmafOY; 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-110322-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-110322-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 p10-20020aa7c88a000000b0056ba7565211si27553eds.493.2024.03.21.09.15.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 09:15:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-110322-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=JVQmafOY; 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-110322-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-110322-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 031621F21CF3 for ; Thu, 21 Mar 2024 16:15:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A757312C537; Thu, 21 Mar 2024 16:15:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="JVQmafOY" Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) (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 20715A934; Thu, 21 Mar 2024 16:15:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711037730; cv=none; b=eB5Xdb9hzMHLn0Lt2iyXTCg1D9r51olHEnsvNDEdfK9DZ0w6eu5t0w7OS7Po03tL0nLOFWZH8QxS26W6COaYDQr7CtA1WSaWB6VTfhKbodC8rvwjvWSCiIaaU3W5Ppf8q37j3aHiALryuyU1ipVzKkm2j8u6og9JNDUhoQOKTR8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711037730; c=relaxed/simple; bh=uw1fUO1KkmlnLMpuvD4Agl5GA1mZui2h2+xJbDsq49M=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Ug72Mj8gDb+Gj3F6fdnGilnxXHsm0i9cXjtOwU1v+Q1eruouXDPddyU+acYY8DGp4Zzl4GonrjnZ7BOE1weswWBjmZnBdID1zDq4FI3dHw03TJRYY+We1z71lWoIw+4i00ckGj40x2k9RrteYVi+NKhtEhhE4AXn2O6UdOGlA80= 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=JVQmafOY; arc=none smtp.client-ip=217.70.183.194 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 01D6640005; Thu, 21 Mar 2024 16:15:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1711037726; 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=ss8gXzP5nhwWey64bCP2DtTV4v6oGXUHUEc5COfyiuA=; b=JVQmafOYYWEykWC9frbdpTxxpEAxB6Fmsi4emB05jKPNrdIr0NnFWYXegP8Lg++svK4vVb 0xWtbphUl+JSSrsM/LE/p1I9PFg8ZnZHVJqQCVxqyHjKiJmyvJ9x+GsevTt7FHkCypQjkm UYJbkFFOqwd/1dTM2ynNbkYtL3xiECxySYsjaIOE/joy4/3L2xefVz+e0p6zOHkAfs0ooe RxnCnDPCaP9RsU5eYpNAwzaPJgPwYC3EgMxndB4EwJanto9AWvYtH3C5GcrecWgN1I0oKB oqPpnTi//xPyrWpQMV8pUbhP6e3CPIwE745aCszXMVlRB2OoZPY+Obb8xBtw2g== Date: Thu, 21 Mar 2024 17:15:24 +0100 From: Kory 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 v5 13/17] net: pse-pd: Use regulator framework within PSE framework Message-ID: <20240321171524.0b04bfcc@kmaincent-XPS-13-7390> In-Reply-To: References: <20240227-feature_poe-v5-0-28f0aa48246d@bootlin.com> <20240227-feature_poe-v5-13-28f0aa48246d@bootlin.com> <20240304102708.5bb5d95c@kmaincent-XPS-13-7390> 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 Hello Oleksij, On Mon, 4 Mar 2024 11:31:19 +0100 Oleksij Rempel wrote: > > =20 > > > Should be tested, but if, instead of "vin-supply", we will use > > > "pse-supply" it will make most part of pse_regulator.c obsolete. =20 > >=20 > > Don't know, if it is done at the pse-pi node level it may not break > > pse_regulator.c. Not sure about it. =20 >=20 > me too. Before your patch set, the regulator topology for PoDL PSE was > following: > power-source > fixed-regulator > PoDL_PSE-consumer >=20 > Now it will be: > power-source > fixed-regulator > PoDL_PSE-consumer > PSE-PI-provider > PSE-PI-consumer >=20 > By porting porting PSE framework to regulator, probably it make sense to > remove two levels of regulators? > power-source > fixed-regulator > PSE-PI-consumer Sorry, I forgot to reply about this. This is specific to pse_regulator driver. Could we tackle this change in an= other patch series when the current patch series got applied? Also I don't have the hardware to test it. Regards, --=20 K=C3=B6ry Maincent, Bootlin Embedded Linux and kernel engineering https://bootlin.com