Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: aspeed: wedge100: Enable ADC channels

Enable the ADC voltage sensoring channels used by Wedge100.

Signed-off-by: Tao Ren <rentao.bupt@gmail.com>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20210719001724.6410-5-rentao.bupt@gmail.com
Signed-off-by: Joel Stanley <joel@jms.id.au>

authored by

Tao Ren and committed by
Joel Stanley
00e9e776 5501ab03

+5
+5
arch/arm/boot/dts/aspeed-bmc-facebook-wedge100.dts
··· 12 12 stdout-path = &uart3; 13 13 bootargs = "console=ttyS2,9600n8 root=/dev/ram rw"; 14 14 }; 15 + 16 + ast-adc-hwmon { 17 + compatible = "iio-hwmon"; 18 + io-channels = <&adc 5>, <&adc 6>, <&adc 7>, <&adc 8>, <&adc 9>; 19 + }; 15 20 }; 16 21 17 22 &wdt2 {