Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1172561 > unrolled thread

[PATCH 1/3] ARM: socfpga: dts: Fix adxl34x formating

Started byWalter Lozano <walter@vanguardiasur.com.ar>
First post2015-06-26 04:30 +0200
Last post2015-06-26 04:30 +0200
Articles 3 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH 1/3] ARM: socfpga: dts: Fix adxl34x formating Walter Lozano <walter@vanguardiasur.com.ar> - 2015-06-26 04:30 +0200
    [PATCH 3/3] ARM: socfpga: dts: Fix adxl345 compatible string Walter Lozano <walter@vanguardiasur.com.ar> - 2015-06-26 04:30 +0200
    [PATCH 2/3] ARM: socfpga: dts: Fix entries order Walter Lozano <walter@vanguardiasur.com.ar> - 2015-06-26 04:30 +0200

#1172561 — [PATCH 1/3] ARM: socfpga: dts: Fix adxl34x formating

FromWalter Lozano <walter@vanguardiasur.com.ar>
Date2015-06-26 04:30 +0200
Subject[PATCH 1/3] ARM: socfpga: dts: Fix adxl34x formating
Message-ID<pFryV-2a2-1@gated-at.bofh.it>
This patch fixes the formating of DTS bindings for the adxl34x digital
accelerometer.

Signed-off-by: Walter Lozano <walter@vanguardiasur.com.ar>
---
 arch/arm/boot/dts/socfpga_cyclone5_sockit.dts |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm/boot/dts/socfpga_cyclone5_sockit.dts b/arch/arm/boot/dts/socfpga_cyclone5_sockit.dts
index 71468a7..5b60692 100644
--- a/arch/arm/boot/dts/socfpga_cyclone5_sockit.dts
+++ b/arch/arm/boot/dts/socfpga_cyclone5_sockit.dts
@@ -73,14 +73,14 @@
 	status = "okay";
 };
 
-&i2c1{
+&i2c1 {
 	status = "okay";
 
-	accel1: accel1@53{
+	accel1: accelerometer@53 {
 		compatible = "adxl34x";
 		reg = <0x53>;
 
-		interrupt-parent = < &portc >;
+		interrupt-parent = <&portc>;
 		interrupts = <3 2>;
 	};
 };
-- 
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1172563 — [PATCH 3/3] ARM: socfpga: dts: Fix adxl345 compatible string

FromWalter Lozano <walter@vanguardiasur.com.ar>
Date2015-06-26 04:30 +0200
Subject[PATCH 3/3] ARM: socfpga: dts: Fix adxl345 compatible string
Message-ID<pFryV-2a2-9@gated-at.bofh.it>
In reply to#1172561
This patch fixes the compatible string for adxl345 digital accelerometer
after the deprecation of compatible string adxl345x.

Signed-off-by: Walter Lozano <walter@vanguardiasur.com.ar>
---
 arch/arm/boot/dts/socfpga_cyclone5_sockit.dts |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/socfpga_cyclone5_sockit.dts b/arch/arm/boot/dts/socfpga_cyclone5_sockit.dts
index d343e03..5e17fd1 100644
--- a/arch/arm/boot/dts/socfpga_cyclone5_sockit.dts
+++ b/arch/arm/boot/dts/socfpga_cyclone5_sockit.dts
@@ -68,7 +68,7 @@
 	status = "okay";
 
 	accel1: accelerometer@53 {
-		compatible = "adxl34x";
+		compatible = "adi,adxl345";
 		reg = <0x53>;
 
 		interrupt-parent = <&portc>;
-- 
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1172564 — [PATCH 2/3] ARM: socfpga: dts: Fix entries order

FromWalter Lozano <walter@vanguardiasur.com.ar>
Date2015-06-26 04:30 +0200
Subject[PATCH 2/3] ARM: socfpga: dts: Fix entries order
Message-ID<pFryV-2a2-13@gated-at.bofh.it>
In reply to#1172561
This patch reorders the nodes alphabetically

Signed-off-by: Walter Lozano <walter@vanguardiasur.com.ar>
---
 arch/arm/boot/dts/socfpga_cyclone5_sockit.dts |   18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/arch/arm/boot/dts/socfpga_cyclone5_sockit.dts b/arch/arm/boot/dts/socfpga_cyclone5_sockit.dts
index 5b60692..d343e03 100644
--- a/arch/arm/boot/dts/socfpga_cyclone5_sockit.dts
+++ b/arch/arm/boot/dts/socfpga_cyclone5_sockit.dts
@@ -60,15 +60,6 @@
 	rxc-skew-ps = <2000>;
 };
 
-&mmc0 {
-	vmmc-supply = <&regulator_3_3v>;
-	vqmmc-supply = <&regulator_3_3v>;
-};
-
-&usb1 {
-	status = "okay";
-};
-
 &gpio2 {
 	status = "okay";
 };
@@ -84,3 +75,12 @@
 		interrupts = <3 2>;
 	};
 };
+
+&mmc0 {
+	vmmc-supply = <&regulator_3_3v>;
+	vqmmc-supply = <&regulator_3_3v>;
+};
+
+&usb1 {
+	status = "okay";
+};
-- 
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web