projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b452cc
)
ARM: dts: vfxxx: Add iio_hwmon node for ADC temperature channel
author
Sanchayan Maity
<maitysanchayan@gmail.com>
Tue, 16 Feb 2016 05:00:55 +0000
(10:30 +0530)
committer
Guenter Roeck
<linux@roeck-us.net>
Sat, 5 Mar 2016 14:25:34 +0000
(06:25 -0800)
Add iio-hwmon node to expose the temperature channel on Vybrid as
hardware monitor device using the iio_hwmon driver.
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
Acked-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
arch/arm/boot/dts/vfxxx.dtsi
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/boot/dts/vfxxx.dtsi
b/arch/arm/boot/dts/vfxxx.dtsi
index a9ceb5bac40ef244dc6ca18602eef4072b87a57d..4539f8d909a532121771c2259598d596c1e1971e 100644
(file)
--- a/
arch/arm/boot/dts/vfxxx.dtsi
+++ b/
arch/arm/boot/dts/vfxxx.dtsi
@@
-629,5
+629,10
@@
status = "disabled";
};
};
+
+ iio-hwmon {
+ compatible = "iio-hwmon";
+ io-channels = <&adc0 16>, <&adc1 16>;
+ };
};
};