[PATCH v1] ARM: dts: aspeed: yosemite4: Enable adc15

Delphine CC Chiu posted 1 patch 2 months, 3 weeks ago
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
[PATCH v1] ARM: dts: aspeed: yosemite4: Enable adc15
Posted by Delphine CC Chiu 2 months, 3 weeks ago
From: Ricky CX Wu <ricky.cx.wu.wiwynn@gmail.com>

Enable Yosemite4 adc15 config for monitoring P3V_BAT_SCALED.

Signed-off-by: Ricky CX Wu <ricky.cx.wu.wiwynn@gmail.com>
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
---
 arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts
index 98477792aa00..2d46f7d40ed1 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts
+++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts
@@ -32,7 +32,7 @@ iio-hwmon {
 		compatible = "iio-hwmon";
 		io-channels = <&adc0 0>, <&adc0 1>, <&adc0 2>, <&adc0 3>,
 				<&adc0 4>, <&adc0 5>, <&adc0 6>, <&adc0 7>,
-				<&adc1 0>, <&adc1 1>;
+				<&adc1 0>, <&adc1 1>, <&adc1 7>;
 	};
 };
 
@@ -612,10 +612,10 @@ &pinctrl_adc4_default &pinctrl_adc5_default
 
 &adc1 {
 	status = "okay";
-	pinctrl-0 = <&pinctrl_adc8_default &pinctrl_adc9_default>;
+	pinctrl-0 = <&pinctrl_adc8_default &pinctrl_adc9_default
+			&pinctrl_adc15_default>;
 };
 
-
 &ehci0 {
 	status = "okay";
 };
-- 
2.25.1
Re: [PATCH v1] ARM: dts: aspeed: yosemite4: Enable adc15
Posted by Andrew Jeffery 2 months, 2 weeks ago
On Tue, 10 Sep 2024 10:22:36 +0800, Delphine CC Chiu wrote:
> Enable Yosemite4 adc15 config for monitoring P3V_BAT_SCALED.
> 
> 

Thanks, I've applied this to be picked up through the BMC tree.

[1/1] ARM: dts: aspeed: yosemite4: Enable adc15
      commit: e3b9afda18a6dc7975197a061c698142deeccc1b

--
Andrew Jeffery <andrew@codeconstruct.com.au>