Skip to contentSkip to conversation

Renesas ARM Based SoC DT Updates for v4.4

GIT PULL New Simon Horman 5 participants 33 messages Sep 18, 2015 – Oct 7, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi Olof, Hi Kevin, Hi Arnd,

Please consider these Renesas ARM based SoC DT updates for v4.4.

This pull request is based on
"Renesas ARM Based SoC Cleanup for v4.4, tagged as renesas-cleanup-for-v4.4, which I have also sent a pull-request for.

The following changes since commit 04418c23a9411b85b8789eab5f4397bcbd62b7b4:

ARM: shmobile: Remove legacy clock support leftovers (2015-09-14 10:06:56 +0900)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-dt-for-v4.4

for you to fetch changes up to 2529493c288c109cf734235d1eb3de1b23d9bcef:

ARM: shmobile: r8a7791 dtsi: Add CPG/MSTP Clock Domain for sound (2015-09-14 10:25:58 +0900)

----------------------------------------------------------------
Renesas ARM Based SoC DT Updates for v4.4

* Add missing CPG/MSTP Clock Domain for sound on r8a779[01] SoCs
* Tidy up SCI resource region on r8a779[018] SoCs
* Add pinmux for iic0 on Lager board
* Use CCF for audio clock on Lager and Koelsch boards
* Use serial0 and 1 as serial ports on Marzen board
* Use adxl345-specific compatible property for KZM9G board
* Document compat string for Silk board
* Enable GPIO, I2C, QSPI and VIN support on r8a7794/Silk

----------------------------------------------------------------
Geert Uytterhoeven (3):
ARM: shmobile: kzm9g dts: Use adxl345-specific compatible property
ARM: shmobile: r8a7790 dtsi: Add CPG/MSTP Clock Domain for sound
ARM: shmobile: r8a7791 dtsi: Add CPG/MSTP Clock Domain for sound

Kuninori Morimoto (5):
ARM: shmobile: koelsch: use CCF for audio clock
ARM: shmobile: lager: use CCF for audio clock
ARM: shmobile: r8a7790: tidyup SSI resource region
ARM: shmobile: r8a7791: tidyup SSI resource region
ARM: shmobile: r8a7778: tidyup SSI resource region

Magnus Damm (1):
ARM: shmobile: marzen: Board specific serial port order

Sergei Shtylyov (8):
ARM: shmobile: r8a7794: add GPIO clocks
ARM: shmobile: r8a7794: add GPIO DT support
ARM: shmobile: r8a7794: add QSPI DT support
ARM: shmobile: silk: add QSPI DT support
ARM: shmobile: r8a7794: add I2C DT support
ARM: shmobile: silk: add I2C1 DT support
ARM: shmobile: r8a7794: add VIN DT support
ARM: shmobile: silk: add VIN0/ADV7180 DT support

Simon Horman (1):
ARM: shmobile: Add silk device tree bindings documentation

Wolfram Sang (1):
ARM: shmobile: r8a7790: lager: add pinmux for iic0

 Documentation/devicetree/bindings/arm/shmobile.txt |   2 +
 arch/arm/boot/dts/r8a7778.dtsi                     |   2 +-
 arch/arm/boot/dts/r8a7779-marzen.dts               |   6 +-
 arch/arm/boot/dts/r8a7790-lager.dts                |  16 +-
 arch/arm/boot/dts/r8a7790.dtsi                     |   3 +-
 arch/arm/boot/dts/r8a7791-koelsch.dts              |   9 +-
 arch/arm/boot/dts/r8a7791.dtsi                     |   3 +-
 arch/arm/boot/dts/r8a7794-silk.dts                 |  88 ++++++++
 arch/arm/boot/dts/r8a7794.dtsi                     | 224 ++++++++++++++++++++-
 arch/arm/boot/dts/sh73a0-kzm9g.dts                 |   2 +-
 10 files changed, 338 insertions(+), 17 deletions(-)
#1 lore raw

PATCH 1/19 ARM: shmobile: Add silk device tree bindings documentation

Add Silk Device tree bindings Documentation, listing it as a supported board.

This allows to use checkpatch to validate DTSes referring to the Silk board.

---
 Documentation/devicetree/bindings/arm/shmobile.txt | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/arm/shmobile.txt +2 -0
index 2b9cb62838f2..1d70e78e7c80 100644
@@ -55,3 +55,5 @@ Boards:
     compatible = "renesas,lager", "renesas,r8a7790"
   - Marzen
     compatible = "renesas,marzen", "renesas,r8a7779"
+  - Silk
+    compatible = "renesas,silk", "renesas,r8a7794";
Signature · 1 line
2.1.4
#2 lore raw

PATCH 1/19 ARM: shmobile: Add silk device tree bindings documentation

Quoted 15 lines · Simon Horman

Add Silk Device tree bindings Documentation, listing it as a supported board.

This allows to use checkpatch to validate DTSes referring to the Silk board.

---
  Documentation/devicetree/bindings/arm/shmobile.txt | 2 ++
  1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/arm/shmobile.txt +0 -0
index 2b9cb62838f2..1d70e78e7c80 100644

Documentation/devicetree/bindings/arm/shmobile.txt Boards: · line 58

Quoted 4 lines
Documentation/devicetree/bindings/arm/shmobile.txt +1 -0
@@ -55,3 +55,5 @@ Boards:
      compatible = "renesas,lager", "renesas,r8a7790"
    - Marzen
      compatible = "renesas,marzen", "renesas,r8a7779"
+  - Silk

