diff mbox series

[04/10] dt-bindings: iio: adc: Add rockchip,rk3576-saradc string

Message ID 20240802214612.434179-5-detlev.casanova@collabora.com
State Superseded
Headers show
Series Add device tree for ArmSoM Sige 5 board | expand

Commit Message

Detlev Casanova Aug. 2, 2024, 9:45 p.m. UTC
Add rockchip,rk3576-saradc compatible string.
The saradc on RK3576 is compatible with the one on RK3588, so they are
used together in an arm of the oneOf.

Signed-off-by: Detlev Casanova <detlev.casanova@collabora.com>
---
 Documentation/devicetree/bindings/iio/adc/rockchip-saradc.yaml | 3 +++
 1 file changed, 3 insertions(+)

Comments

Krzysztof Kozlowski Aug. 4, 2024, 9:47 a.m. UTC | #1
On 02/08/2024 23:45, Detlev Casanova wrote:
> Add rockchip,rk3576-saradc compatible string.
> The saradc on RK3576 is compatible with the one on RK3588, so they are
> used together in an arm of the oneOf.
> 

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof
Jonathan Cameron Aug. 10, 2024, 9:38 a.m. UTC | #2
On Sun, 4 Aug 2024 11:47:44 +0200
Krzysztof Kozlowski <krzk@kernel.org> wrote:

> On 02/08/2024 23:45, Detlev Casanova wrote:
> > Add rockchip,rk3576-saradc compatible string.
> > The saradc on RK3576 is compatible with the one on RK3588, so they are
> > used together in an arm of the oneOf.
> >   
> 
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> 
> Best regards,
> Krzysztof
> 
> 

Applied to the togreg branch of iio.git and pushed out as testing initially
because otherstuff on that branch needs some build test before I make
a mess of linux-next.

Thanks,

Jonathan
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/iio/adc/rockchip-saradc.yaml b/Documentation/devicetree/bindings/iio/adc/rockchip-saradc.yaml
index aa24b841393c0..fd93ed3991e05 100644
--- a/Documentation/devicetree/bindings/iio/adc/rockchip-saradc.yaml
+++ b/Documentation/devicetree/bindings/iio/adc/rockchip-saradc.yaml
@@ -16,6 +16,9 @@  properties:
       - const: rockchip,rk3066-tsadc
       - const: rockchip,rk3399-saradc
       - const: rockchip,rk3588-saradc
+      - items:
+          - const: rockchip,rk3576-saradc
+          - const: rockchip,rk3588-saradc
       - items:
           - enum:
               - rockchip,px30-saradc