* [PATCH] ARM: ux500: drop any 0x prefix from I2C DT devices
@ 2013-06-04 9:53 Linus Walleij
2013-06-04 12:08 ` Lee Jones
0 siblings, 1 reply; 2+ messages in thread
From: Linus Walleij @ 2013-06-04 9:53 UTC (permalink / raw)
To: linux-arm-kernel
From: Linus Walleij <linus.walleij@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@gmail.com>
Cc: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] ARM: ux500: drop any 0x prefix from I2C DT devices
2013-06-04 9:53 [PATCH] ARM: ux500: drop any 0x prefix from I2C DT devices Linus Walleij
@ 2013-06-04 12:08 ` Lee Jones
0 siblings, 0 replies; 2+ messages in thread
From: Lee Jones @ 2013-06-04 12:08 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, 04 Jun 2013, Linus Walleij wrote:
> From: Linus Walleij <linus.walleij@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@gmail.com>
> Cc: Lee Jones <lee.jones@linaro.org>
> Signed-off-by: Linus Walleij <linus.walleij@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(-)
Acked-by: Lee Jones <lee.jones@linaro.org>
--
Lee Jones
Linaro ST-Ericsson Landing Team Lead
Linaro.org ? Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-06-04 12:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-04 9:53 [PATCH] ARM: ux500: drop any 0x prefix from I2C DT devices Linus Walleij
2013-06-04 12:08 ` Lee Jones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).