I'll have to fix this up to SILK (RTP0RC7794LCB00011S). Sorry, noticed too
late. :-(

MBR, Sergei

#3 lore raw

PATCH 2/19 ARM: shmobile: r8a7794: add GPIO clocks

In reply to Simon Horman

From: Sergei Shtylyov <[email protected]>

Describe the GPIO clocks in the R8A7794 device tree.

Based on the original patch by Koji Matsuoka <[email protected]>.

---
 arch/arm/boot/dts/r8a7794.dtsi | 22 ++++++++++++++--------
 1 file changed, 14 insertions(+), 8 deletions(-)
arch/arm/boot/dts/r8a7794.dtsi +14 -8
index 97c8e9ace5eb..b6db773b9e55 100644
@@ -749,16 +749,22 @@
 		mstp9_clks: mstp9_clks at e6150994 {
 			compatible = "renesas,r8a7794-mstp-clocks", "renesas,cpg-mstp-clocks";
 			reg = <0 0xe6150994 0 4>, <0 0xe61509a4 0 4>;
-			clocks = <&cpg_clocks R8A7794_CLK_QSPI>, <&hp_clk>, <&hp_clk>,
-				<&hp_clk>, <&hp_clk>, <&hp_clk>, <&hp_clk>;
+			clocks = <&cp_clk>, <&cp_clk>, <&cp_clk>, <&cp_clk>,
+				 <&cp_clk>, <&cp_clk>, <&cp_clk>,
+				 <&cpg_clocks R8A7794_CLK_QSPI>, <&hp_clk>, <&hp_clk>,
+				 <&hp_clk>, <&hp_clk>, <&hp_clk>, <&hp_clk>;
 			#clock-cells = <1>;
-			clock-indices = <
-				R8A7794_CLK_QSPI_MOD R8A7794_CLK_I2C5 R8A7794_CLK_I2C4
-				R8A7794_CLK_I2C3 R8A7794_CLK_I2C2 R8A7794_CLK_I2C1
-				R8A7794_CLK_I2C0
-			>;
+			clock-indices = <R8A7794_CLK_GPIO6 R8A7794_CLK_GPIO5
+					 R8A7794_CLK_GPIO4 R8A7794_CLK_GPIO3
+					 R8A7794_CLK_GPIO2 R8A7794_CLK_GPIO1
+					 R8A7794_CLK_GPIO0 R8A7794_CLK_QSPI_MOD
+					 R8A7794_CLK_I2C5 R8A7794_CLK_I2C4
+					 R8A7794_CLK_I2C3 R8A7794_CLK_I2C2
+					 R8A7794_CLK_I2C1 R8A7794_CLK_I2C0>;
 			clock-output-names =
-				"qspi_mod", "i2c5", "i2c4", "i2c3", "i2c2", "i2c1", "i2c0";
+				"gpio6", "gpio5", "gpio4", "gpio3", "gpio2",
+				"gpio1", "gpio0", "qspi_mod",
+				"i2c5", "i2c4", "i2c3", "i2c2", "i2c1", "i2c0";
 		};
 		mstp11_clks: mstp11_clks at e615099c {
 			compatible = "renesas,r8a7794-mstp-clocks", "renesas,cpg-mstp-clocks";
Signature · 1 line
2.1.4
#4 lore raw

PATCH 3/19 ARM: shmobile: r8a7794: add GPIO DT support

In reply to Simon Horman

From: Sergei Shtylyov <[email protected]>

Describe GPIO[0-6] controllers in the R8A7794 device tree.

Based on original patch by Hisashi Nakamura <[email protected]>.

---
 arch/arm/boot/dts/r8a7794.dtsi | 91 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 91 insertions(+)
arch/arm/boot/dts/r8a7794.dtsi +91 -0
index b6db773b9e55..e9fab31e0709 100644
@@ -50,6 +50,97 @@
 		interrupts = <1 9 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
 	};
 
+	gpio0: gpio at e6050000 {
+		compatible = "renesas,gpio-r8a7794", "renesas,gpio-rcar";
+		reg = <0 0xe6050000 0 0x50>;
+		interrupts = <0 4 IRQ_TYPE_LEVEL_HIGH>;
+		#gpio-cells = <2>;
+		gpio-controller;
+		gpio-ranges = <&pfc 0 0 32>;
+		#interrupt-cells = <2>;
+		interrupt-controller;
+		clocks = <&mstp9_clks R8A7794_CLK_GPIO0>;
+		power-domains = <&cpg_clocks>;
+	};
+
+	gpio1: gpio at e6051000 {
+		compatible = "renesas,gpio-r8a7794", "renesas,gpio-rcar";
+		reg = <0 0xe6051000 0 0x50>;
+		interrupts = <0 5 IRQ_TYPE_LEVEL_HIGH>;
+		#gpio-cells = <2>;
+		gpio-controller;
+		gpio-ranges = <&pfc 0 32 26>;
+		#interrupt-cells = <2>;
+		interrupt-controller;
+		clocks = <&mstp9_clks R8A7794_CLK_GPIO1>;
+		power-domains = <&cpg_clocks>;
+	};
+
+	gpio2: gpio at e6052000 {
+		compatible = "renesas,gpio-r8a7794", "renesas,gpio-rcar";
+		reg = <0 0xe6052000 0 0x50>;
+		interrupts = <0 6 IRQ_TYPE_LEVEL_HIGH>;
+		#gpio-cells = <2>;
+		gpio-controller;
+		gpio-ranges = <&pfc 0 64 32>;
+		#interrupt-cells = <2>;
+		interrupt-controller;
+		clocks = <&mstp9_clks R8A7794_CLK_GPIO2>;
+		power-domains = <&cpg_clocks>;
+	};
+
+	gpio3: gpio at e6053000 {
+		compatible = "renesas,gpio-r8a7794", "renesas,gpio-rcar";
+		reg = <0 0xe6053000 0 0x50>;
+		interrupts = <0 7 IRQ_TYPE_LEVEL_HIGH>;
+		#gpio-cells = <2>;
+		gpio-controller;
+		gpio-ranges = <&pfc 0 96 32>;
+		#interrupt-cells = <2>;
+		interrupt-controller;
+		clocks = <&mstp9_clks R8A7794_CLK_GPIO3>;
+		power-domains = <&cpg_clocks>;
+	};
+
+	gpio4: gpio at e6054000 {
+		compatible = "renesas,gpio-r8a7794", "renesas,gpio-rcar";
+		reg = <0 0xe6054000 0 0x50>;
+		interrupts = <0 8 IRQ_TYPE_LEVEL_HIGH>;
+		#gpio-cells = <2>;
+		gpio-controller;
+		gpio-ranges = <&pfc 0 128 32>;
+		#interrupt-cells = <2>;
+		interrupt-controller;
+		clocks = <&mstp9_clks R8A7794_CLK_GPIO4>;
+		power-domains = <&cpg_clocks>;
+	};
+
+	gpio5: gpio at e6055000 {
+		compatible = "renesas,gpio-r8a7794", "renesas,gpio-rcar";
+		reg = <0 0xe6055000 0 0x50>;
+		interrupts = <0 9 IRQ_TYPE_LEVEL_HIGH>;
+		#gpio-cells = <2>;
+		gpio-controller;
+		gpio-ranges = <&pfc 0 160 28>;
+		#interrupt-cells = <2>;
+		interrupt-controller;
+		clocks = <&mstp9_clks R8A7794_CLK_GPIO5>;
+		power-domains = <&cpg_clocks>;
+	};
+
+	gpio6: gpio at e6055400 {
+		compatible = "renesas,gpio-r8a7794", "renesas,gpio-rcar";
+		reg = <0 0xe6055400 0 0x50>;
+		interrupts = <0 10 IRQ_TYPE_LEVEL_HIGH>;
+		#gpio-cells = <2>;
+		gpio-controller;
+		gpio-ranges = <&pfc 0 192 26>;
+		#interrupt-cells = <2>;
+		interrupt-controller;
+		clocks = <&mstp9_clks R8A7794_CLK_GPIO6>;
+		power-domains = <&cpg_clocks>;
+	};
+
 	cmt0: timer at ffca0000 {
 		compatible = "renesas,cmt-48-gen2";
 		reg = <0 0xffca0000 0 0x1004>;
Signature · 1 line
2.1.4
#5 lore raw

PATCH 4/19 ARM: shmobile: r8a7794: add QSPI DT support

In reply to Simon Horman

From: Sergei Shtylyov <[email protected]>

Define the generic R8A7794 part of the QSPI device node.

Based on original patch by Hisashi Nakamura <[email protected]>.

---
 arch/arm/boot/dts/r8a7794.dtsi | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
arch/arm/boot/dts/r8a7794.dtsi +18 -0
index e9fab31e0709..e0f32ede2181 100644
@@ -19,6 +19,10 @@
 	#address-cells = <2>;
 	#size-cells = <2>;
 
+	aliases {
+		spi0 = &qspi;
+	};
+
 	cpus {
 		#address-cells = <1>;
 		#size-cells = <0>;
@@ -537,6 +541,20 @@
 		status = "disabled";
 	};
 
+	qspi: spi at e6b10000 {
+		compatible = "renesas,qspi-r8a7794", "renesas,qspi";
+		reg = <0 0xe6b10000 0 0x2c>;
+		interrupts = <0 184 IRQ_TYPE_LEVEL_HIGH>;
+		clocks = <&mstp9_clks R8A7794_CLK_QSPI_MOD>;
+		dmas = <&dmac0 0x17>, <&dmac0 0x18>;
+		dma-names = "tx", "rx";
+		power-domains = <&cpg_clocks>;
+		num-cs = <1>;
+		#address-cells = <1>;
+		#size-cells = <0>;
+		status = "disabled";
+	};
+
 	clocks {
 		#address-cells = <2>;
 		#size-cells = <2>;
Signature · 1 line
2.1.4
#6 lore raw

PATCH 5/19 ARM: shmobile: silk: add QSPI DT support

In reply to Simon Horman

From: Sergei Shtylyov <[email protected]>

Define the SILK board dependent part of the QSPI device node.
Add device nodes for Spansion S25FL512S SPI flash and MTD partitions on it.

Based on the original patch by Vladimir Barinov
<[email protected]>.

---
 arch/arm/boot/dts/r8a7794-silk.dts | 40 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
arch/arm/boot/dts/r8a7794-silk.dts +40 -0
index d4dd5a30ccdf..f49bc00738a3 100644
@@ -65,6 +65,11 @@
 		renesas,groups = "mmc_data8", "mmc_ctrl";
 		renesas,function = "mmc";
 	};
+
+	qspi_pins: spi0 {
+		renesas,groups = "qspi_ctrl", "qspi_data4";
+		renesas,function = "qspi";
+	};
 };
 
 &scif2 {
@@ -100,3 +105,38 @@
 	non-removable;
 	status = "okay";
 };
+
+&qspi {
+	pinctrl-0 = <&qspi_pins>;
+	pinctrl-names = "default";
+
+	status = "okay";
+
+	flash at 0 {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		compatible = "spansion,s25fl512s", "jedec,spi-nor";
+		reg = <0>;
+		spi-max-frequency = <30000000>;
+		spi-tx-bus-width = <4>;
+		spi-rx-bus-width = <4>;
+		spi-cpol;
+		spi-cpha;
+		m25p,fast-read;
+
+		partition at 0 {
+			label = "loader";
+			reg = <0x00000000 0x00040000>;
+			read-only;
+		};
+		partition at 40000 {
+			label = "user";
+			reg = <0x00040000 0x00400000>;
+			read-only;
+		};
+		partition at 440000 {
+			label = "flash";
+			reg = <0x00440000 0x03bc0000>;
+		};
+	};
+};
Signature · 1 line
2.1.4
#7 lore raw

PATCH 6/19 ARM: shmobile: marzen: Board specific serial port order

In reply to Simon Horman

From: Magnus Damm <[email protected]>

Convert Marzen to use board-specific serial0 and serial1 instead of the older shared SoC-specific SCIF index.

---
 arch/arm/boot/dts/r8a7779-marzen.dts | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm/boot/dts/r8a7779-marzen.dts +3 -3
index 20afea6f06ef..fe396c8d58db 100644
@@ -19,12 +19,12 @@
 	compatible = "renesas,marzen", "renesas,r8a7779";
 
 	aliases {
-		serial2 = &scif2;
-		serial4 = &scif4;
+		serial0 = &scif2;
+		serial1 = &scif4;
 	};
 
 	chosen {
-		bootargs = "console=ttySC2,115200 ignore_loglevel root=/dev/nfs ip=on";
+		bootargs = "ignore_loglevel root=/dev/nfs ip=on";
 		stdout-path = &scif2;
 	};
 
Signature · 1 line
2.1.4
#8 lore raw

PATCH 7/19 ARM: shmobile: kzm9g dts: Use adxl345-specific compatible property

In reply to Simon Horman

From: Geert Uytterhoeven <[email protected]>

Replace the deprecated generic "adi,adxl34x" compatible value by the adxl345-specific "adi,adxl345" value, cfr. commit e465bf6fc55d5ce2 ("DT:
i2c: Deprecate adi,adxl34x compatible string").

---
 arch/arm/boot/dts/sh73a0-kzm9g.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/sh73a0-kzm9g.dts +1 -1
index 24b4cd24dceb..7fc5602810ad 100644
@@ -206,7 +206,7 @@
 	};
 
 	accelerometer at 1d {
-		compatible = "adi,adxl34x";
+		compatible = "adi,adxl345";
 		reg = <0x1d>;
 		interrupt-parent = <&irqpin3>;
 		interrupts = <2 IRQ_TYPE_LEVEL_HIGH>,
Signature · 1 line
2.1.4
#9 lore raw

PATCH 8/19 ARM: shmobile: r8a7794: add I2C DT support

In reply to Simon Horman

From: Sergei Shtylyov <[email protected]>

Define the generic R8A7794 parts of the I2C[0-5] device nodes.

Based on the original patch by Koji Matsuoka <[email protected]>.

---
 arch/arm/boot/dts/r8a7794.dtsi | 73 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 73 insertions(+)
arch/arm/boot/dts/r8a7794.dtsi +73 -0
index e0f32ede2181..7384db2a3992 100644
@@ -20,6 +20,12 @@
 	#size-cells = <2>;
 
 	aliases {
+		i2c0 = &i2c0;
+		i2c1 = &i2c1;
+		i2c2 = &i2c2;
+		i2c3 = &i2c3;
+		i2c4 = &i2c4;
+		i2c5 = &i2c5;
 		spi0 = &qspi;
 	};
 
@@ -502,6 +508,73 @@
 		status = "disabled";
 	};
 
+	/* The memory map in the User's Manual maps the cores to bus numbers */
+	i2c0: i2c at e6508000 {
+		compatible = "renesas,i2c-r8a7794";
+		reg = <0 0xe6508000 0 0x40>;
+		interrupts = <0 287 IRQ_TYPE_LEVEL_HIGH>;
+		clocks = <&mstp9_clks R8A7794_CLK_I2C0>;
+		power-domains = <&cpg_clocks>;
+		#address-cells = <1>;
+		#size-cells = <0>;
+		status = "disabled";
+	};
+
+	i2c1: i2c at e6518000 {
+		compatible = "renesas,i2c-r8a7794";
+		reg = <0 0xe6518000 0 0x40>;
+		interrupts = <0 288 IRQ_TYPE_LEVEL_HIGH>;
+		clocks = <&mstp9_clks R8A7794_CLK_I2C1>;
+		power-domains = <&cpg_clocks>;
+		#address-cells = <1>;
+		#size-cells = <0>;
+		status = "disabled";
+	};
+
+	i2c2: i2c at e6530000 {
+		compatible = "renesas,i2c-r8a7794";
+		reg = <0 0xe6530000 0 0x40>;
+		interrupts = <0 286 IRQ_TYPE_LEVEL_HIGH>;
+		clocks = <&mstp9_clks R8A7794_CLK_I2C2>;
+		power-domains = <&cpg_clocks>;
+		#address-cells = <1>;
+		#size-cells = <0>;
+		status = "disabled";
+	};
+
+	i2c3: i2c at e6540000 {
+		compatible = "renesas,i2c-r8a7794";
+		reg = <0 0xe6540000 0 0x40>;
+		interrupts = <0 290 IRQ_TYPE_LEVEL_HIGH>;
+		clocks = <&mstp9_clks R8A7794_CLK_I2C3>;
+		power-domains = <&cpg_clocks>;
+		#address-cells = <1>;
+		#size-cells = <0>;
+		status = "disabled";
+	};
+
+	i2c4: i2c at e6520000 {
+		compatible = "renesas,i2c-r8a7794";
+		reg = <0 0xe6520000 0 0x40>;
+		interrupts = <0 19 IRQ_TYPE_LEVEL_HIGH>;
+		clocks = <&mstp9_clks R8A7794_CLK_I2C4>;
+		power-domains = <&cpg_clocks>;
+		#address-cells = <1>;
+		#size-cells = <0>;
+		status = "disabled";
+	};
+
+	i2c5: i2c at e6528000 {
+		compatible = "renesas,i2c-r8a7794";
+		reg = <0 0xe6528000 0 0x40>;
+		interrupts = <0 20 IRQ_TYPE_LEVEL_HIGH>;
+		clocks = <&mstp9_clks R8A7794_CLK_I2C5>;
+		power-domains = <&cpg_clocks>;
+		#address-cells = <1>;
+		#size-cells = <0>;
+		status = "disabled";
+	};
+
 	mmcif0: mmc at ee200000 {
 		compatible = "renesas,mmcif-r8a7794", "renesas,sh-mmcif";
 		reg = <0 0xee200000 0 0x80>;
Signature · 1 line
2.1.4
#10 lore raw

PATCH 9/19 ARM: shmobile: silk: add I2C1 DT support

In reply to Simon Horman

From: Sergei Shtylyov <[email protected]>

Define the SILK board dependent part of the I2C1 device node.

---
 arch/arm/boot/dts/r8a7794-silk.dts | 13 +++++++++++++
 1 file changed, 13 insertions(+)
arch/arm/boot/dts/r8a7794-silk.dts +13 -0
index f49bc00738a3..3f808724106e 100644
@@ -61,6 +61,11 @@
 		renesas,function = "intc";
 	};
 
+	i2c1_pins: i2c1 {
+		renesas,groups = "i2c1";
+		renesas,function = "i2c1";
+	};
+
 	mmcif0_pins: mmcif0 {
 		renesas,groups = "mmc_data8", "mmc_ctrl";
 		renesas,function = "mmc";
@@ -95,6 +100,14 @@
 	};
 };
 
