arm64: dts: rockchip: rock5b: Add saradc node

Message ID 20230610134841.172313-1-shreeya.patel@collabora.com
State New
Headers
Series arm64: dts: rockchip: rock5b: Add saradc node |

Commit Message

Shreeya Patel June 10, 2023, 1:48 p.m. UTC
  Add ADC support for ROCK 5B.

Signed-off-by: Shreeya Patel <shreeya.patel@collabora.com>
---
 arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts | 5 +++++
 1 file changed, 5 insertions(+)
  

Comments

Heiko Stübner June 11, 2023, 8:35 p.m. UTC | #1
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,
  

Patch

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;