projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81be3e4
)
ARM: dtsi: axp81x: add node for ADC
author
Quentin Schulz
<quentin.schulz@bootlin.com>
Mon, 19 Feb 2018 12:47:27 +0000
(13:47 +0100)
committer
Maxime Ripard
<maxime.ripard@bootlin.com>
Wed, 21 Feb 2018 09:50:34 +0000
(10:50 +0100)
This adds a DT node for the ADC of the PMIC so that there can be
consumers of its IIO channels declaring their consumptions via DT.
Signed-off-by: Quentin Schulz <quentin.schulz@bootlin.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
arch/arm/boot/dts/axp81x.dtsi
patch
|
blob
|
history
diff --git
a/arch/arm/boot/dts/axp81x.dtsi
b/arch/arm/boot/dts/axp81x.dtsi
index fd55b896afa194a4a31fb4370848e51084b1766f..6b5e7bcbc69a069e66fec6fa178eb39ed22a0f62 100644
(file)
--- a/
arch/arm/boot/dts/axp81x.dtsi
+++ b/
arch/arm/boot/dts/axp81x.dtsi
@@
-48,6
+48,11
@@
interrupt-controller;
#interrupt-cells = <1>;
+ axp_adc: adc {
+ compatible = "x-powers,axp813-adc";
+ #io-channel-cells = <1>;
+ };
+
axp_gpio: axp-gpio {
compatible = "x-powers,axp813-gpio";
gpio-controller;