+&i2c1 {
+	pinctrl-0 = <&i2c1_pins>;
+	pinctrl-names = "default";
+
+	status = "okay";
+	clock-frequency = <400000>;
+};
+
 &mmcif0 {
 	pinctrl-0 = <&mmcif0_pins>;
 	pinctrl-names = "default";
Signature · 1 line
2.1.4
#11 lore raw

PATCH 10/19 ARM: shmobile: r8a7794: add VIN DT support

In reply to Simon Horman

From: Sergei Shtylyov <[email protected]>

Define the generic R8A7794 part of the VIN[01] device nodes. Add aliases for the VIN[01] device nodes.

---
 arch/arm/boot/dts/r8a7794.dtsi | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
arch/arm/boot/dts/r8a7794.dtsi +20 -0
index 7384db2a3992..e54f3dea2d70 100644
@@ -27,6 +27,8 @@
 		i2c4 = &i2c4;
 		i2c5 = &i2c5;
 		spi0 = &qspi;
+		vin0 = &vin0;
+		vin1 = &vin1;
 	};
 
 	cpus {
@@ -628,6 +630,24 @@
 		status = "disabled";
 	};
 
+	vin0: video at e6ef0000 {
+		compatible = "renesas,vin-r8a7794";
+		reg = <0 0xe6ef0000 0 0x1000>;
+		interrupts = <0 188 IRQ_TYPE_LEVEL_HIGH>;
+		clocks = <&mstp8_clks R8A7794_CLK_VIN0>;
+		power-domains = <&cpg_clocks>;
+		status = "disabled";
+	};
+
+	vin1: video at e6ef1000 {
+		compatible = "renesas,vin-r8a7794";
+		reg = <0 0xe6ef1000 0 0x1000>;
+		interrupts = <0 189 IRQ_TYPE_LEVEL_HIGH>;
+		clocks = <&mstp8_clks R8A7794_CLK_VIN1>;
+		power-domains = <&cpg_clocks>;
+		status = "disabled";
+	};
+
 	clocks {
 		#address-cells = <2>;
 		#size-cells = <2>;
Signature · 1 line
2.1.4
#12 lore raw

PATCH 11/19 ARM: shmobile: silk: add VIN0/ADV7180 DT support

In reply to Simon Horman

From: Sergei Shtylyov <[email protected]>

Define the SILK board dependent part of the VIN0 device node. Add the device node for Analog Devices ADV7180 video decoder to I2C1 bus. Add the necessary subnodes to interconnect VIN0 and ADV7180 devices.

Based on the Henninger VIN0/ADV8170 device tree patch by myself.

---
 arch/arm/boot/dts/r8a7794-silk.dts | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)
