Message ID | a0f48e6d799ce7f95cd536cf9e13b18d73c920d4.1684258957.git.noodles@earth.li |
---|---|
State | Accepted |
Commit | 09d199b6dcb6bd94a1f00cfbfa1ee7d3841444b0 |
Headers | show |
Series | Minor device-tree additions for C.H.I.P | expand |
diff --git a/arch/arm/boot/dts/axp209.dtsi b/arch/arm/boot/dts/axp209.dtsi index ca240cd6f6c3..469d0f7d5185 100644 --- a/arch/arm/boot/dts/axp209.dtsi +++ b/arch/arm/boot/dts/axp209.dtsi @@ -48,6 +48,13 @@ * http://dl.linux-sunxi.org/AXP/AXP209%20Datasheet%20v1.0_cn.pdf */ +/ { + pmic-temp { + compatible = "iio-hwmon"; + io-channels = <&axp_adc 4>; /* Internal temperature */ + }; +}; + &axp209 { compatible = "x-powers,axp209"; interrupt-controller;