2020-07-23 23:07:08

by Tao Ren

[permalink] [raw]
Subject: [PATCH v2 0/3] ARM: dts: aspeed: fixup wedge40 device tree

From: Tao Ren <[email protected]>

The patch series update several devices' settings in Facebook Wedge40
device tree.

Patch #1 disables a few i2c controllers as they are not being used at
present.

Patch #2 enables adc device for voltage monitoring.

Patch #3 enables pwm_tacho device for fan control and monitoring.

Tao Ren (3):
ARM: dts: aspeed: wedge40: disable a few i2c controllers
ARM: dts: aspeed: wedge40: enable adc device
ARM: dts: aspeed: wedge40: enable pwm_tacho device

.../boot/dts/aspeed-bmc-facebook-wedge40.dts | 42 +++++++++++++++----
1 file changed, 34 insertions(+), 8 deletions(-)

--
2.17.1


2020-07-23 23:08:31

by Tao Ren

[permalink] [raw]
Subject: [PATCH v2 2/3] ARM: dts: aspeed: wedge40: enable adc device

From: Tao Ren <[email protected]>

Enable adc controller and corresponding voltage sensoring channels for
Wedge40.

Signed-off-by: Tao Ren <[email protected]>
---
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@40000000 {
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

2020-07-24 05:34:32

by Joel Stanley

[permalink] [raw]
Subject: Re: [PATCH v2 0/3] ARM: dts: aspeed: fixup wedge40 device tree

On Thu, 23 Jul 2020 at 23:05, <[email protected]> wrote:
>
> From: Tao Ren <[email protected]>
>
> The patch series update several devices' settings in Facebook Wedge40
> device tree.
>
> Patch #1 disables a few i2c controllers as they are not being used at
> present.
>
> Patch #2 enables adc device for voltage monitoring.
>
> Patch #3 enables pwm_tacho device for fan control and monitoring.
>
> Tao Ren (3):
> ARM: dts: aspeed: wedge40: disable a few i2c controllers
> ARM: dts: aspeed: wedge40: enable adc device
> ARM: dts: aspeed: wedge40: enable pwm_tacho device

I have merged this series into the aspeed dt-for-5.9 branch.

Cheers,

Joel

>
> .../boot/dts/aspeed-bmc-facebook-wedge40.dts | 42 +++++++++++++++----
> 1 file changed, 34 insertions(+), 8 deletions(-)
>
> --
> 2.17.1
>

2020-07-24 07:58:56

by Tao Ren

[permalink] [raw]
Subject: Re: [PATCH v2 0/3] ARM: dts: aspeed: fixup wedge40 device tree

On Fri, Jul 24, 2020 at 05:32:30AM +0000, Joel Stanley wrote:
> On Thu, 23 Jul 2020 at 23:05, <[email protected]> wrote:
> >
> > From: Tao Ren <[email protected]>
> >
> > The patch series update several devices' settings in Facebook Wedge40
> > device tree.
> >
> > Patch #1 disables a few i2c controllers as they are not being used at
> > present.
> >
> > Patch #2 enables adc device for voltage monitoring.
> >
> > Patch #3 enables pwm_tacho device for fan control and monitoring.
> >
> > Tao Ren (3):
> > ARM: dts: aspeed: wedge40: disable a few i2c controllers
> > ARM: dts: aspeed: wedge40: enable adc device
> > ARM: dts: aspeed: wedge40: enable pwm_tacho device
>
> I have merged this series into the aspeed dt-for-5.9 branch.
>
> Cheers,
>
> Joel

Thanks a lot Joel. Have a great weekend.


Cheers,

Tao