2023-06-10 14:00:30

by Shreeya Patel

[permalink] [raw]
Subject: [PATCH] arm64: dts: rockchip: rock5b: Add saradc node

Add ADC support for ROCK 5B.

Signed-off-by: Shreeya Patel <[email protected]>
---
arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts
index 154b1089db77..181874905850 100644
--- a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts
@@ -207,6 +207,11 @@ &pwm1 {
status = "okay";
};

+&saradc {
+ status = "okay";
+ vref-supply = <&avcc_1v8_s0>;
+};
+
&sdhci {
bus-width = <8>;
no-sdio;
--
2.30.2



2023-06-11 21:20:15

by Heiko Stuebner

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: rockchip: rock5b: Add saradc node

On Sat, 10 Jun 2023 19:18:41 +0530, Shreeya Patel wrote:
> Add ADC support for ROCK 5B.
>
>

Applied, thanks!

[1/1] arm64: dts: rockchip: rock5b: Add saradc node
commit: 2fe1f20144fb68dd31798cc22a67d148f517deef

Best regards,
--
Heiko Stuebner <[email protected]>