]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ARM: dts: aspeed: harma: add ADC128D818 for voltage monitoring
authorPeter Yin <peteryin.openbmc@gmail.com>
Wed, 11 Jun 2025 08:05:12 +0000 (16:05 +0800)
committerAndrew Jeffery <andrew@codeconstruct.com.au>
Fri, 4 Jul 2025 03:58:25 +0000 (13:28 +0930)
Add the ADC128D818 device to I2C bus 29 to support voltage monitoring
on the Harma platform. This enables accurate measurement of system
voltages through the onboard ADC.

Signed-off-by: Peter Yin <peteryin.openbmc@gmail.com>
Link: https://patch.msgid.link/20250611080514.3123335-4-peteryin.openbmc@gmail.com
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts

index 344e20394665cfc9b75df5eeeef71791896c748a..25b873ace2eac862c048d6671602c7f09bfdba5a 100644 (file)
                                compatible = "atmel,24c64";
                                reg = <0x54>;
                        };
+
+                       adc@1d {
+                               compatible = "ti,adc128d818";
+                               reg = <0x1d>;
+                               ti,mode = /bits/ 8 <1>;
+                       };
+
+                       adc@1f {
+                               compatible = "ti,adc128d818";
+                               reg = <0x1f>;
+                               ti,mode = /bits/ 8 <1>;
+                       };
+
                };
                imux30: i2c@2 {
                        #address-cells = <1>;