devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: rockchip: rock5b: Add saradc node
@ 2023-06-10 13:48 Shreeya Patel
  2023-06-11 20:35 ` Heiko Stuebner
  0 siblings, 1 reply; 2+ messages in thread
From: Shreeya Patel @ 2023-06-10 13:48 UTC (permalink / raw)
  To: robh+dt, krzysztof.kozlowski+dt, conor+dt, heiko,
	sebastian.reichel
  Cc: linux-iio, devicetree, linux-arm-kernel, linux-rockchip,
	linux-kernel, kernel, gustavo.padovan, serge.broslavsky,
	Shreeya Patel

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(+)

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-06-11 20:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-10 13:48 [PATCH] arm64: dts: rockchip: rock5b: Add saradc node Shreeya Patel
2023-06-11 20:35 ` Heiko Stuebner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).