From 6e313385f3aa618f962ac602b3e57e5c252315e8 Mon Sep 17 00:00:00 2001 From: Ondrej Jirman Date: Thu, 27 Aug 2020 12:54:30 +0200 Subject: [PATCH 097/351] arm64: dts: sun50i-a64-pinephone: Expose AXP temperature sensor as ADC Why not? Signed-off-by: Ondrej Jirman --- arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi index cec0e3293699..97d684987fd4 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi @@ -261,6 +261,10 @@ axp803: pmic@3a3 { #include "axp803.dtsi" +&axp_adc { + x-powers,ts-as-gpadc; +}; + &battery_power_supply { status = "okay"; }; -- 2.34.0