projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3dd25a
)
ARM: dtsi: axp209: add node for ADC
author
Quentin Schulz
<quentin.schulz@bootlin.com>
Mon, 19 Feb 2018 12:47:24 +0000
(13:47 +0100)
committer
Maxime Ripard
<maxime.ripard@bootlin.com>
Wed, 21 Feb 2018 09:50:19 +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/axp209.dtsi
patch
|
blob
|
history
diff --git
a/arch/arm/boot/dts/axp209.dtsi
b/arch/arm/boot/dts/axp209.dtsi
index 897103e0a79bf3b4be99d8b8f2a8a48bb0b22672..0d9ff12bdf28c2df0083a0e7099521ad84313602 100644
(file)
--- a/
arch/arm/boot/dts/axp209.dtsi
+++ b/
arch/arm/boot/dts/axp209.dtsi
@@
-58,6
+58,11
@@
status = "disabled";
};
+ axp_adc: adc {
+ compatible = "x-powers,axp209-adc";
+ #io-channel-cells = <1>;
+ };
+
axp_gpio: gpio {
compatible = "x-powers,axp209-gpio";
gpio-controller;