[PATCH] dt-bindings: iio: adc: Add rockchip,rk3506-saradc variant

Heiko Stuebner posted 1 patch 3 months, 2 weeks ago
Documentation/devicetree/bindings/iio/adc/rockchip-saradc.yaml | 3 +++
1 file changed, 3 insertions(+)
[PATCH] dt-bindings: iio: adc: Add rockchip,rk3506-saradc variant
Posted by Heiko Stuebner 3 months, 2 weeks ago
The SARADC of the RK3506 is similar to the one found in the RK3528
in terms of number of channels and the other implementation details.

So add a variant compatible for it, that reflects this fact.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
---
 Documentation/devicetree/bindings/iio/adc/rockchip-saradc.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/iio/adc/rockchip-saradc.yaml b/Documentation/devicetree/bindings/iio/adc/rockchip-saradc.yaml
index f776041fd08f..6769d679c907 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,rk3528-saradc
+      - items:
+          - const: rockchip,rk3506-saradc
+          - const: rockchip,rk3528-saradc
       - const: rockchip,rk3562-saradc
       - const: rockchip,rk3588-saradc
       - items:
-- 
2.47.2
Re: [PATCH] dt-bindings: iio: adc: Add rockchip,rk3506-saradc variant
Posted by Conor Dooley 3 months, 2 weeks ago
On Wed, Oct 22, 2025 at 12:31:07AM +0200, Heiko Stuebner wrote:
> The SARADC of the RK3506 is similar to the one found in the RK3528
> in terms of number of channels and the other implementation details.
> 
> So add a variant compatible for it, that reflects this fact.
> 
> Signed-off-by: Heiko Stuebner <heiko@sntech.de>

Acked-by: Conor Dooley <conor.dooley@microchip.com>
pw-bot: not-applicable
Re: [PATCH] dt-bindings: iio: adc: Add rockchip,rk3506-saradc variant
Posted by Jonathan Cameron 3 months, 1 week ago
On Wed, 22 Oct 2025 18:57:40 +0100
Conor Dooley <conor@kernel.org> wrote:

> On Wed, Oct 22, 2025 at 12:31:07AM +0200, Heiko Stuebner wrote:
> > The SARADC of the RK3506 is similar to the one found in the RK3528
> > in terms of number of channels and the other implementation details.
> > 
> > So add a variant compatible for it, that reflects this fact.
> > 
> > Signed-off-by: Heiko Stuebner <heiko@sntech.de>  
> 
> Acked-by: Conor Dooley <conor.dooley@microchip.com>
> pw-bot: not-applicable

Applied.

thanks!

J