diff mbox series

arm: dts: aspeed: tiogapass: add hotplug controller

Message ID 20210415140521.11352-1-fercerpav@gmail.com (mailing list archive)
State New, archived
Headers show
Series arm: dts: aspeed: tiogapass: add hotplug controller | expand

Commit Message

Paul Fertser April 15, 2021, 2:05 p.m. UTC
The ADM1278 IC is accessible on I2C bus and on both Wiwynn and Quanta
Tioga Pass implementations a pair of parallel 0.5 mOhm resistors is used
for current measurement.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
---
 arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Joel Stanley April 16, 2021, 2:56 a.m. UTC | #1
On Thu, 15 Apr 2021 at 14:05, Paul Fertser <fercerpav@gmail.com> wrote:
>
> The ADM1278 IC is accessible on I2C bus and on both Wiwynn and Quanta
> Tioga Pass implementations a pair of parallel 0.5 mOhm resistors is used
> for current measurement.
>
> Signed-off-by: Paul Fertser <fercerpav@gmail.com>

Thanks, applied.

> ---
>  arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts
> index 3cc2004fa2f2..500661956dea 100644
> --- a/arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts
> +++ b/arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts
> @@ -591,6 +591,11 @@
>  &i2c7 {
>         status = "okay";
>         //HSC, AirMax Conn A
> +       adm1278@0x45 {
> +               compatible = "adm1275";
> +               reg = <0x45>;
> +               shunt-resistor-micro-ohms = <250>;
> +       };
>  };
>
>  &i2c8 {
> --
> 2.17.1
>
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts
index 3cc2004fa2f2..500661956dea 100644
--- a/arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts
@@ -591,6 +591,11 @@ 
 &i2c7 {
 	status = "okay";
 	//HSC, AirMax Conn A
+	adm1278@0x45 {
+		compatible = "adm1275";
+		reg = <0x45>;
+		shunt-resistor-micro-ohms = <250>;
+	};
 };
 
 &i2c8 {