[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4FD8BAE4.4050606@linaro.org>
Date: Wed, 13 Jun 2012 17:08:04 +0100
From: Lee Jones <lee.jones@...aro.org>
To: Linus Walleij <linus.walleij@...aro.org>
CC: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
linus.walleij@...ricsson.com, arnd@...db.de,
grant.likely@...retlab.ca, linux-i2c@...r.kernel.org
Subject: [PATCH 2/3] ARM: ux500: Add i2c configurations to the Device Tree
for DB8500 based devices
From: Lee Jones <lee.jones@...aro.org>
Date: Wed, 13 Jun 2012 16:21:14 +0100
Subject: [PATCH 2/3] ARM: ux500: Add i2c configurations to the Device Tree
for DB8500 based devices
For correct operation of the i2c-nomadik driver, it requires some
information surrounding clock-frequencies, delay times and thresholds.
Here we apply those configurations to be used when a platform is
booted via the device Tree.
Signed-off-by: Lee Jones <lee.jones@...aro.org>
---
arch/arm/boot/dts/db8500.dtsi | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/arch/arm/boot/dts/db8500.dtsi b/arch/arm/boot/dts/db8500.dtsi
index 00a4c3e..f3050f1 100644
--- a/arch/arm/boot/dts/db8500.dtsi
+++ b/arch/arm/boot/dts/db8500.dtsi
@@ -455,6 +455,13 @@
#address-cells = <1>;
#size-cells = <0>;
v-i2c-supply = <&db8500_vape_reg>;
+
+ clock-frequency = <100000>;
+ stericsson,slsu = <0xe>;
+ stericsson,tft = <1>;
+ stericsson,rft = <8>;
+ stericsson,timeout = <200>;
+ stericsson,i2c_freq_mode_fast;
};
i2c@...22000 {
@@ -464,6 +471,13 @@
#address-cells = <1>;
#size-cells = <0>;
v-i2c-supply = <&db8500_vape_reg>;
+
+ clock-frequency = <100000>;
+ stericsson,slsu = <0xe>;
+ stericsson,tft = <1>;
+ stericsson,rft = <8>;
+ stericsson,timeout = <200>;
+ stericsson,i2c_freq_mode_fast;
};
i2c@...28000 {
@@ -473,6 +487,13 @@
#address-cells = <1>;
#size-cells = <0>;
v-i2c-supply = <&db8500_vape_reg>;
+
+ clock-frequency = <100000>;
+ stericsson,slsu = <0xe>;
+ stericsson,tft = <1>;
+ stericsson,rft = <8>;
+ stericsson,timeout = <200>;
+ stericsson,i2c_freq_mode_fast;
};
i2c@...10000 {
@@ -482,6 +503,13 @@
#address-cells = <1>;
#size-cells = <0>;
v-i2c-supply = <&db8500_vape_reg>;
+
+ clock-frequency = <100000>;
+ stericsson,slsu = <0xe>;
+ stericsson,tft = <1>;
+ stericsson,rft = <8>;
+ stericsson,timeout = <200>;
+ stericsson,i2c_freq_mode_fast;
};
i2c@...2a000 {
@@ -491,6 +519,13 @@
#address-cells = <1>;
#size-cells = <0>;
v-i2c-supply = <&db8500_vape_reg>;
+
+ clock-frequency = <100000>;
+ stericsson,slsu = <0xe>;
+ stericsson,tft = <1>;
+ stericsson,rft = <8>;
+ stericsson,timeout = <200>;
+ stericsson,i2c_freq_mode_fast;
};
ssp@...02000 {
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists