aboutsummaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas
diff options
context:
space:
mode:
authorVladimir Barinov <vladimir.barinov@cogentembedded.com>2018-03-15 13:46:21 +0300
committerVladimir Barinov <vladimir.barinov@cogentembedded.com>2018-03-15 13:46:21 +0300
commitdcafcaa269d12d38c2374c594f7d6992b035a645 (patch)
tree3f219bc7bb1370067e123af6c419d47465a0d562 /meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas
parentdd5445c6db1a39c12d81d8cac8dc35ae84dddad7 (diff)
V3MSK VBM and V3MZF: update spi slave after fixes
1) Use h/w spi chip-select frame instead gpio 2) update filed name for spi slave device
Diffstat (limited to 'meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas')
-rw-r--r--meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas/0040-arm64-dts-renesas-add-ADAS-boards.patch17
1 files changed, 7 insertions, 10 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 9bdc9d0..65e6f8e 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
@@ -11753,7 +11753,7 @@ index 0000000..dbbd3d2
+
+&pfc {
+ msiof1_pins: msiof1 {
-+ groups = "msiof1_clk", "msiof1_txd", "msiof1_rxd";
++ groups = "msiof1_clk", "msiof1_sync", "msiof1_txd", "msiof1_rxd";
+ function = "msiof1";
+ };
+
@@ -11772,7 +11772,6 @@ index 0000000..dbbd3d2
+&msiof1 {
+ pinctrl-0 = <&msiof1_pins>;
+ pinctrl-names = "default";
-+ cs-gpios = <&gpio3 3 0>;
+
+ status = "okay";
+ spidev@0 {
@@ -11787,7 +11786,7 @@ index 0000000..dbbd3d2
+ pinctrl-names = "default";
+
+ status = "okay";
-+ slave;
++ spi-slave;
+};
diff --git a/arch/arm64/boot/dts/renesas/r8a7797-v3msk-vbm.dts b/arch/arm64/boot/dts/renesas/r8a7797-v3msk-vbm.dts
new file mode 100644
@@ -13293,12 +13292,11 @@ index 0000000..246e71d
+&msiof2 {
+ pinctrl-0 = <&msiof2_pins>;
+ pinctrl-names = "default";
-+ cs-gpios = <&gpio2 4 0>;
+
+ status = "okay";
+ spidev@0 {
+ compatible = "renesas,sh-msiof";
-+ reg = <0>;
++ reg = <1>;
+ spi-max-frequency = <66666666>;
+ };
+};
@@ -13308,7 +13306,7 @@ index 0000000..246e71d
+ pinctrl-names = "default";
+
+ status = "okay";
-+ slave;
++ spi-slave;
+};
+
+&pfc {
@@ -13341,7 +13339,7 @@ index 0000000..246e71d
+ };
+
+ msiof2_pins: msiof2 {
-+ groups = "msiof2_clk", "msiof2_txd", "msiof2_rxd";
++ groups = "msiof2_clk", "msiof2_txd", "msiof2_rxd", "msiof2_ss1";
+ function = "msiof2";
+ };
+
@@ -14436,7 +14434,7 @@ index 0000000..56d4253
+
+&pfc {
+ msiof1_pins: msiof1 {
-+ groups = "msiof1_clk", "msiof1_txd", "msiof1_rxd";
++ groups = "msiof1_clk", "msiof1_sync", "msiof1_txd", "msiof1_rxd";
+ function = "msiof1";
+ };
+
@@ -14455,7 +14453,6 @@ index 0000000..56d4253
+&msiof1 {
+ pinctrl-0 = <&msiof1_pins>;
+ pinctrl-names = "default";
-+ cs-gpios = <&gpio3 3 0>;
+
+ status = "okay";
+ spidev@0 {
@@ -14470,7 +14467,7 @@ index 0000000..56d4253
+ pinctrl-names = "default";
+
+ status = "okay";
-+ slave;
++ spi-slave;
+};
diff --git a/arch/arm64/boot/dts/renesas/r8a7798-v3hsk-vbm.dts b/arch/arm64/boot/dts/renesas/r8a7798-v3hsk-vbm.dts
new file mode 100644