[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200723230539.17860-3-rentao.bupt@gmail.com>
Date: Thu, 23 Jul 2020 16:05:38 -0700
From: rentao.bupt@...il.com
To: Rob Herring <robh+dt@...nel.org>, Joel Stanley <joel@....id.au>,
Andrew Jeffery <andrew@...id.au>, devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-aspeed@...ts.ozlabs.org, linux-kernel@...r.kernel.org,
openbmc@...ts.ozlabs.org, taoren@...com
Cc: Tao Ren <rentao.bupt@...il.com>
Subject: [PATCH v2 2/3] ARM: dts: aspeed: wedge40: enable adc device
From: Tao Ren <rentao.bupt@...il.com>
Enable adc controller and corresponding voltage sensoring channels for
Wedge40.
Signed-off-by: Tao Ren <rentao.bupt@...il.com>
---
Changes in v2:
- Nothing changed. Resending the patch just in case the previous
email was not delivered.
arch/arm/boot/dts/aspeed-bmc-facebook-wedge40.dts | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-wedge40.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-wedge40.dts
index aea23c313088..1049cfa80ac2 100644
--- a/arch/arm/boot/dts/aspeed-bmc-facebook-wedge40.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-facebook-wedge40.dts
@@ -27,6 +27,11 @@
memory@...00000 {
reg = <0x40000000 0x20000000>;
};
+
+ ast-adc-hwmon {
+ compatible = "iio-hwmon";
+ io-channels = <&adc 5>, <&adc 6>, <&adc 7>, <&adc 8>, <&adc 9>;
+ };
};
&wdt1 {
@@ -126,3 +131,7 @@
&vhub {
status = "okay";
};
+
+&adc {
+ status = "okay";
+};
--
2.17.1
Powered by blists - more mailing lists