]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
ARM: dts: aspeed: Add ADC for AST2600 and enable for Rainier and Everest
authorEddie James <eajames@linux.ibm.com>
Thu, 16 Sep 2021 21:00:45 +0000 (16:00 -0500)
committerStefan Bader <stefan.bader@canonical.com>
Wed, 10 Aug 2022 07:22:36 +0000 (09:22 +0200)
commit8d2fd2a90b00ff0902b50968a1ad93dab46237bd
tree76800bd29f2d9ff5ed9253583e9dcbccd8817ab2
parentee6d7192a06b8ce091c7ab218f82bb44d5bed608
ARM: dts: aspeed: Add ADC for AST2600 and enable for Rainier and Everest

BugLink: https://bugs.launchpad.net/bugs/1981375
[ Upstream commit eaad40466bd715c4b342ac9f7c889f5281714feb ]

Add the ADC nodes to the AST2600 devicetree. Enable ADC1 for Rainier and
Everest systems and add an iio-hwmon node for the 7th channel to report
the battery voltage.

Tested on Rainier:
~# cat /sys/class/hwmon/hwmon11/in1_input
1347

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Link: https://lore.kernel.org/r/20210916210045.31769-1-eajames@linux.ibm.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts
arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
arch/arm/boot/dts/aspeed-g6.dtsi