arch/arm/boot/dts/r8a7794-silk.dts +35 -0
index 3f808724106e..bb0a22423dc4 100644
@@ -75,6 +75,11 @@
 		renesas,groups = "qspi_ctrl", "qspi_data4";
 		renesas,function = "qspi";
 	};
+
+	vin0_pins: vin0 {
+		renesas,groups = "vin0_data8", "vin0_clk";
+		renesas,function = "vin0";
+	};
 };
 
 &scif2 {
@@ -106,6 +111,19 @@
 
 	status = "okay";
 	clock-frequency = <400000>;
+
+	composite-in at 20 {
+		compatible = "adi,adv7180";
+		reg = <0x20>;
+		remote = <&vin0>;
+
+		port {
+			adv7180: endpoint {
+				bus-width = <8>;
+				remote-endpoint = <&vin0ep>;
+			};
+		};
+	};
 };
 
 &mmcif0 {
@@ -153,3 +171,20 @@
 		};
 	};
 };
+
+/* composite video input */
+&vin0 {
+	status = "okay";
+	pinctrl-0 = <&vin0_pins>;
+	pinctrl-names = "default";
+
+	port {
+		#address-cells = <1>;
+		#size-cells = <0>;
+
+		vin0ep: endpoint {
+			remote-endpoint = <&adv7180>;
+			bus-width = <8>;
+		};
+	};
+};
Signature · 1 line
2.1.4
#13 lore raw

