Re: [PATCH 1/2] dt-bindings: iio: adc: rtq6056: add support for the whole RTQ6056 family

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 26/12/2023 04:47, cy_huang@xxxxxxxxxxx wrote:
> From: ChiYuan Huang <cy_huang@xxxxxxxxxxx>
> 
> Add compatible support for RTQ6053 and RTQ6059.
> 
> Signed-off-by: ChiYuan Huang <cy_huang@xxxxxxxxxxx>
> ---
>  .../devicetree/bindings/iio/adc/richtek,rtq6056.yaml         | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/iio/adc/richtek,rtq6056.yaml b/Documentation/devicetree/bindings/iio/adc/richtek,rtq6056.yaml
> index 88e008629ea8..d1e1f36d1972 100644
> --- a/Documentation/devicetree/bindings/iio/adc/richtek,rtq6056.yaml
> +++ b/Documentation/devicetree/bindings/iio/adc/richtek,rtq6056.yaml
> @@ -25,7 +25,10 @@ description: |
>  
>  properties:
>    compatible:
> -    const: richtek,rtq6056
> +    enum:
> +      - richtek,rtq6053
> +      - richtek,rtq6056

Aren't these devices compatible? Your driver change says they are, so
express compatibility with list here (and oneOf).


Best regards,
Krzysztof





[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux