[PATCH] ARM: ux500: drop any 0x prefix from I2C DT devices
Linus Walleij
linus.walleij at stericsson.com
Tue Jun 4 19:53:16 EST 2013
From: Linus Walleij <linus.walleij at linaro.org>
This removes the "0x" prefix in front of the I2C DT device
address designation for each I2C DT node in the ux500
devicetree files.
Reported-by: Bryan Wu <cooloney at gmail.com>
Cc: Lee Jones <lee.jones at linaro.org>
Signed-off-by: Linus Walleij <linus.walleij at linaro.org>
---
arch/arm/boot/dts/href.dtsi | 2 +-
arch/arm/boot/dts/hrefprev60.dts | 2 +-
arch/arm/boot/dts/snowball.dts | 6 +++---
arch/arm/boot/dts/stuib.dtsi | 4 ++--
4 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/arch/arm/boot/dts/href.dtsi b/arch/arm/boot/dts/href.dtsi
index 080c530..9db41b9 100644
--- a/arch/arm/boot/dts/href.dtsi
+++ b/arch/arm/boot/dts/href.dtsi
@@ -100,7 +100,7 @@
max-cur = /bits/ 8 <0x5f>;
};
};
- bh1780 at 0x29 {
+ bh1780 at 29 {
compatible = "rohm,bh1780gli";
reg = <0x33>;
};
diff --git a/arch/arm/boot/dts/hrefprev60.dts b/arch/arm/boot/dts/hrefprev60.dts
index 23c6dc1..c6bb07d 100644
--- a/arch/arm/boot/dts/hrefprev60.dts
+++ b/arch/arm/boot/dts/hrefprev60.dts
@@ -41,7 +41,7 @@
};
i2c at 80110000 {
- bu21013_tp at 0x5c {
+ bu21013_tp at 5c {
reset-gpio = <&tc3589x_gpio 13 0x4>;
};
};
diff --git a/arch/arm/boot/dts/snowball.dts b/arch/arm/boot/dts/snowball.dts
index 92c2f5ad..fb9dce5 100644
--- a/arch/arm/boot/dts/snowball.dts
+++ b/arch/arm/boot/dts/snowball.dts
@@ -178,15 +178,15 @@
};
i2c at 80128000 {
- lp5521 at 0x33 {
+ lp5521 at 33 {
// compatible = "lp5521";
reg = <0x33>;
};
- lp5521 at 0x34 {
+ lp5521 at 34 {
// compatible = "lp5521";
reg = <0x34>;
};
- bh1780 at 0x29 {
+ bh1780 at 29 {
// compatible = "rohm,bh1780gli";
reg = <0x33>;
};
diff --git a/arch/arm/boot/dts/stuib.dtsi b/arch/arm/boot/dts/stuib.dtsi
index b47b62a..524e332 100644
--- a/arch/arm/boot/dts/stuib.dtsi
+++ b/arch/arm/boot/dts/stuib.dtsi
@@ -54,7 +54,7 @@
};
i2c at 80110000 {
- bu21013_tp at 0x5c {
+ bu21013_tp at 5c {
compatible = "rohm,bu21013_tp";
reg = <0x5c>;
touch-gpio = <&gpio2 20 0x4>;
@@ -65,7 +65,7 @@
rohm,flip-y;
};
- bu21013_tp at 0x5d {
+ bu21013_tp at 5d {
compatible = "rohm,bu21013_tp";
reg = <0x5d>;
touch-gpio = <&gpio2 20 0x4>;
--
1.7.11.3
More information about the devicetree-discuss
mailing list