PATCH 12/19 ARM: shmobile: koelsch: use CCF for audio clock

In reply to Simon Horman

From: Kuninori Morimoto <[email protected]>

Because of historical reason, audio clock didn't use CCF. Let's use it now.

---
 arch/arm/boot/dts/r8a7791-koelsch.dts | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
arch/arm/boot/dts/r8a7791-koelsch.dts +8 -1
index dc158845afdc..fc44ea361a4b 100644
@@ -242,6 +242,13 @@
 			  1800000 0>;
 	};
 
+	audio_clock: clock {
+		compatible = "fixed-clock";
+		#clock-cells = <0>;
+		clock-frequency = <11289600>;
+		clock-output-names = "audio_clock";
+	};
+
 	rsnd_ak4643: sound {
 		compatible = "simple-audio-card";
 
@@ -255,7 +262,7 @@
 
 		sndcodec: simple-audio-card,codec {
 			sound-dai = <&ak4643>;
-			system-clock-frequency = <11289600>;
+			clocks = <&audio_clock>;
 		};
 	};
 
Signature · 1 line
2.1.4
#14 lore raw

PATCH 13/19 ARM: shmobile: lager: use CCF for audio clock

In reply to Simon Horman

From: Kuninori Morimoto <[email protected]>

Because of historical reason, audio clock didn't use CCF. Let's use it now.

---
 arch/arm/boot/dts/r8a7790-lager.dts | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
arch/arm/boot/dts/r8a7790-lager.dts +8 -1
index 37dec5269491..6f5d7f50d5ca 100644
@@ -174,6 +174,13 @@
 			  1800000 0>;
 	};
 
+	audio_clock: clock {
+		compatible = "fixed-clock";
+		#clock-cells = <0>;
+		clock-frequency = <11289600>;
+		clock-output-names = "audio_clock";
+	};
+
 	rsnd_ak4643: sound {
 		compatible = "simple-audio-card";
 
@@ -187,7 +194,7 @@
 
 		sndcodec: simple-audio-card,codec {
 			sound-dai = <&ak4643>;
-			system-clock-frequency = <11289600>;
+			clocks = <&audio_clock>;
 		};
 	};
 
