From: heiko@sntech.de (Heiko Stübner)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 7/7] ARM: dts: rockchip: add saradc nodes
Date: Sat, 12 Jul 2014 21:31:15 +0200 [thread overview]
Message-ID: <4866856.TxetFWNmpJ@diego> (raw)
In-Reply-To: <16344051.ZPa9bzz4Fj@diego>
This adds devicetree nodes for the SAR A/D converter including the board
specific regulator references for the two boards currently supported.
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
---
arch/arm/boot/dts/rk3066a-bqcurie2.dts | 5 +++++
arch/arm/boot/dts/rk3188-radxarock.dts | 5 +++++
arch/arm/boot/dts/rk3xxx.dtsi | 11 +++++++++++
3 files changed, 21 insertions(+)
diff --git a/arch/arm/boot/dts/rk3066a-bqcurie2.dts b/arch/arm/boot/dts/rk3066a-bqcurie2.dts
index 4174ff8..d90a058 100644
--- a/arch/arm/boot/dts/rk3066a-bqcurie2.dts
+++ b/arch/arm/boot/dts/rk3066a-bqcurie2.dts
@@ -83,6 +83,11 @@
};
};
+ saradc: saradc at 2006c000 {
+ status = "okay";
+ vref-supply = <&vpll_reg>;
+ };
+
gpio-keys {
compatible = "gpio-keys";
#address-cells = <1>;
diff --git a/arch/arm/boot/dts/rk3188-radxarock.dts b/arch/arm/boot/dts/rk3188-radxarock.dts
index f277237..19d45b4 100644
--- a/arch/arm/boot/dts/rk3188-radxarock.dts
+++ b/arch/arm/boot/dts/rk3188-radxarock.dts
@@ -52,6 +52,11 @@
vin-supply = <&vcc_io>;
};
+ saradc: saradc at 2006c000 {
+ status = "okay";
+ vref-supply = <&vcc18>;
+ };
+
gpio-keys {
compatible = "gpio-keys";
#address-cells = <1>;
diff --git a/arch/arm/boot/dts/rk3xxx.dtsi b/arch/arm/boot/dts/rk3xxx.dtsi
index 1623e21..69d866a 100644
--- a/arch/arm/boot/dts/rk3xxx.dtsi
+++ b/arch/arm/boot/dts/rk3xxx.dtsi
@@ -261,5 +261,16 @@
clocks = <&cru PCLK_PWM23>;
status = "disabled";
};
+
+ saradc at 2006c000 {
+ compatible = "rockchip,saradc";
+ reg = <0x2006c000 0x100>;
+ interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cru SCLK_SARADC>, <&cru PCLK_SARADC>;
+ clock-names = "saradc", "apb_pclk";
+ #io-channel-cells = <1>;
+ clock-frequency = <1000000>;
+ status = "disabled";
+ };
};
};
--
1.9.0
prev parent reply other threads:[~2014-07-12 19:31 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-12 19:27 [PATCH 0/7] ARM: dts: collected rockchip dtsi and board changes Heiko Stübner
2014-07-12 19:28 ` [PATCH 1/7] ARM: dts: add rk3066 and rk3188 i2c device nodes and pinctrl settings Heiko Stübner
2014-07-12 19:28 ` [PATCH 2/7] ARM: dts: rockchip: add tps65910 regulator for bqcurie2 Heiko Stübner
2014-07-12 19:29 ` [PATCH 3/7] ARM: dts: add i2c and regulator nodes to rk3188-radxarock Heiko Stübner
2014-07-12 19:29 ` [PATCH 4/7] ARM: dts: rk3188-radxarock: enable sd-card slot Heiko Stübner
2014-07-12 19:30 ` [PATCH 5/7] ARM: dts: rockchip: add both clocks to uart nodes Heiko Stübner
2014-07-12 19:30 ` [PATCH 6/7] ARM: dts: rockchip: add pwm nodes Heiko Stübner
2014-07-12 19:31 ` Heiko Stübner [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4866856.TxetFWNmpJ@diego \
--to=heiko@sntech.de \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.