From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 605C638D3FE; Fri, 12 Jun 2026 16:12:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781280757; cv=none; b=fP6fqZivAMeI/F8oh1JzwKczQf2rJ9X/Ml+EeRnqgxZxKDTBARTOSmSihpvRbwv1b6/63VTQOjJANQw2dijtfFz3EQx+98MrN25EJlVnhcRpr88InJNv/gm//30eMZ3jNp5Da9xXIBmrHhAmFEGv/FPT0VnuhoaP7IrbHyVls24= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781280757; c=relaxed/simple; bh=J9eyQs2CHRbvAhdaMfyGhbERyFF7Zxyw2mXhc8bHpUc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=RpD5kDXeCDt7TjU39lCZ18647F+5Uo5cPTXx3CtsHXTJdfPamTGtJ3T6M+nKhD0PZFuBUF3ZIgfk4jLQXjVqN3pYiAhDX0dfo/j7kZ6iHZrWc4M9dF6ZpKPD3WTQgNtbMckoyAEbbbRT7o06HqLdIKGltjG7P2amy7MuX6P92pg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=biw5zaLg; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="biw5zaLg" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7ED2A1F000E9; Fri, 12 Jun 2026 16:12:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1781280753; bh=z02Ls5D3gWOFaxVY1Vrlu09mzE4H0tHUI1xrrSHZ/To=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=biw5zaLgZJCPCNZQGYbIQFDJHZEafNvamooNnpBrPI1VpXYh7Ru7yJA/DVbBgD024 ifVSs43LN/P8jXKk/96+B7KpQ8ZcXaP7ahZipJWyPqv0znFyqFOKfFe7x9EDNV9Vuc Ir40WSD2ootjyhuElMZHjDJfTBjZBKIRvCbeoHrLyuI/N6RBKN+DcarUFncuDFRntt oW7UWkGPe4/xKRFva46w7h/w/THuaMp/+suY7GNkgPJAK+UF23MfvxFgWgTq1Vj0tA +81qCprPt9YmoL0jDzrMif2VIKjaJxOC+VM3dfpgpf/CsujgAXYjwdBXDZq9jJ+xnj u4z2yid8INFmQ== Date: Fri, 12 Jun 2026 17:12:29 +0100 From: Conor Dooley To: Potin Lai Cc: Guenter Roeck , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Zev Weiss , linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Cosmo Chou , Mike Hsieh , Potin Lai Subject: Re: [PATCH 1/2] dt-bindings: hwmon: pmbus: ti,lm25066: add current limit properties Message-ID: <20260612-lecturer-unclad-d80218119ae5@spud> References: <20260611-lm25066-cl-config-v1-0-02e567bf3d91@gmail.com> <20260611-lm25066-cl-config-v1-1-02e567bf3d91@gmail.com> <20260611-mocha-strive-a7f3265dd3f4@spud> 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="S4zO5QqditTU704k" Content-Disposition: inline In-Reply-To: --S4zO5QqditTU704k Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 12, 2026 at 05:10:38PM +0800, Potin Lai wrote: > On Fri, Jun 12, 2026 at 1:27=E2=80=AFAM Conor Dooley w= rote: > > > > On Thu, Jun 11, 2026 at 05:58:44PM +0800, Potin Lai wrote: > > > Add mutually exclusive 'ti,cl-smbus-high' and 'ti,cl-smbus-low' boole= an > > > properties to configure the device's Current Limit (CL) behavior using > > > SMBus settings instead of physical pins. > > > > > > Signed-off-by: Potin Lai > > > --- > > > .../devicetree/bindings/hwmon/pmbus/ti,lm25066.yaml | 20 ++++++++++= ++++++++++ > > > 1 file changed, 20 insertions(+) > > > > > > diff --git a/Documentation/devicetree/bindings/hwmon/pmbus/ti,lm25066= =2Eyaml b/Documentation/devicetree/bindings/hwmon/pmbus/ti,lm25066.yaml > > > index a20f140dc79a..95ea7c26dec2 100644 > > > --- a/Documentation/devicetree/bindings/hwmon/pmbus/ti,lm25066.yaml > > > +++ b/Documentation/devicetree/bindings/hwmon/pmbus/ti,lm25066.yaml > > > @@ -46,6 +46,26 @@ properties: > > > > > > additionalProperties: false > > > > > > + ti,cl-smbus-high: > > > + description: | > > > + Configure the Current Limit (CL) to use the SMBus high setting. > > > + type: boolean > > > + > > > + ti,cl-smbus-low: > > > + description: | > > > + Configure the Current Limit (CL) to use the SMBus low setting. > > > + type: boolean > > > > What's smbus specific about this? If the pin was connected to a GPIO, > > you'd then need to have different properties or use these ones with an > > inaccurate name. > > >=20 > The "smbus" in the property name was originally meant to indicate > that the setting is configured via the internal register over the SMBus (= I2C) > interface, rather than physical pins. Right, but if you do it via the physical pins using a gpio, you still need a way to say what limit is. The status quo only works if the limit pin is tied high or low. >=20 > > Please also spell out "current-limit". > > >=20 > I will rename the properties to "ti,current-limit-high" and > "ti,current-limit-low" > in the next version. Other thing that might be worth doing is making the property a string and just having `ti,current-limit =3D "low"` etc. --S4zO5QqditTU704k Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCaiwv7QAKCRB4tDGHoIJi 0hrAAP9jl+N4lt/L2Aof9LFMvWZ4NkHJKwrlnrQChX8xVnY2iQD+IedBFc05axoQ L7i0tC+Fntx5yWCb3pFiMWOxOhI3iwE= =/Iuh -----END PGP SIGNATURE----- --S4zO5QqditTU704k--