Signature · 1 line
2.1.4
#15 lore raw

PATCH 14/19 ARM: shmobile: r8a7790: tidyup SSI resource region

In reply to Simon Horman

From: Kuninori Morimoto <[email protected]>

---
 arch/arm/boot/dts/r8a7790.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/r8a7790.dtsi +1 -1
index a0b2a79cbfbd..ae5eb281d43a 100644
@@ -1599,7 +1599,7 @@
 		reg =	<0 0xec500000 0 0x1000>, /* SCU */
 			<0 0xec5a0000 0 0x100>,  /* ADG */
 			<0 0xec540000 0 0x1000>, /* SSIU */
-			<0 0xec541000 0 0x1280>, /* SSI */
+			<0 0xec541000 0 0x280>,  /* SSI */
 			<0 0xec740000 0 0x200>;  /* Audio DMAC peri peri*/
 		reg-names = "scu", "adg", "ssiu", "ssi", "audmapp";
 
Signature · 1 line
2.1.4
#16 lore raw

PATCH 15/19 ARM: shmobile: r8a7791: tidyup SSI resource region

In reply to Simon Horman

From: Kuninori Morimoto <[email protected]>

---
 arch/arm/boot/dts/r8a7791.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/r8a7791.dtsi +1 -1
index 831525dd39a6..3b8e26dde36d 100644
@@ -1649,7 +1649,7 @@
 		reg =	<0 0xec500000 0 0x1000>, /* SCU */
 			<0 0xec5a0000 0 0x100>,  /* ADG */
 			<0 0xec540000 0 0x1000>, /* SSIU */
-			<0 0xec541000 0 0x1280>, /* SSI */
+			<0 0xec541000 0 0x280>,  /* SSI */
 			<0 0xec740000 0 0x200>;  /* Audio DMAC peri peri*/
 		reg-names = "scu", "adg", "ssiu", "ssi", "audmapp";
 
Signature · 1 line
2.1.4
#17 lore raw

PATCH 16/19 ARM: shmobile: r8a7778: tidyup SSI resource region

In reply to Simon Horman

From: Kuninori Morimoto <[email protected]>

---
 arch/arm/boot/dts/r8a7778.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/r8a7778.dtsi +1 -1
index 4b1fa9f42ad5..4f8e07811746 100644
@@ -239,7 +239,7 @@
 		#sound-dai-cells = <1>;
 		compatible = "renesas,rcar_sound-r8a7778", "renesas,rcar_sound-gen1";
 		reg =	<0xffd90000 0x1000>,	/* SRU */
-			<0xffd91000 0x1240>,	/* SSI */
+			<0xffd91000 0x240>,	/* SSI */
 			<0xfffe0000 0x24>;	/* ADG */
 		clocks = <&mstp3_clks R8A7778_CLK_SSI8>,
 			<&mstp3_clks R8A7778_CLK_SSI7>,
Signature · 1 line
2.1.4
#18 lore raw

PATCH 17/19 ARM: shmobile: r8a7790: lager: add pinmux for iic0

In reply to Simon Horman

From: Wolfram Sang <[email protected]>

It seems we used to rely on the default pinmux setting of this HW, but currently we need to explicitly set the pinmux to access this bus. It is better style, too.

---
 arch/arm/boot/dts/r8a7790-lager.dts | 7 +++++++
 1 file changed, 7 insertions(+)
arch/arm/boot/dts/r8a7790-lager.dts +7 -0
index 6f5d7f50d5ca..c553abd711ee 100644
@@ -342,6 +342,11 @@
 		renesas,function = "msiof1";
 	};
 
