summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVladimir Barinov <vladimir.barinov@cogentembedded.com>2017-07-14 19:45:08 +0300
committerVladimir Barinov <vladimir.barinov@cogentembedded.com>2017-07-14 19:45:08 +0300
commitb7cc3541a9959377f84a2cf6beb0cb0eb8126dac (patch)
treead19421e9d51cdd8ae658fd37dd30c1aea718013
parente69877feb2d62e73850b60e4f75265de948f99fd (diff)
Kingfisher: SSI, IIO update
- change differnet sensor driver - share ssi8
-rw-r--r--meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas/0040-arm64-dts-renesas-add-ADAS-boards.patch110
1 files changed, 37 insertions, 73 deletions
diff --git a/meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas/0040-arm64-dts-renesas-add-ADAS-boards.patch b/meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas/0040-arm64-dts-renesas-add-ADAS-boards.patch
index 6d7bb3b..8eefd60 100644
--- a/meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas/0040-arm64-dts-renesas-add-ADAS-boards.patch
+++ b/meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas/0040-arm64-dts-renesas-add-ADAS-boards.patch
@@ -23,27 +23,27 @@ Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
.../dts/renesas/r8a7795-es1-h3ulcb-had-alfa.dts | 22 +
.../dts/renesas/r8a7795-es1-h3ulcb-had-beta.dts | 23 +
.../boot/dts/renesas/r8a7795-es1-h3ulcb-had.dtsi | 225 +++
- .../boot/dts/renesas/r8a7795-es1-h3ulcb-kf-v1.dts | 443 +++++
- .../boot/dts/renesas/r8a7795-es1-h3ulcb-kf.dts | 1655 ++++++++++++++++++
+ .../boot/dts/renesas/r8a7795-es1-h3ulcb-kf-v1.dts | 427 +++++
+ .../boot/dts/renesas/r8a7795-es1-h3ulcb-kf.dts | 1659 ++++++++++++++++++
.../boot/dts/renesas/r8a7795-es1-h3ulcb-vb.dts | 1787 ++++++++++++++++++++
.../boot/dts/renesas/r8a7795-es1-h3ulcb-view.dts | 546 ++++++
.../dts/renesas/r8a7795-es1-salvator-x-view.dts | 552 ++++++
.../boot/dts/renesas/r8a7795-h3ulcb-had-alfa.dts | 22 +
.../boot/dts/renesas/r8a7795-h3ulcb-had-beta.dts | 23 +
.../arm64/boot/dts/renesas/r8a7795-h3ulcb-had.dtsi | 219 +++
- .../boot/dts/renesas/r8a7795-h3ulcb-kf-v1.dts | 443 +++++
- arch/arm64/boot/dts/renesas/r8a7795-h3ulcb-kf.dts | 1651 ++++++++++++++++++
+ .../boot/dts/renesas/r8a7795-h3ulcb-kf-v1.dts | 427 +++++
+ arch/arm64/boot/dts/renesas/r8a7795-h3ulcb-kf.dts | 1655 ++++++++++++++++++
arch/arm64/boot/dts/renesas/r8a7795-h3ulcb-vb.dts | 1787 ++++++++++++++++++++
.../arm64/boot/dts/renesas/r8a7795-h3ulcb-view.dts | 546 ++++++
.../boot/dts/renesas/r8a7795-salvator-x-view.dts | 552 ++++++
- .../boot/dts/renesas/r8a7796-m3ulcb-kf-v1.dts | 443 +++++
- arch/arm64/boot/dts/renesas/r8a7796-m3ulcb-kf.dts | 1238 ++++++++++++++
+ .../boot/dts/renesas/r8a7796-m3ulcb-kf-v1.dts | 427 +++++
+ arch/arm64/boot/dts/renesas/r8a7796-m3ulcb-kf.dts | 1242 ++++++++++++++
.../arm64/boot/dts/renesas/r8a7796-m3ulcb-view.dts | 287 ++++
.../boot/dts/renesas/r8a7796-salvator-x-view.dts | 318 ++++
arch/arm64/boot/dts/renesas/ulcb-kf-rpi.dtsi | 75 +
arch/arm64/boot/dts/renesas/ulcb-kf-sd3.dtsi | 33 +
arch/arm64/boot/dts/renesas/ulcb-vb-cn12.dtsi | 515 ++++++
- 24 files changed, 13419 insertions(+)
+ 24 files changed, 13383 insertions(+)
create mode 100644 arch/arm64/boot/dts/renesas/r8a7795-es1-h3ulcb-had-alfa.dts
create mode 100644 arch/arm64/boot/dts/renesas/r8a7795-es1-h3ulcb-had-beta.dts
create mode 100644 arch/arm64/boot/dts/renesas/r8a7795-es1-h3ulcb-had.dtsi
@@ -382,10 +382,10 @@ index 0000000..d50ff7a
+};
diff --git a/arch/arm64/boot/dts/renesas/r8a7795-es1-h3ulcb-kf-v1.dts b/arch/arm64/boot/dts/renesas/r8a7795-es1-h3ulcb-kf-v1.dts
new file mode 100644
-index 0000000..d245bbe
+index 0000000..9b76ca9
--- /dev/null
+++ b/arch/arm64/boot/dts/renesas/r8a7795-es1-h3ulcb-kf-v1.dts
-@@ -0,0 +1,443 @@
+@@ -0,0 +1,427 @@
+/*
+ * Device Tree Source for the H3ULCB Kingfisher V1 board on r8a7795 ES1.x
+ *
@@ -555,22 +555,6 @@ index 0000000..d245bbe
+&gpio5 {
+ /delete-node/touch_irq;
+ /delete-node/bt_strap;
-+
-+ /* V1 has h/w bug with swapped RTS and CTS on BT interface */
-+ /* Ignore these pins */
-+ hscif0_cts {
-+ gpio-hog;
-+ gpios = <15 GPIO_ACTIVE_HIGH>;
-+ input;
-+ line-name = "hscif0 CTS";
-+ };
-+
-+ hscif0_rts {
-+ gpio-hog;
-+ gpios = <16 GPIO_ACTIVE_HIGH>;
-+ input;
-+ line-name = "hscif0 RTS";
-+ };
+};
+
+&gpio7 {
@@ -831,10 +815,10 @@ index 0000000..d245bbe
+};
diff --git a/arch/arm64/boot/dts/renesas/r8a7795-es1-h3ulcb-kf.dts b/arch/arm64/boot/dts/renesas/r8a7795-es1-h3ulcb-kf.dts
new file mode 100644
-index 0000000..075bf2c
+index 0000000..90be9f8
--- /dev/null
+++ b/arch/arm64/boot/dts/renesas/r8a7795-es1-h3ulcb-kf.dts
-@@ -0,0 +1,1655 @@
+@@ -0,0 +1,1659 @@
+/*
+ * Device Tree Source for the H3ULCB Kingfisher board on r8a7795 ES1.x
+ *
@@ -1326,12 +1310,12 @@ index 0000000..075bf2c
+ };
+
+ lsm9ds0_acc_mag@1d {
-+ compatible = "st,lsm9ds0_acc_mag";
++ compatible = "st,lsm9ds0_acc_magn";
+ reg = <0x1d>;
+ };
+
+ lsm9ds0_gyr@6b {
-+ compatible = "st,lsm9ds0-gyro";
++ compatible = "st,lsm9ds0_gyro";
+ reg = <0x6b>;
+ };
+
@@ -2486,6 +2470,10 @@ index 0000000..075bf2c
+ };
+};
+
++&ssi8 {
++ shared-pin;
++};
++
+/* uncomment to enable CN48 on VIN4 */
+//#include "ulcb-kf-rpi.dtsi"
+/* uncomment to enable CN47: SD on SDHI3 */
@@ -5677,10 +5665,10 @@ index 0000000..4a00426
+};
diff --git a/arch/arm64/boot/dts/renesas/r8a7795-h3ulcb-kf-v1.dts b/arch/arm64/boot/dts/renesas/r8a7795-h3ulcb-kf-v1.dts
new file mode 100644
-index 0000000..4b10d31
+index 0000000..7bcd87d
--- /dev/null
+++ b/arch/arm64/boot/dts/renesas/r8a7795-h3ulcb-kf-v1.dts
-@@ -0,0 +1,443 @@
+@@ -0,0 +1,427 @@
+/*
+ * Device Tree Source for the H3ULCB Kingfisher V1 board
+ *
@@ -5850,22 +5838,6 @@ index 0000000..4b10d31
+&gpio5 {
+ /delete-node/touch_irq;
+ /delete-node/bt_strap;
-+
-+ /* V1 has h/w bug with swapped RTS and CTS on BT interface */
-+ /* Ignore these pins */
-+ hscif0_cts {
-+ gpio-hog;
-+ gpios = <15 GPIO_ACTIVE_HIGH>;
-+ input;
-+ line-name = "hscif0 CTS";
-+ };
-+
-+ hscif0_rts {
-+ gpio-hog;
-+ gpios = <16 GPIO_ACTIVE_HIGH>;
-+ input;
-+ line-name = "hscif0 RTS";
-+ };
+};
+
+&gpio7 {
@@ -6126,10 +6098,10 @@ index 0000000..4b10d31
+};
diff --git a/arch/arm64/boot/dts/renesas/r8a7795-h3ulcb-kf.dts b/arch/arm64/boot/dts/renesas/r8a7795-h3ulcb-kf.dts
new file mode 100644
-index 0000000..2c50230
+index 0000000..e3a5f03
--- /dev/null
+++ b/arch/arm64/boot/dts/renesas/r8a7795-h3ulcb-kf.dts
-@@ -0,0 +1,1651 @@
+@@ -0,0 +1,1655 @@
+/*
+ * Device Tree Source for the H3ULCB Kingfisher board on r8a7795
+ *
@@ -6621,12 +6593,12 @@ index 0000000..2c50230
+ };
+
+ lsm9ds0_acc_mag@1d {
-+ compatible = "st,lsm9ds0_acc_mag";
++ compatible = "st,lsm9ds0_acc_magn";
+ reg = <0x1d>;
+ };
+
+ lsm9ds0_gyr@6b {
-+ compatible = "st,lsm9ds0-gyro";
++ compatible = "st,lsm9ds0_gyro";
+ reg = <0x6b>;
+ };
+
@@ -7777,6 +7749,10 @@ index 0000000..2c50230
+ };
+};
+
++&ssi8 {
++ shared-pin;
++};
++
+/* uncomment to enable CN48 on VIN4 */
+//#include "ulcb-kf-rpi.dtsi"
+/* uncomment to enable CN47: SD on SDHI3 */
@@ -10686,10 +10662,10 @@ index 0000000..fb12a39f3
+};
diff --git a/arch/arm64/boot/dts/renesas/r8a7796-m3ulcb-kf-v1.dts b/arch/arm64/boot/dts/renesas/r8a7796-m3ulcb-kf-v1.dts
new file mode 100644
-index 0000000..ff0ec0f
+index 0000000..e3b1ec3
--- /dev/null
+++ b/arch/arm64/boot/dts/renesas/r8a7796-m3ulcb-kf-v1.dts
-@@ -0,0 +1,443 @@
+@@ -0,0 +1,427 @@
+/*
+ * Device Tree Source for the M3ULCB Kingfisher V1 board
+ *
@@ -10859,22 +10835,6 @@ index 0000000..ff0ec0f
+&gpio5 {
+ /delete-node/touch_irq;
+ /delete-node/bt_strap;
-+
-+ /* V1 has h/w bug with swapped RTS and CTS on BT interface */
-+ /* Ignore these pins */
-+ hscif0_cts {
-+ gpio-hog;
-+ gpios = <15 GPIO_ACTIVE_HIGH>;
-+ input;
-+ line-name = "hscif0 CTS";
-+ };
-+
-+ hscif0_rts {
-+ gpio-hog;
-+ gpios = <16 GPIO_ACTIVE_HIGH>;
-+ input;
-+ line-name = "hscif0 RTS";
-+ };
+};
+
+&gpio7 {
@@ -11135,10 +11095,10 @@ index 0000000..ff0ec0f
+};
diff --git a/arch/arm64/boot/dts/renesas/r8a7796-m3ulcb-kf.dts b/arch/arm64/boot/dts/renesas/r8a7796-m3ulcb-kf.dts
new file mode 100644
-index 0000000..39eab1f
+index 0000000..5199531
--- /dev/null
+++ b/arch/arm64/boot/dts/renesas/r8a7796-m3ulcb-kf.dts
-@@ -0,0 +1,1238 @@
+@@ -0,0 +1,1242 @@
+/*
+ * Device Tree Source for the M3ULCB Kingfisher board on r8a7796
+ *
@@ -11630,12 +11590,12 @@ index 0000000..39eab1f
+ };
+
+ lsm9ds0_acc_mag@1d {
-+ compatible = "st,lsm9ds0_acc_mag";
++ compatible = "st,lsm9ds0_acc_magn";
+ reg = <0x1d>;
+ };
+
+ lsm9ds0_gyr@6b {
-+ compatible = "st,lsm9ds0-gyro";
++ compatible = "st,lsm9ds0_gyro";
+ reg = <0x6b>;
+ };
+
@@ -12375,6 +12335,10 @@ index 0000000..39eab1f
+ };
+};
+
++&ssi8 {
++ shared-pin;
++};
++
+/* uncomment to enable CN47: SD on SDHI3 */
+//#include "ulcb-kf-sd3.dtsi"
diff --git a/arch/arm64/boot/dts/renesas/r8a7796-m3ulcb-view.dts b/arch/arm64/boot/dts/renesas/r8a7796-m3ulcb-view.dts