Re: [PATCH v6 2/4] dt-bindings: hwmon: pmbus: add MPS MPQ8646

Guenter Roeck <[email protected]>
Newsgroups org.kernel.vger.linux-doc,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-hwmon,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
On 7/29/26 14:51, Vincent Jardin via B4 Relay wrote:
> From: Vincent Jardin <[email protected]>
> 
> The MPS MPQ8646 PMBus step-down converter uses the same
> mps,vout-fb-divider-ratio-permille property with the same constraints
> (maximum 2047, default 706) as the mps,mpq8785, so add its compatible
> to the existing schema.
> 

The driver is a separate driver, making this a bit unusual.
I'll leave it up to the devicetree maintainers to decide if
this should be a new bindings file or not.

Guenter

> Signed-off-by: Vincent Jardin <[email protected]>
> ---
>   Documentation/devicetree/bindings/hwmon/pmbus/mps,mpq8785.yaml | 5 ++++-
>   1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/hwmon/pmbus/mps,mpq8785.yaml b/Documentation/devicetree/bindings/hwmon/pmbus/mps,mpq8785.yaml
> index 90970a0433e9..d7a32fb3b7af 100644
> --- a/Documentation/devicetree/bindings/hwmon/pmbus/mps,mpq8785.yaml
> +++ b/Documentation/devicetree/bindings/hwmon/pmbus/mps,mpq8785.yaml
> @@ -18,6 +18,7 @@ properties:
>         - mps,mpm3695
>         - mps,mpm3695-25
>         - mps,mpm82504
> +      - mps,mpq8646
>         - mps,mpq8785
>   
>     reg:
> @@ -52,7 +53,9 @@ allOf:
>     - if:
>         properties:
>           compatible:
> -          const: mps,mpq8785
> +          enum:
> +            - mps,mpq8646
> +            - mps,mpq8785
>       then:
>         properties:
>           mps,vout-fb-divider-ratio-permille:
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.