+	iic0_pins: iic0 {
+		renesas,groups = "iic0";
+		renesas,function = "iic0";
+	};
+
 	iic1_pins: iic1 {
 		renesas,groups = "iic1";
 		renesas,function = "iic1";
@@ -517,6 +522,8 @@
 
 &iic0	{
 	status = "okay";
+	pinctrl-0 = <&iic0_pins>;
+	pinctrl-names = "default";
 };
 
 &iic1	{
Signature · 1 line
2.1.4
#19 lore raw

PATCH 18/19 ARM: shmobile: r8a7790 dtsi: Add CPG/MSTP Clock Domain for sound

In reply to Simon Horman

From: Geert Uytterhoeven <[email protected]>

484adb005886 ("ARM: shmobile: r8a7790 dtsi: Add CPG/MSTP Clock Domain") added CPG/MSTP clock-cells domain support, but it was missing sound support. This patch adds it.

[horms: Updated commit id referred to in changelog]
---
 arch/arm/boot/dts/r8a7790.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm/boot/dts/r8a7790.dtsi +1 -0
index ae5eb281d43a..e07ae5d45e19 100644
@@ -1627,6 +1627,7 @@
 				"mix.0", "mix.1",
 				"dvc.0", "dvc.1",
 				"clk_a", "clk_b", "clk_c", "clk_i";
+		power-domains = <&cpg_clocks>;
 
 		status = "disabled";
 
Signature · 1 line
2.1.4
#20 lore raw

PATCH 19/19 ARM: shmobile: r8a7791 dtsi: Add CPG/MSTP Clock Domain for sound

In reply to Simon Horman

From: Geert Uytterhoeven <[email protected]>

797a0626e08c ("ARM: shmobile: r8a7791 dtsi: Add CPG/MSTP Clock Domain") added CPG/MSTP clock-cells domain support, but it was missing sound support. This patch adds it.

[horms: updated commit id referred to in changelog]
---
 arch/arm/boot/dts/r8a7791.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm/boot/dts/r8a7791.dtsi +1 -0
index 3b8e26dde36d..328f48bd15e7 100644
@@ -1677,6 +1677,7 @@
 				"mix.0", "mix.1",
 				"dvc.0", "dvc.1",
 				"clk_a", "clk_b", "clk_c", "clk_i";
+		power-domains = <&cpg_clocks>;
 
 		status = "disabled";
 
Signature · 1 line
2.1.4
#21 lore raw
In reply to Simon Horman

Hi Simon,

Quoted 6 lines · Simon Horman

Renesas ARM Based SoC DT Updates for v4.4

* Add missing CPG/MSTP Clock Domain for sound on r8a779[01] SoCs

ARM: shmobile: r8a7790 dtsi: Add CPG/MSTP Clock Domain for sound
ARM: shmobile: r8a7791 dtsi: Add CPG/MSTP Clock Domain for sound

These two should actually go in in v4.3, as they're bugfixes for commits that are in v4.3-rc1. That can be done in parallel, though.

Sound will stop working in mainline as soon as commit cbc41d0a761bffb3 ("drivers: sh: Disable PM runtime for multi-platform ARM with genpd") in sh-drivers-for-v4.3 enters mainline.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

#22 lore raw
Quoted 10 lines · On Friday 18 September 2015 09:16:31 Geert Uytterhoeven wrote:
Quoted 6 lines · Simon Horman

Renesas ARM Based SoC DT Updates for v4.4

* Add missing CPG/MSTP Clock Domain for sound on r8a779[01] SoCs

ARM: shmobile: r8a7790 dtsi: Add CPG/MSTP Clock Domain for sound
ARM: shmobile: r8a7791 dtsi: Add CPG/MSTP Clock Domain for sound

Quoted 7 lines

These two should actually go in in v4.3, as they're bugfixes for commits that are in v4.3-rc1. That can be done in parallel, though.

Sound will stop working in mainline as soon as commit cbc41d0a761bffb3 ("drivers: sh: Disable PM runtime for multi-platform ARM with genpd") in sh-drivers-for-v4.3 enters mainline.

The commits are on the top of the branch, so we could just remove them here and apply them to the fixes branch if you like.

Arnd

#23 lore raw

Hi Arnd,

Quoted 13 lines · Arnd Bergmann
Quoted 12 lines · On Friday 18 September 2015 09:16:31 Geert Uytterhoeven wrote:
Quoted 6 lines · Simon Horman

Renesas ARM Based SoC DT Updates for v4.4

* Add missing CPG/MSTP Clock Domain for sound on r8a779[01] SoCs

ARM: shmobile: r8a7790 dtsi: Add CPG/MSTP Clock Domain for sound
ARM: shmobile: r8a7791 dtsi: Add CPG/MSTP Clock Domain for sound

These two should actually go in in v4.3, as they're bugfixes for commits that are in v4.3-rc1. That can be done in parallel, though.

Quoted 6 lines
Quoted 3 lines

Sound will stop working in mainline as soon as commit cbc41d0a761bffb3 ("drivers: sh: Disable PM runtime for multi-platform ARM with genpd") in sh-drivers-for-v4.3 enters mainline.

The commits are on the top of the branch, so we could just remove them here and apply them to the fixes branch if you like.

That sounds fine to me, thanks!

Simon, is that OK for you?

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

#24 lore raw
Quoted 20 lines · Geert Uytterhoeven

Hi Arnd,

Quoted 17 lines · Arnd Bergmann
Quoted 15 lines · On Friday 18 September 2015 09:16:31 Geert Uytterhoeven wrote:
Quoted 6 lines · Simon Horman

Renesas ARM Based SoC DT Updates for v4.4

* Add missing CPG/MSTP Clock Domain for sound on r8a779[01] SoCs

ARM: shmobile: r8a7790 dtsi: Add CPG/MSTP Clock Domain for sound
ARM: shmobile: r8a7791 dtsi: Add CPG/MSTP Clock Domain for sound

These two should actually go in in v4.3, as they're bugfixes for commits that are in v4.3-rc1. That can be done in parallel, though.

Sound will stop working in mainline as soon as commit cbc41d0a761bffb3 ("drivers: sh: Disable PM runtime for multi-platform ARM with genpd") in sh-drivers-for-v4.3 enters mainline.

Quoted 6 lines
Quoted 2 lines

The commits are on the top of the branch, so we could just remove them here and apply them to the fixes branch if you like.

That sounds fine to me, thanks!

Simon, is that OK for you?

Yes, perfectly fine.

#25 lore raw

Hi Arnd,

Quoted 21 lines · Simon Horman
Quoted 20 lines · Geert Uytterhoeven

Hi Arnd,

Quoted 17 lines · Arnd Bergmann
Quoted 15 lines · On Friday 18 September 2015 09:16:31 Geert Uytterhoeven wrote:
Quoted 6 lines · Simon Horman

Renesas ARM Based SoC DT Updates for v4.4

* Add missing CPG/MSTP Clock Domain for sound on r8a779[01] SoCs

ARM: shmobile: r8a7790 dtsi: Add CPG/MSTP Clock Domain for sound
ARM: shmobile: r8a7791 dtsi: Add CPG/MSTP Clock Domain for sound

These two should actually go in in v4.3, as they're bugfixes for commits that are in v4.3-rc1. That can be done in parallel, though.

Sound will stop working in mainline as soon as commit cbc41d0a761bffb3 ("drivers: sh: Disable PM runtime for multi-platform ARM with genpd") in sh-drivers-for-v4.3 enters mainline.

Quoted 8 lines
Quoted 6 lines
Quoted 2 lines

The commits are on the top of the branch, so we could just remove them here and apply them to the fixes branch if you like.

That sounds fine to me, thanks!

Simon, is that OK for you?

Yes, perfectly fine.

I am wondering if you need anything from me at this point.

#26 lore raw

Hi Arnd,

Quoted 27 lines · Simon Horman

Hi Arnd,

Quoted 24 lines · Simon Horman
Quoted 23 lines · Geert Uytterhoeven

Hi Arnd,

Quoted 19 lines · Arnd Bergmann
Quoted 9 lines · On Friday 18 September 2015 09:16:31 Geert Uytterhoeven wrote:
Quoted 6 lines · Simon Horman

Renesas ARM Based SoC DT Updates for v4.4

* Add missing CPG/MSTP Clock Domain for sound on r8a779[01] SoCs

ARM: shmobile: r8a7790 dtsi: Add CPG/MSTP Clock Domain for sound
ARM: shmobile: r8a7791 dtsi: Add CPG/MSTP Clock Domain for sound

Quoted 6 lines

These two should actually go in in v4.3, as they're bugfixes for commits that are in v4.3-rc1. That can be done in parallel, though.

Sound will stop working in mainline as soon as commit cbc41d0a761bffb3 ("drivers: sh: Disable PM runtime for multi-platform ARM with genpd") in sh-drivers-for-v4.3 enters mainline.

The commits are on the top of the branch, so we could just remove them here and apply them to the fixes branch if you like.

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

That sounds fine to me, thanks!

Simon, is that OK for you?

Yes, perfectly fine.

I am wondering if you need anything from me at this point.

In the interest of moving things forwards I am:

* Withdrawing this pull request
* Preparing a pull request with only the fixes

I will also prepare an updated, v2, version of this pull request without the fixes and with some new patches I have queued-up in the mean time.

#27 lore raw
Quoted 5 lines · On Friday 02 October 2015 11:28:39 Simon Horman wrote:
Quoted 4 lines
Quoted 2 lines

Yes, perfectly fine.

I am wondering if you need anything from me at this point.

Quoted 8 lines

In the interest of moving things forwards I am:

* Withdrawing this pull request
* Preparing a pull request with only the fixes

I will also prepare an updated, v2, version of this pull request without the fixes and with some new patches I have queued-up in the mean time.

Hi Simon,

I'm very sorry for dropping the ball here. I'm definitely fine with this, I just screwed up and didn't do any merges at all since I returned from my leave, and Olof was also busy otherwise this week.

Arnd

#28 lore raw
Quoted 15 lines · Arnd Bergmann
Quoted 5 lines · On Friday 02 October 2015 11:28:39 Simon Horman wrote:
Quoted 4 lines
Quoted 2 lines

Yes, perfectly fine.

I am wondering if you need anything from me at this point.

Quoted 8 lines

In the interest of moving things forwards I am:

* Withdrawing this pull request
* Preparing a pull request with only the fixes

I will also prepare an updated, v2, version of this pull request without the fixes and with some new patches I have queued-up in the mean time.

Quoted 5 lines

Hi Simon,

I'm very sorry for dropping the ball here. I'm definitely fine with this, I just screwed up and didn't do any merges at all since I returned from my leave, and Olof was also busy otherwise this week.

Hi And

No problem. I assumed you were busy with something.

#29 lore raw
In reply to Simon Horman
Quoted 7 lines · On Friday 02 October 2015 11:28:39 Simon Horman wrote:
Quoted 5 lines · Simon Horman
Quoted 2 lines · Simon Horman

On Fri, Sep 18, 2015 at 09:29:58AM +0200, Geert Uytterhoeven wrote:
Yes, perfectly fine.

I am wondering if you need anything from me at this point.

Quoted 9 lines

In the interest of moving things forwards I am:

* Withdrawing this pull request
* Preparing a pull request with only the fixes

I will also prepare an updated, v2, version of this pull request without the fixes and with some new patches I have queued-up in the mean time.

As you noticed, I have finally started merging stuff now. Based on your mail here, I'm waiting for v2 of this pull request now, but I can also apply the remaining patches as I suggested earlier if you prefer.

Arnd

#30 lore raw
Quoted 18 lines · Arnd Bergmann
Quoted 7 lines · On Friday 02 October 2015 11:28:39 Simon Horman wrote:
Quoted 5 lines · Simon Horman
Quoted 2 lines · Simon Horman

On Fri, Sep 18, 2015 at 09:29:58AM +0200, Geert Uytterhoeven wrote:
Yes, perfectly fine.

I am wondering if you need anything from me at this point.

Quoted 9 lines

In the interest of moving things forwards I am:

* Withdrawing this pull request
* Preparing a pull request with only the fixes

I will also prepare an updated, v2, version of this pull request without the fixes and with some new patches I have queued-up in the mean time.

Quoted 4 lines

As you noticed, I have finally started merging stuff now. Based on your mail here, I'm waiting for v2 of this pull request now, but I can also apply the remaining patches as I suggested earlier if you prefer.

Please wait for v2, I'll send it out soon.

#31 lore raw
In reply to Arnd Bergmann
Quoted 14 lines · Arnd Bergmann
Quoted 13 lines · On Friday 18 September 2015 09:16:31 Geert Uytterhoeven wrote:
Quoted 6 lines · Simon Horman

Renesas ARM Based SoC DT Updates for v4.4

* Add missing CPG/MSTP Clock Domain for sound on r8a779[01] SoCs

ARM: shmobile: r8a7790 dtsi: Add CPG/MSTP Clock Domain for sound
ARM: shmobile: r8a7791 dtsi: Add CPG/MSTP Clock Domain for sound

These two should actually go in in v4.3, as they're bugfixes for commits that are in v4.3-rc1. That can be done in parallel, though.

Quoted 7 lines
Quoted 4 lines

Sound will stop working in mainline as soon as commit cbc41d0a761bffb3 ("drivers: sh: Disable PM runtime for multi-platform ARM with genpd") in sh-drivers-for-v4.3 enters mainline.

The commits are on the top of the branch, so we could just remove them here and apply them to the fixes branch if you like.

Thanks, that would be wonderful.

Would you also like me to resubmit this pull request with the top two patches removed?

#32 lore raw
In reply to Geert Uytterhoeven
Quoted 6 lines · Geert Uytterhoeven

Hi Simon,

Quoted 2 lines · Simon Horman

Renesas ARM Based SoC DT Updates for v4.4

Quoted 7 lines
Quoted 4 lines

* Add missing CPG/MSTP Clock Domain for sound on r8a779[01] SoCs

ARM: shmobile: r8a7790 dtsi: Add CPG/MSTP Clock Domain for sound
ARM: shmobile: r8a7791 dtsi: Add CPG/MSTP Clock Domain for sound

These two should actually go in in v4.3, as they're bugfixes for commits that are in v4.3-rc1. That can be done in parallel, though.

Thanks, I'll resubmit those patches as fixes and revise this pull request accordingly.

Quoted 3 lines

Sound will stop working in mainline as soon as commit cbc41d0a761bffb3 ("drivers: sh: Disable PM runtime for multi-platform ARM with genpd") in sh-drivers-for-v4.3 enters mainline.

I sent a pull-request for that yesterday, so presumably that will be soon.