linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] Second Round of Renesas ARM64 Based SoC Defconfig Updates for v4.5
@ 2015-11-27  1:54 Simon Horman
  2015-11-27  1:54 ` [PATCH 1/5] arm64: defconfig: Enable GPIO of Renesas R-Car Gen3 SoC Simon Horman
                   ` (6 more replies)
  0 siblings, 7 replies; 30+ messages in thread
From: Simon Horman @ 2015-11-27  1:54 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Olof, Hi Kevin, Hi Arnd,

Please consider these second round of Renesas ARM64 based SoC defconfig
updates for v4.5.

This pull request Enable Renesas sound, DMAC, I2C, EthernetAVB and GPIO for
R-Car Gen3 r8a7795/salvator-x.

This pull request is based on the previous round of
such requests, tagged as renesas-arm64-defconfig-for-v4.5,
which I have already sent a pull-request for.


The following changes since commit 727e8d0126e3ecafce3ebc43eaa5a7d61af3bef0:

  arm64: defconfig: renesas: Enable Renesas r8a7795 SoC (2015-11-17 02:50:29 +0900)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-arm64-defconfig2-for-v4.5

for you to fetch changes up to 05a64b3b8b41bf3c3ca9b7f9f8a0e81ffadb20e3:

  arm64: defconfig: add Renesas sound and AK4613 support (2015-11-26 11:35:21 +0900)

----------------------------------------------------------------
Second Round of Renesas ARM64 Based SoC Defconfig Updates for v4.5

* Enable Renesas Sound, DMAC, I2C, EthernetAVB and GPIO for
  R-Car Gen3 r8a7795/salvator-x

----------------------------------------------------------------
Kuninori Morimoto (3):
      arm64: defconfig: Enable Renesas R-Car I2C Controller
      arm64: defconfig: add Renesas R-Car DMAC driver support
      arm64: defconfig: add Renesas sound and AK4613 support

Simon Horman (1):
      arm64: defconfig: enable EthernetAVB

Takeshi Kihara (1):
      arm64: defconfig: Enable GPIO of Renesas R-Car Gen3 SoC

 arch/arm64/configs/defconfig | 10 ++++++++++
 1 file changed, 10 insertions(+)

^ permalink raw reply	[flat|nested] 30+ messages in thread

* [PATCH 1/5] arm64: defconfig: Enable GPIO of Renesas R-Car Gen3 SoC
  2015-11-27  1:54 [GIT PULL] Second Round of Renesas ARM64 Based SoC Defconfig Updates for v4.5 Simon Horman
@ 2015-11-27  1:54 ` Simon Horman
  2015-11-27  1:54 ` [PATCH 2/5] arm64: defconfig: enable EthernetAVB Simon Horman
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 30+ messages in thread
From: Simon Horman @ 2015-11-27  1:54 UTC (permalink / raw)
  To: linux-arm-kernel

From: Takeshi Kihara <takeshi.kihara.df@renesas.com>

Enable GPIO for  Renesas R-Car Gen3 SoC.

Signed-off-by: Takeshi Kihara <takeshi.kihara.df@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index a260e3a46f01..206dfd99295c 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -135,6 +135,7 @@ CONFIG_SPI_PL022=y
 CONFIG_SPI_QUP=y
 CONFIG_PINCTRL_MSM8916=y
 CONFIG_GPIO_PL061=y
+CONFIG_GPIO_RCAR=y
 CONFIG_GPIO_XGENE=y
 CONFIG_POWER_RESET_XGENE=y
 CONFIG_POWER_RESET_SYSCON=y
-- 
2.1.4


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [PATCH 2/5] arm64: defconfig: enable EthernetAVB
  2015-11-27  1:54 [GIT PULL] Second Round of Renesas ARM64 Based SoC Defconfig Updates for v4.5 Simon Horman
  2015-11-27  1:54 ` [PATCH 1/5] arm64: defconfig: Enable GPIO of Renesas R-Car Gen3 SoC Simon Horman
@ 2015-11-27  1:54 ` Simon Horman
  2015-11-27  1:55 ` [PATCH 3/5] arm64: defconfig: Enable Renesas R-Car I2C Controller Simon Horman
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 30+ messages in thread
From: Simon Horman @ 2015-11-27  1:54 UTC (permalink / raw)
  To: linux-arm-kernel

This is present on the Renesas r8a7795 SoC and may be
used by the Salvator-X board.

Also enable MICREL_PHY which is used on the Salvator-X board.

Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 arch/arm64/configs/defconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 206dfd99295c..a7776cd9ffca 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -100,8 +100,10 @@ CONFIG_TUN=y
 CONFIG_VIRTIO_NET=y
 CONFIG_NET_XGENE=y
 CONFIG_SKY2=y
+CONFIG_RAVB=y
 CONFIG_SMC91X=y
 CONFIG_SMSC911X=y
+CONFIG_MICREL_PHY=y
 # CONFIG_WLAN is not set
 CONFIG_INPUT_EVDEV=y
 CONFIG_KEYBOARD_GPIO=y
-- 
2.1.4


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [PATCH 3/5] arm64: defconfig: Enable Renesas R-Car I2C Controller
  2015-11-27  1:54 [GIT PULL] Second Round of Renesas ARM64 Based SoC Defconfig Updates for v4.5 Simon Horman
  2015-11-27  1:54 ` [PATCH 1/5] arm64: defconfig: Enable GPIO of Renesas R-Car Gen3 SoC Simon Horman
  2015-11-27  1:54 ` [PATCH 2/5] arm64: defconfig: enable EthernetAVB Simon Horman
@ 2015-11-27  1:55 ` Simon Horman
  2015-11-27  1:55 ` [PATCH 4/5] arm64: defconfig: add Renesas R-Car DMAC driver support Simon Horman
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 30+ messages in thread
From: Simon Horman @ 2015-11-27  1:55 UTC (permalink / raw)
  To: linux-arm-kernel

From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index a7776cd9ffca..6b1e284c9f8c 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -132,6 +132,7 @@ CONFIG_VIRTIO_CONSOLE=y
 # CONFIG_HW_RANDOM is not set
 CONFIG_I2C=y
 CONFIG_I2C_QUP=y
+CONFIG_I2C_RCAR=y
 CONFIG_SPI=y
 CONFIG_SPI_PL022=y
 CONFIG_SPI_QUP=y
-- 
2.1.4


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [PATCH 4/5] arm64: defconfig: add Renesas R-Car DMAC driver support
  2015-11-27  1:54 [GIT PULL] Second Round of Renesas ARM64 Based SoC Defconfig Updates for v4.5 Simon Horman
                   ` (2 preceding siblings ...)
  2015-11-27  1:55 ` [PATCH 3/5] arm64: defconfig: Enable Renesas R-Car I2C Controller Simon Horman
@ 2015-11-27  1:55 ` Simon Horman
  2015-11-27  1:55 ` [PATCH 5/5] arm64: defconfig: add Renesas sound and AK4613 support Simon Horman
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 30+ messages in thread
From: Simon Horman @ 2015-11-27  1:55 UTC (permalink / raw)
  To: linux-arm-kernel

From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 6b1e284c9f8c..f97d74081480 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -179,6 +179,7 @@ CONFIG_RTC_CLASS=y
 CONFIG_RTC_DRV_EFI=y
 CONFIG_RTC_DRV_XGENE=y
 CONFIG_DMADEVICES=y
+CONFIG_RCAR_DMAC=y
 CONFIG_QCOM_BAM_DMA=y
 CONFIG_VIRTIO_PCI=y
 CONFIG_VIRTIO_BALLOON=y
-- 
2.1.4


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [PATCH 5/5] arm64: defconfig: add Renesas sound and AK4613 support
  2015-11-27  1:54 [GIT PULL] Second Round of Renesas ARM64 Based SoC Defconfig Updates for v4.5 Simon Horman
                   ` (3 preceding siblings ...)
  2015-11-27  1:55 ` [PATCH 4/5] arm64: defconfig: add Renesas R-Car DMAC driver support Simon Horman
@ 2015-11-27  1:55 ` Simon Horman
  2015-11-27  1:55 ` [GIT PULL] Second Round of Renesas ARM64 Based SoC DT Updates for v4.5 Simon Horman
  2015-12-12  0:08 ` [GIT PULL] Second Round of Renesas ARM64 Based SoC Defconfig " Arnd Bergmann
  6 siblings, 0 replies; 30+ messages in thread
From: Simon Horman @ 2015-11-27  1:55 UTC (permalink / raw)
  To: linux-arm-kernel

From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm64/configs/defconfig | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index f97d74081480..2b0a9dc0ca44 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -152,6 +152,11 @@ CONFIG_FRAMEBUFFER_CONSOLE=y
 CONFIG_LOGO=y
 # CONFIG_LOGO_LINUX_MONO is not set
 # CONFIG_LOGO_LINUX_VGA16 is not set
+CONFIG_SOUND=y
+CONFIG_SND=y
+CONFIG_SND_SOC=y
+CONFIG_SND_SOC_RCAR=y
+CONFIG_SND_SOC_AK4613=y
 CONFIG_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_EHCI_HCD_PLATFORM=y
-- 
2.1.4


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [PATCH 01/18] arm64: dts: r8a7795: add GPIO nodes
  2015-11-27  1:55 ` [GIT PULL] Second Round of Renesas ARM64 Based SoC DT Updates for v4.5 Simon Horman
@ 2015-11-27  1:55   ` Simon Horman
  2015-11-27  1:55   ` [PATCH 02/18] arm64: dts: r8a7795: add EthernetAVB device node Simon Horman
                     ` (17 subsequent siblings)
  18 siblings, 0 replies; 30+ messages in thread
From: Simon Horman @ 2015-11-27  1:55 UTC (permalink / raw)
  To: linux-arm-kernel

From: Takeshi Kihara <takeshi.kihara.df@renesas.com>

Signed-off-by: Takeshi Kihara <takeshi.kihara.df@renesas.com>
Signed-off-by: Ulrich Hecht <ulrich.hecht+renesas@gmail.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 arch/arm64/boot/dts/renesas/r8a7795.dtsi | 112 +++++++++++++++++++++++++++++++
 1 file changed, 112 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
index e26eecf1230f..44967a8f00ac 100644
--- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
@@ -60,6 +60,118 @@
 					(GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_HIGH)>;
 		};
 
+		gpio0: gpio@e6050000 {
+			compatible = "renesas,gpio-r8a7795",
+				     "renesas,gpio-rcar";
+			reg = <0 0xe6050000 0 0x50>;
+			interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
+			#gpio-cells = <2>;
+			gpio-controller;
+			gpio-ranges = <&pfc 0 0 16>;
+			#interrupt-cells = <2>;
+			interrupt-controller;
+			clocks = <&cpg CPG_MOD 912>;
+			power-domains = <&cpg>;
+		};
+
+		gpio1: gpio@e6051000 {
+			compatible = "renesas,gpio-r8a7795",
+				     "renesas,gpio-rcar";
+			reg = <0 0xe6051000 0 0x50>;
+			interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
+			#gpio-cells = <2>;
+			gpio-controller;
+			gpio-ranges = <&pfc 0 32 28>;
+			#interrupt-cells = <2>;
+			interrupt-controller;
+			clocks = <&cpg CPG_MOD 911>;
+			power-domains = <&cpg>;
+		};
+
+		gpio2: gpio@e6052000 {
+			compatible = "renesas,gpio-r8a7795",
+				     "renesas,gpio-rcar";
+			reg = <0 0xe6052000 0 0x50>;
+			interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
+			#gpio-cells = <2>;
+			gpio-controller;
+			gpio-ranges = <&pfc 0 64 15>;
+			#interrupt-cells = <2>;
+			interrupt-controller;
+			clocks = <&cpg CPG_MOD 910>;
+			power-domains = <&cpg>;
+		};
+
+		gpio3: gpio@e6053000 {
+			compatible = "renesas,gpio-r8a7795",
+				     "renesas,gpio-rcar";
+			reg = <0 0xe6053000 0 0x50>;
+			interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
+			#gpio-cells = <2>;
+			gpio-controller;
+			gpio-ranges = <&pfc 0 96 16>;
+			#interrupt-cells = <2>;
+			interrupt-controller;
+			clocks = <&cpg CPG_MOD 909>;
+			power-domains = <&cpg>;
+		};
+
+		gpio4: gpio@e6054000 {
+			compatible = "renesas,gpio-r8a7795",
+				     "renesas,gpio-rcar";
+			reg = <0 0xe6054000 0 0x50>;
+			interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
+			#gpio-cells = <2>;
+			gpio-controller;
+			gpio-ranges = <&pfc 0 128 18>;
+			#interrupt-cells = <2>;
+			interrupt-controller;
+			clocks = <&cpg CPG_MOD 908>;
+			power-domains = <&cpg>;
+		};
+
+		gpio5: gpio@e6055000 {
+			compatible = "renesas,gpio-r8a7795",
+				     "renesas,gpio-rcar";
+			reg = <0 0xe6055000 0 0x50>;
+			interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
+			#gpio-cells = <2>;
+			gpio-controller;
+			gpio-ranges = <&pfc 0 160 26>;
+			#interrupt-cells = <2>;
+			interrupt-controller;
+			clocks = <&cpg CPG_MOD 907>;
+			power-domains = <&cpg>;
+		};
+
+		gpio6: gpio@e6055400 {
+			compatible = "renesas,gpio-r8a7795",
+				     "renesas,gpio-rcar";
+			reg = <0 0xe6055400 0 0x50>;
+			interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
+			#gpio-cells = <2>;
+			gpio-controller;
+			gpio-ranges = <&pfc 0 192 32>;
+			#interrupt-cells = <2>;
+			interrupt-controller;
+			clocks = <&cpg CPG_MOD 906>;
+			power-domains = <&cpg>;
+		};
+
+		gpio7: gpio@e6055800 {
+			compatible = "renesas,gpio-r8a7795",
+				     "renesas,gpio-rcar";
+			reg = <0 0xe6055800 0 0x50>;
+			interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
+			#gpio-cells = <2>;
+			gpio-controller;
+			gpio-ranges = <&pfc 0 224 4>;
+			#interrupt-cells = <2>;
+			interrupt-controller;
+			clocks = <&cpg CPG_MOD 905>;
+			power-domains = <&cpg>;
+		};
+
 		timer {
 			compatible = "arm,armv8-timer";
 			interrupts = <GIC_PPI 13
-- 
2.1.4


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [PATCH 02/18] arm64: dts: r8a7795: add EthernetAVB device node
  2015-11-27  1:55 ` [GIT PULL] Second Round of Renesas ARM64 Based SoC DT Updates for v4.5 Simon Horman
  2015-11-27  1:55   ` [PATCH 01/18] arm64: dts: r8a7795: add GPIO nodes Simon Horman
@ 2015-11-27  1:55   ` Simon Horman
  2015-11-27  1:55   ` [PATCH 03/18] arm64: dts: r8a7795: enable EthernetAVB on Salvator-X Simon Horman
                     ` (16 subsequent siblings)
  18 siblings, 0 replies; 30+ messages in thread
From: Simon Horman @ 2015-11-27  1:55 UTC (permalink / raw)
  To: linux-arm-kernel

From: Kazuya Mizuguchi <kazuya.mizuguchi.ks@renesas.com>

Signed-off-by: Kazuya Mizuguchi <kazuya.mizuguchi.ks@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 arch/arm64/boot/dts/renesas/r8a7795.dtsi | 42 ++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
index 44967a8f00ac..2b22cbfb13f3 100644
--- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
@@ -210,6 +210,48 @@
 			/* Empty node for now */
 		};
 
+		avb: ethernet@e6800000 {
+			compatible = "renesas,etheravb-r8a7795";
+			reg = <0 0xe6800000 0 0x800>, <0 0xe6a00000 0 0x10000>;
+			interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
+			interrupt-names = "ch0", "ch1", "ch2", "ch3",
+					  "ch4", "ch5", "ch6", "ch7",
+					  "ch8", "ch9", "ch10", "ch11",
+					  "ch12", "ch13", "ch14", "ch15",
+					  "ch16", "ch17", "ch18", "ch19",
+					  "ch20", "ch21", "ch22", "ch23",
+					  "ch24";
+			clocks = <&cpg CPG_MOD 812>;
+			power-domains = <&cpg>;
+			phy-mode = "rgmii-id";
+			#address-cells = <1>;
+			#size-cells = <0>;
+		};
+
 		scif0: serial@e6e60000 {
 			compatible = "renesas,scif-r8a7795", "renesas,scif";
 			reg = <0 0xe6e60000 0 64>;
-- 
2.1.4


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [PATCH 03/18] arm64: dts: r8a7795: enable EthernetAVB on Salvator-X
  2015-11-27  1:55 ` [GIT PULL] Second Round of Renesas ARM64 Based SoC DT Updates for v4.5 Simon Horman
  2015-11-27  1:55   ` [PATCH 01/18] arm64: dts: r8a7795: add GPIO nodes Simon Horman
  2015-11-27  1:55   ` [PATCH 02/18] arm64: dts: r8a7795: add EthernetAVB device node Simon Horman
@ 2015-11-27  1:55   ` Simon Horman
  2015-11-27  1:55   ` [PATCH 04/18] arm64: dts: r8a7795: enable nfs root on Salvator-X board Simon Horman
                     ` (15 subsequent siblings)
  18 siblings, 0 replies; 30+ messages in thread
From: Simon Horman @ 2015-11-27  1:55 UTC (permalink / raw)
  To: linux-arm-kernel

From: Kazuya Mizuguchi <kazuya.mizuguchi.ks@renesas.com>

Signed-off-by: Kazuya Mizuguchi <kazuya.mizuguchi.ks@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 31 ++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
index a3db98384e53..afdf53874da1 100644
--- a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
+++ b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
@@ -45,6 +45,11 @@
 		renesas,groups = "scif2_data_a";
 		renesas,function = "scif2";
 	};
+
+	avb_pins: avb {
+		renesas,groups = "avb_mdc";
+		renesas,function = "avb";
+	};
 };
 
 &scif1 {
@@ -60,3 +65,29 @@
 
 	status = "okay";
 };
+
+&avb {
+	pinctrl-0 = <&avb_pins>;
+	pinctrl-names = "default";
+	renesas,no-ether-link;
+	phy-handle = <&phy0>;
+	status = "okay";
+
+	phy0: ethernet-phy@0 {
+		rxc-skew-ps = <900>;
+		rxdv-skew-ps = <0>;
+		rxd0-skew-ps = <0>;
+		rxd1-skew-ps = <0>;
+		rxd2-skew-ps = <0>;
+		rxd3-skew-ps = <0>;
+		txc-skew-ps = <900>;
+		txen-skew-ps = <0>;
+		txd0-skew-ps = <0>;
+		txd1-skew-ps = <0>;
+		txd2-skew-ps = <0>;
+		txd3-skew-ps = <0>;
+		reg = <0>;
+		interrupt-parent = <&gpio2>;
+		interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
+	};
+};
-- 
2.1.4


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [PATCH 04/18] arm64: dts: r8a7795: enable nfs root on Salvator-X board
  2015-11-27  1:55 ` [GIT PULL] Second Round of Renesas ARM64 Based SoC DT Updates for v4.5 Simon Horman
                     ` (2 preceding siblings ...)
  2015-11-27  1:55   ` [PATCH 03/18] arm64: dts: r8a7795: enable EthernetAVB on Salvator-X Simon Horman
@ 2015-11-27  1:55   ` Simon Horman
  2015-11-27  1:55   ` [PATCH 05/18] arm64: renesas: salvator-x: Setup ethernet0 alias for U-Boot Simon Horman
                     ` (14 subsequent siblings)
  18 siblings, 0 replies; 30+ messages in thread
From: Simon Horman @ 2015-11-27  1:55 UTC (permalink / raw)
  To: linux-arm-kernel

As has been the practice for boards for 32bit ARM Renesas SoCs

Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
index afdf53874da1..548f93f983a2 100644
--- a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
+++ b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
@@ -21,7 +21,7 @@
 	};
 
 	chosen {
-		bootargs = "ignore_loglevel";
+		bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp";
 		stdout-path = "serial0:115200n8";
 	};
 
-- 
2.1.4


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [PATCH 05/18] arm64: renesas: salvator-x: Setup ethernet0 alias for U-Boot
  2015-11-27  1:55 ` [GIT PULL] Second Round of Renesas ARM64 Based SoC DT Updates for v4.5 Simon Horman
                     ` (3 preceding siblings ...)
  2015-11-27  1:55   ` [PATCH 04/18] arm64: dts: r8a7795: enable nfs root on Salvator-X board Simon Horman
@ 2015-11-27  1:55   ` Simon Horman
  2015-11-27  1:55   ` [PATCH 06/18] arm64: renesas: r8a7795: add I2C support Simon Horman
                     ` (13 subsequent siblings)
  18 siblings, 0 replies; 30+ messages in thread
From: Simon Horman @ 2015-11-27  1:55 UTC (permalink / raw)
  To: linux-arm-kernel

From: Geert Uytterhoeven <geert+renesas@glider.be>

Add an ethernet0 alias for the wired network card so that U-Boot can
find the device-node and add an appropriate "local-mac-address"
property.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
index 548f93f983a2..35ebb063bff6 100644
--- a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
+++ b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
@@ -18,6 +18,7 @@
 	aliases {
 		serial0 = &scif2;
 		serial1 = &scif1;
+		ethernet0 = &avb;
 	};
 
 	chosen {
-- 
2.1.4


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [PATCH 06/18] arm64: renesas: r8a7795: add I2C support
  2015-11-27  1:55 ` [GIT PULL] Second Round of Renesas ARM64 Based SoC DT Updates for v4.5 Simon Horman
                     ` (4 preceding siblings ...)
  2015-11-27  1:55   ` [PATCH 05/18] arm64: renesas: salvator-x: Setup ethernet0 alias for U-Boot Simon Horman
@ 2015-11-27  1:55   ` Simon Horman
  2015-11-27  8:17     ` Geert Uytterhoeven
  2015-11-27  1:55   ` [PATCH 07/18] arm64: renesas: salvator-x: enable I2C Simon Horman
                     ` (12 subsequent siblings)
  18 siblings, 1 reply; 30+ messages in thread
From: Simon Horman @ 2015-11-27  1:55 UTC (permalink / raw)
  To: linux-arm-kernel

From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
[geert: aAdd clock-output-names properties]
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 arch/arm64/boot/dts/renesas/r8a7795.dtsi | 87 ++++++++++++++++++++++++++++++++
 1 file changed, 87 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
index 2b22cbfb13f3..c01a7e4f59a4 100644
--- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
@@ -16,6 +16,16 @@
 	#address-cells = <2>;
 	#size-cells = <2>;
 
+	aliases {
+		i2c0 = &i2c0;
+		i2c1 = &i2c1;
+		i2c2 = &i2c2;
+		i2c3 = &i2c3;
+		i2c4 = &i2c4;
+		i2c5 = &i2c5;
+		i2c6 = &i2c6;
+	};
+
 	cpus {
 		#address-cells = <1>;
 		#size-cells = <0>;
@@ -323,5 +333,82 @@
 			power-domains = <&cpg>;
 			status = "disabled";
 		};
+
+		i2c0: i2c@e6500000 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			compatible = "renesas,i2c-r8a7795";
+			reg = <0 0xe6500000 0 0x40>;
+			interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 931>;
+			power-domains = <&cpg>;
+			status = "disabled";
+		};
+
+		i2c1: i2c@e6508000 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			compatible = "renesas,i2c-r8a7795";
+			reg = <0 0xe6508000 0 0x40>;
+			interrupts = <GIC_SPI 288 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 930>;
+			power-domains = <&cpg>;
+			status = "disabled";
+		};
+
+		i2c2: i2c@e6510000 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			compatible = "renesas,i2c-r8a7795";
+			reg = <0 0xe6510000 0 0x40>;
+			interrupts = <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 929>;
+			power-domains = <&cpg>;
+			status = "disabled";
+		};
+
+		i2c3: i2c@e66d0000 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			compatible = "renesas,i2c-r8a7795";
+			reg = <0 0xe66d0000 0 0x40>;
+			interrupts = <GIC_SPI 290 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 928>;
+			power-domains = <&cpg>;
+			status = "disabled";
+		};
+
+		i2c4: i2c@e66d8000 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			compatible = "renesas,i2c-r8a7795";
+			reg = <0 0xe66d8000 0 0x40>;
+			interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 927>;
+			power-domains = <&cpg>;
+			status = "disabled";
+		};
+
+		i2c5: i2c@e66e0000 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			compatible = "renesas,i2c-r8a7795";
+			reg = <0 0xe66e0000 0 0x40>;
+			interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 919>;
+			power-domains = <&cpg>;
+			status = "disabled";
+		};
+
+		i2c6: i2c@e66e8000 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			compatible = "renesas,i2c-r8a7795";
+			reg = <0 0xe66e8000 0 0x40>;
+			interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 918>;
+			power-domains = <&cpg>;
+			status = "disabled";
+		};
 	};
 };
-- 
2.1.4


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [PATCH 07/18] arm64: renesas: salvator-x: enable I2C
  2015-11-27  1:55 ` [GIT PULL] Second Round of Renesas ARM64 Based SoC DT Updates for v4.5 Simon Horman
                     ` (5 preceding siblings ...)
  2015-11-27  1:55   ` [PATCH 06/18] arm64: renesas: r8a7795: add I2C support Simon Horman
@ 2015-11-27  1:55   ` Simon Horman
  2015-11-27  1:55   ` [PATCH 08/18] arm64: renesas: r8a7795 dtsi: Add all HSCIF nodes Simon Horman
                     ` (11 subsequent siblings)
  18 siblings, 0 replies; 30+ messages in thread
From: Simon Horman @ 2015-11-27  1:55 UTC (permalink / raw)
  To: linux-arm-kernel

From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
index 35ebb063bff6..d829fdae3c56 100644
--- a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
+++ b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
@@ -47,6 +47,11 @@
 		renesas,function = "scif2";
 	};
 
+	i2c2_pins: i2c2 {
+		renesas,groups = "i2c2_a";
+		renesas,function = "i2c2";
+	};
+
 	avb_pins: avb {
 		renesas,groups = "avb_mdc";
 		renesas,function = "avb";
@@ -67,6 +72,13 @@
 	status = "okay";
 };
 
+&i2c2 {
+	pinctrl-0 = <&i2c2_pins>;
+	pinctrl-names = "default";
+
+	status = "okay";
+};
+
 &avb {
 	pinctrl-0 = <&avb_pins>;
 	pinctrl-names = "default";
-- 
2.1.4


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [PATCH 08/18] arm64: renesas: r8a7795 dtsi: Add all HSCIF nodes
  2015-11-27  1:55 ` [GIT PULL] Second Round of Renesas ARM64 Based SoC DT Updates for v4.5 Simon Horman
                     ` (6 preceding siblings ...)
  2015-11-27  1:55   ` [PATCH 07/18] arm64: renesas: salvator-x: enable I2C Simon Horman
@ 2015-11-27  1:55   ` Simon Horman
  2015-11-27  1:55   ` [PATCH 09/18] arm64: renesas: r8a7795: add AUDIO_DMAC support Simon Horman
                     ` (10 subsequent siblings)
  18 siblings, 0 replies; 30+ messages in thread
From: Simon Horman @ 2015-11-27  1:55 UTC (permalink / raw)
  To: linux-arm-kernel

From: Geert Uytterhoeven <geert+renesas@glider.be>

Add the device nodes for all HSCIF serial ports, incl. clocks, clock
domain, and dma properties.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm64/boot/dts/renesas/r8a7795.dtsi | 60 ++++++++++++++++++++++++++++++++
 1 file changed, 60 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
index c01a7e4f59a4..348baebffeac 100644
--- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
@@ -262,6 +262,66 @@
 			#size-cells = <0>;
 		};
 
+		hscif0: serial@e6540000 {
+			compatible = "renesas,hscif-r8a7795", "renesas,hscif";
+			reg = <0 0xe6540000 0 96>;
+			interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 520>;
+			clock-names = "sci_ick";
+			dmas = <&dmac1 0x31>, <&dmac1 0x30>;
+			dma-names = "tx", "rx";
+			power-domains = <&cpg>;
+			status = "disabled";
+		};
+
+		hscif1: serial@e6550000 {
+			compatible = "renesas,hscif-r8a7795", "renesas,hscif";
+			reg = <0 0xe6550000 0 96>;
+			interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 519>;
+			clock-names = "sci_ick";
+			dmas = <&dmac1 0x33>, <&dmac1 0x32>;
+			dma-names = "tx", "rx";
+			power-domains = <&cpg>;
+			status = "disabled";
+		};
+
+		hscif2: serial@e6560000 {
+			compatible = "renesas,hscif-r8a7795", "renesas,hscif";
+			reg = <0 0xe6560000 0 96>;
+			interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 518>;
+			clock-names = "sci_ick";
+			dmas = <&dmac1 0x35>, <&dmac1 0x34>;
+			dma-names = "tx", "rx";
+			power-domains = <&cpg>;
+			status = "disabled";
+		};
+
+		hscif3: serial@e66a0000 {
+			compatible = "renesas,hscif-r8a7795", "renesas,hscif";
+			reg = <0 0xe66a0000 0 96>;
+			interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 517>;
+			clock-names = "sci_ick";
+			dmas = <&dmac0 0x37>, <&dmac0 0x36>;
+			dma-names = "tx", "rx";
+			power-domains = <&cpg>;
+			status = "disabled";
+		};
+
+		hscif4: serial@e66b0000 {
+			compatible = "renesas,hscif-r8a7795", "renesas,hscif";
+			reg = <0 0xe66b0000 0 96>;
+			interrupts = <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 516>;
+			clock-names = "sci_ick";
+			dmas = <&dmac0 0x39>, <&dmac0 0x38>;
+			dma-names = "tx", "rx";
+			power-domains = <&cpg>;
+			status = "disabled";
+		};
+
 		scif0: serial@e6e60000 {
 			compatible = "renesas,scif-r8a7795", "renesas,scif";
 			reg = <0 0xe6e60000 0 64>;
-- 
2.1.4


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [PATCH 09/18] arm64: renesas: r8a7795: add AUDIO_DMAC support
  2015-11-27  1:55 ` [GIT PULL] Second Round of Renesas ARM64 Based SoC DT Updates for v4.5 Simon Horman
                     ` (7 preceding siblings ...)
  2015-11-27  1:55   ` [PATCH 08/18] arm64: renesas: r8a7795 dtsi: Add all HSCIF nodes Simon Horman
@ 2015-11-27  1:55   ` Simon Horman
  2015-11-27  1:55   ` [PATCH 10/18] arm64: renesas: r8a7795: Sound SSI PIO support Simon Horman
                     ` (9 subsequent siblings)
  18 siblings, 0 replies; 30+ messages in thread
From: Simon Horman @ 2015-11-27  1:55 UTC (permalink / raw)
  To: linux-arm-kernel

From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm64/boot/dts/renesas/r8a7795.dtsi | 64 ++++++++++++++++++++++++++++++++
 1 file changed, 64 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
index 348baebffeac..2cc58114d1ef 100644
--- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
@@ -203,6 +203,70 @@
 			#power-domain-cells = <0>;
 		};
 
+		audma0: dma-controller@ec700000 {
+			compatible = "renesas,rcar-dmac";
+			reg = <0 0xec700000 0 0x10000>;
+			interrupts =	<0 350 IRQ_TYPE_LEVEL_HIGH
+					 0 320 IRQ_TYPE_LEVEL_HIGH
+					 0 321 IRQ_TYPE_LEVEL_HIGH
+					 0 322 IRQ_TYPE_LEVEL_HIGH
+					 0 323 IRQ_TYPE_LEVEL_HIGH
+					 0 324 IRQ_TYPE_LEVEL_HIGH
+					 0 325 IRQ_TYPE_LEVEL_HIGH
+					 0 326 IRQ_TYPE_LEVEL_HIGH
+					 0 327 IRQ_TYPE_LEVEL_HIGH
+					 0 328 IRQ_TYPE_LEVEL_HIGH
+					 0 329 IRQ_TYPE_LEVEL_HIGH
+					 0 330 IRQ_TYPE_LEVEL_HIGH
+					 0 331 IRQ_TYPE_LEVEL_HIGH
+					 0 332 IRQ_TYPE_LEVEL_HIGH
+					 0 333 IRQ_TYPE_LEVEL_HIGH
+					 0 334 IRQ_TYPE_LEVEL_HIGH
+					 0 335 IRQ_TYPE_LEVEL_HIGH>;
+			interrupt-names = "error",
+					"ch0", "ch1", "ch2", "ch3",
+					"ch4", "ch5", "ch6", "ch7",
+					"ch8", "ch9", "ch10", "ch11",
+					"ch12", "ch13", "ch14", "ch15";
+			clocks = <&cpg CPG_MOD 502>;
+			clock-names = "fck";
+			power-domains = <&cpg>;
+			#dma-cells = <1>;
+			dma-channels = <16>;
+		};
+
+		audma1: dma-controller@ec720000 {
+			compatible = "renesas,rcar-dmac";
+			reg = <0 0xec720000 0 0x10000>;
+			interrupts =	<0 351 IRQ_TYPE_LEVEL_HIGH
+					 0 336 IRQ_TYPE_LEVEL_HIGH
+					 0 337 IRQ_TYPE_LEVEL_HIGH
+					 0 338 IRQ_TYPE_LEVEL_HIGH
+					 0 339 IRQ_TYPE_LEVEL_HIGH
+					 0 340 IRQ_TYPE_LEVEL_HIGH
+					 0 341 IRQ_TYPE_LEVEL_HIGH
+					 0 342 IRQ_TYPE_LEVEL_HIGH
+					 0 343 IRQ_TYPE_LEVEL_HIGH
+					 0 344 IRQ_TYPE_LEVEL_HIGH
+					 0 345 IRQ_TYPE_LEVEL_HIGH
+					 0 346 IRQ_TYPE_LEVEL_HIGH
+					 0 347 IRQ_TYPE_LEVEL_HIGH
+					 0 348 IRQ_TYPE_LEVEL_HIGH
+					 0 349 IRQ_TYPE_LEVEL_HIGH
+					 0 382 IRQ_TYPE_LEVEL_HIGH
+					 0 383 IRQ_TYPE_LEVEL_HIGH>;
+			interrupt-names = "error",
+					"ch0", "ch1", "ch2", "ch3",
+					"ch4", "ch5", "ch6", "ch7",
+					"ch8", "ch9", "ch10", "ch11",
+					"ch12", "ch13", "ch14", "ch15";
+			clocks = <&cpg CPG_MOD 501>;
+			clock-names = "fck";
+			power-domains = <&cpg>;
+			#dma-cells = <1>;
+			dma-channels = <16>;
+		};
+
 		pfc: pfc@e6060000 {
 			compatible = "renesas,pfc-r8a7795";
 			reg = <0 0xe6060000 0 0x50c>;
-- 
2.1.4


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [PATCH 10/18] arm64: renesas: r8a7795: Sound SSI PIO support
  2015-11-27  1:55 ` [GIT PULL] Second Round of Renesas ARM64 Based SoC DT Updates for v4.5 Simon Horman
                     ` (8 preceding siblings ...)
  2015-11-27  1:55   ` [PATCH 09/18] arm64: renesas: r8a7795: add AUDIO_DMAC support Simon Horman
@ 2015-11-27  1:55   ` Simon Horman
  2015-11-27  1:55   ` [PATCH 11/18] arm64: renesas: r8a7795: Sound SSI DMA support Simon Horman
                     ` (8 subsequent siblings)
  18 siblings, 0 replies; 30+ messages in thread
From: Simon Horman @ 2015-11-27  1:55 UTC (permalink / raw)
  To: linux-arm-kernel

From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

This patch adds SSI for PIO sound support

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm64/boot/dts/renesas/r8a7795.dtsi | 95 ++++++++++++++++++++++++++++++++
 1 file changed, 95 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
index 2cc58114d1ef..15753f4dcf4e 100644
--- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
@@ -52,6 +52,29 @@
 		clock-frequency = <0>;
 	};
 
+	/*
+	 * The external audio clocks are configured as 0 Hz fixed frequency
+	 * clocks by default.
+	 * Boards that provide audio clocks should override them.
+	 */
+	audio_clk_a: audio_clk_a {
+		compatible = "fixed-clock";
+		#clock-cells = <0>;
+		clock-frequency = <0>;
+	};
+
+	audio_clk_b: audio_clk_b {
+		compatible = "fixed-clock";
+		#clock-cells = <0>;
+		clock-frequency = <0>;
+	};
+
+	audio_clk_c: audio_clk_c {
+		compatible = "fixed-clock";
+		#clock-cells = <0>;
+		clock-frequency = <0>;
+	};
+
 	soc {
 		compatible = "simple-bus";
 		interrupt-parent = <&gic>;
@@ -534,5 +557,77 @@
 			power-domains = <&cpg>;
 			status = "disabled";
 		};
+
+		rcar_sound: sound@ec500000 {
+			/*
+			 * #sound-dai-cells is required
+			 *
+			 * Single DAI : #sound-dai-cells = <0>;	<&rcar_sound>;
+			 * Multi  DAI : #sound-dai-cells = <1>;	<&rcar_sound N>;
+			 */
+			/*
+			 * #clock-cells is required for audio_clkout0/1/2/3
+			 *
+			 * clkout	: #clock-cells = <0>;	<&rcar_sound>;
+			 * clkout0/1/2/3: #clock-cells = <1>;	<&rcar_sound N>;
+			 */
+			compatible =  "renesas,rcar_sound-r8a7795", "renesas,rcar_sound-gen3";
+			reg =	<0 0xec500000 0 0x1000>, /* SCU */
+				<0 0xec5a0000 0 0x100>,  /* ADG */
+				<0 0xec540000 0 0x1000>, /* SSIU */
+				<0 0xec541000 0 0x280>,  /* SSI */
+				<0 0xec740000 0 0x200>;  /* Audio DMAC peri peri*/
+			reg-names = "scu", "adg", "ssiu", "ssi", "audmapp";
+
+			clocks = <&cpg CPG_MOD 1005>,
+				 <&cpg CPG_MOD 1006>, <&cpg CPG_MOD 1007>,
+				 <&cpg CPG_MOD 1008>, <&cpg CPG_MOD 1009>,
+				 <&cpg CPG_MOD 1010>, <&cpg CPG_MOD 1011>,
+				 <&cpg CPG_MOD 1012>, <&cpg CPG_MOD 1013>,
+				 <&cpg CPG_MOD 1014>, <&cpg CPG_MOD 1015>,
+				 <&audio_clk_a>, <&audio_clk_b>,
+				 <&audio_clk_c>,
+				 <&cpg CPG_CORE R8A7795_CLK_S0D4>;
+			clock-names = "ssi-all",
+				      "ssi.9", "ssi.8", "ssi.7", "ssi.6",
+				      "ssi.5", "ssi.4", "ssi.3", "ssi.2",
+				      "ssi.1", "ssi.0",
+				      "clk_a", "clk_b", "clk_c", "clk_i";
+			power-domains = <&cpg>;
+			status = "disabled";
+
+			rcar_sound,ssi {
+				ssi0: ssi@0 {
+					interrupts = <0 370 IRQ_TYPE_LEVEL_HIGH>;
+				};
+				ssi1: ssi@1 {
+					 interrupts = <0 371 IRQ_TYPE_LEVEL_HIGH>;
+				};
+				ssi2: ssi@2 {
+					interrupts = <0 372 IRQ_TYPE_LEVEL_HIGH>;
+				};
+				ssi3: ssi@3 {
+					interrupts = <0 373 IRQ_TYPE_LEVEL_HIGH>;
+				};
+				ssi4: ssi@4 {
+					interrupts = <0 374 IRQ_TYPE_LEVEL_HIGH>;
+				};
+				ssi5: ssi@5 {
+					interrupts = <0 375 IRQ_TYPE_LEVEL_HIGH>;
+				};
+				ssi6: ssi@6 {
+					interrupts = <0 376 IRQ_TYPE_LEVEL_HIGH>;
+				};
+				ssi7: ssi@7 {
+					interrupts = <0 377 IRQ_TYPE_LEVEL_HIGH>;
+				};
+				ssi8: ssi@8 {
+					interrupts = <0 378 IRQ_TYPE_LEVEL_HIGH>;
+				};
+				ssi9: ssi@9 {
+					interrupts = <0 379 IRQ_TYPE_LEVEL_HIGH>;
+				};
+			};
+		};
 	};
 };
-- 
2.1.4


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [PATCH 11/18] arm64: renesas: r8a7795: Sound SSI DMA support
  2015-11-27  1:55 ` [GIT PULL] Second Round of Renesas ARM64 Based SoC DT Updates for v4.5 Simon Horman
                     ` (9 preceding siblings ...)
  2015-11-27  1:55   ` [PATCH 10/18] arm64: renesas: r8a7795: Sound SSI PIO support Simon Horman
@ 2015-11-27  1:55   ` Simon Horman
  2015-11-27  1:55   ` [PATCH 12/18] arm64: renesas: r8a7795: Sound SRC support Simon Horman
                     ` (7 subsequent siblings)
  18 siblings, 0 replies; 30+ messages in thread
From: Simon Horman @ 2015-11-27  1:55 UTC (permalink / raw)
  To: linux-arm-kernel

From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm64/boot/dts/renesas/r8a7795.dtsi | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
index 15753f4dcf4e..5d684e961675 100644
--- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
@@ -599,33 +599,53 @@
 			rcar_sound,ssi {
 				ssi0: ssi@0 {
 					interrupts = <0 370 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x01>, <&audma1 0x02>, <&audma0 0x15>, <&audma1 0x16>;
+					dma-names = "rx", "tx", "rxu", "txu";
 				};
 				ssi1: ssi@1 {
 					 interrupts = <0 371 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x03>, <&audma1 0x04>, <&audma0 0x49>, <&audma1 0x4a>;
+					dma-names = "rx", "tx", "rxu", "txu";
 				};
 				ssi2: ssi@2 {
 					interrupts = <0 372 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x05>, <&audma1 0x06>, <&audma0 0x63>, <&audma1 0x64>;
+					dma-names = "rx", "tx", "rxu", "txu";
 				};
 				ssi3: ssi@3 {
 					interrupts = <0 373 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x07>, <&audma1 0x08>, <&audma0 0x6f>, <&audma1 0x70>;
+					dma-names = "rx", "tx", "rxu", "txu";
 				};
 				ssi4: ssi@4 {
 					interrupts = <0 374 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x09>, <&audma1 0x0a>, <&audma0 0x71>, <&audma1 0x72>;
+					dma-names = "rx", "tx", "rxu", "txu";
 				};
 				ssi5: ssi@5 {
 					interrupts = <0 375 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x0b>, <&audma1 0x0c>, <&audma0 0x73>, <&audma1 0x74>;
+					dma-names = "rx", "tx", "rxu", "txu";
 				};
 				ssi6: ssi@6 {
 					interrupts = <0 376 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x0d>, <&audma1 0x0e>, <&audma0 0x75>, <&audma1 0x76>;
+					dma-names = "rx", "tx", "rxu", "txu";
 				};
 				ssi7: ssi@7 {
 					interrupts = <0 377 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x0f>, <&audma1 0x10>, <&audma0 0x79>, <&audma1 0x7a>;
+					dma-names = "rx", "tx", "rxu", "txu";
 				};
 				ssi8: ssi@8 {
 					interrupts = <0 378 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x11>, <&audma1 0x12>, <&audma0 0x7b>, <&audma1 0x7c>;
+					dma-names = "rx", "tx", "rxu", "txu";
 				};
 				ssi9: ssi@9 {
 					interrupts = <0 379 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x13>, <&audma1 0x14>, <&audma0 0x7d>, <&audma1 0x7e>;
+					dma-names = "rx", "tx", "rxu", "txu";
 				};
 			};
 		};
-- 
2.1.4


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [PATCH 12/18] arm64: renesas: r8a7795: Sound SRC support
  2015-11-27  1:55 ` [GIT PULL] Second Round of Renesas ARM64 Based SoC DT Updates for v4.5 Simon Horman
                     ` (10 preceding siblings ...)
  2015-11-27  1:55   ` [PATCH 11/18] arm64: renesas: r8a7795: Sound SSI DMA support Simon Horman
@ 2015-11-27  1:55   ` Simon Horman
  2015-11-27  1:55   ` [PATCH 13/18] arm64: renesas: r8a7795: Sound DVC support Simon Horman
                     ` (6 subsequent siblings)
  18 siblings, 0 replies; 30+ messages in thread
From: Simon Horman @ 2015-11-27  1:55 UTC (permalink / raw)
  To: linux-arm-kernel

From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm64/boot/dts/renesas/r8a7795.dtsi | 61 ++++++++++++++++++++++++++++++++
 1 file changed, 61 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
index 5d684e961675..c3b2089de531 100644
--- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
@@ -585,6 +585,11 @@
 				 <&cpg CPG_MOD 1010>, <&cpg CPG_MOD 1011>,
 				 <&cpg CPG_MOD 1012>, <&cpg CPG_MOD 1013>,
 				 <&cpg CPG_MOD 1014>, <&cpg CPG_MOD 1015>,
+				 <&cpg CPG_MOD 1022>, <&cpg CPG_MOD 1023>,
+				 <&cpg CPG_MOD 1024>, <&cpg CPG_MOD 1025>,
+				 <&cpg CPG_MOD 1026>, <&cpg CPG_MOD 1027>,
+				 <&cpg CPG_MOD 1028>, <&cpg CPG_MOD 1029>,
+				 <&cpg CPG_MOD 1030>, <&cpg CPG_MOD 1031>,
 				 <&audio_clk_a>, <&audio_clk_b>,
 				 <&audio_clk_c>,
 				 <&cpg CPG_CORE R8A7795_CLK_S0D4>;
@@ -592,10 +597,66 @@
 				      "ssi.9", "ssi.8", "ssi.7", "ssi.6",
 				      "ssi.5", "ssi.4", "ssi.3", "ssi.2",
 				      "ssi.1", "ssi.0",
+				      "src.9", "src.8", "src.7", "src.6",
+				      "src.5", "src.4", "src.3", "src.2",
+				      "src.1", "src.0",
 				      "clk_a", "clk_b", "clk_c", "clk_i";
 			power-domains = <&cpg>;
 			status = "disabled";
 
+			rcar_sound,src {
+				src0: src@0 {
+					interrupts = <0 352 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x85>, <&audma1 0x9a>;
+					dma-names = "rx", "tx";
+				};
+				src1: src@1 {
+					interrupts = <0 353 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x87>, <&audma1 0x9c>;
+					dma-names = "rx", "tx";
+				};
+				src2: src@2 {
+					interrupts = <0 354 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x89>, <&audma1 0x9e>;
+					dma-names = "rx", "tx";
+				};
+				src3: src@3 {
+					interrupts = <0 355 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x8b>, <&audma1 0xa0>;
+					dma-names = "rx", "tx";
+				};
+				src4: src@4 {
+					interrupts = <0 356 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x8d>, <&audma1 0xb0>;
+					dma-names = "rx", "tx";
+				};
+				src5: src@5 {
+					interrupts = <0 357 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x8f>, <&audma1 0xb2>;
+					dma-names = "rx", "tx";
+				};
+				src6: src@6 {
+					interrupts = <0 358 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x91>, <&audma1 0xb4>;
+					dma-names = "rx", "tx";
+				};
+				src7: src@7 {
+					interrupts = <0 359 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x93>, <&audma1 0xb6>;
+					dma-names = "rx", "tx";
+				};
+				src8: src@8 {
+					interrupts = <0 360 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x95>, <&audma1 0xb8>;
+					dma-names = "rx", "tx";
+				};
+				src9: src@9 {
+					interrupts = <0 361 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x97>, <&audma1 0xba>;
+					dma-names = "rx", "tx";
+				};
+			};
+
 			rcar_sound,ssi {
 				ssi0: ssi@0 {
 					interrupts = <0 370 IRQ_TYPE_LEVEL_HIGH>;
-- 
2.1.4


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [PATCH 13/18] arm64: renesas: r8a7795: Sound DVC support
  2015-11-27  1:55 ` [GIT PULL] Second Round of Renesas ARM64 Based SoC DT Updates for v4.5 Simon Horman
                     ` (11 preceding siblings ...)
  2015-11-27  1:55   ` [PATCH 12/18] arm64: renesas: r8a7795: Sound SRC support Simon Horman
@ 2015-11-27  1:55   ` Simon Horman
  2015-11-27  1:55   ` [PATCH 14/18] arm64: renesas: salvator-x: Sound SSI PIO support Simon Horman
                     ` (5 subsequent siblings)
  18 siblings, 0 replies; 30+ messages in thread
From: Simon Horman @ 2015-11-27  1:55 UTC (permalink / raw)
  To: linux-arm-kernel

From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm64/boot/dts/renesas/r8a7795.dtsi | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
index c3b2089de531..b1902ea1dae4 100644
--- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
@@ -590,6 +590,7 @@
 				 <&cpg CPG_MOD 1026>, <&cpg CPG_MOD 1027>,
 				 <&cpg CPG_MOD 1028>, <&cpg CPG_MOD 1029>,
 				 <&cpg CPG_MOD 1030>, <&cpg CPG_MOD 1031>,
+				 <&cpg CPG_MOD 1019>, <&cpg CPG_MOD 1018>,
 				 <&audio_clk_a>, <&audio_clk_b>,
 				 <&audio_clk_c>,
 				 <&cpg CPG_CORE R8A7795_CLK_S0D4>;
@@ -600,10 +601,22 @@
 				      "src.9", "src.8", "src.7", "src.6",
 				      "src.5", "src.4", "src.3", "src.2",
 				      "src.1", "src.0",
+				      "dvc.0", "dvc.1",
 				      "clk_a", "clk_b", "clk_c", "clk_i";
 			power-domains = <&cpg>;
 			status = "disabled";
 
+			rcar_sound,dvc {
+				dvc0: dvc@0 {
+					dmas = <&audma0 0xbc>;
+					dma-names = "tx";
+				};
+				dvc1: dvc@1 {
+					dmas = <&audma0 0xbe>;
+					dma-names = "tx";
+				};
+			};
+
 			rcar_sound,src {
 				src0: src@0 {
 					interrupts = <0 352 IRQ_TYPE_LEVEL_HIGH>;
-- 
2.1.4


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [PATCH 14/18] arm64: renesas: salvator-x: Sound SSI PIO support
  2015-11-27  1:55 ` [GIT PULL] Second Round of Renesas ARM64 Based SoC DT Updates for v4.5 Simon Horman
                     ` (12 preceding siblings ...)
  2015-11-27  1:55   ` [PATCH 13/18] arm64: renesas: r8a7795: Sound DVC support Simon Horman
@ 2015-11-27  1:55   ` Simon Horman
  2015-11-27  1:55   ` [PATCH 15/18] arm64: renesas: salvator-x: Sound SSI DMA support Simon Horman
                     ` (4 subsequent siblings)
  18 siblings, 0 replies; 30+ messages in thread
From: Simon Horman @ 2015-11-27  1:55 UTC (permalink / raw)
  To: linux-arm-kernel

From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

This patch adds PIO sound support for Salvator-X board.
It can use 44.1kHz base sound only at this point, since 48kHz base
sound needs CS2000, but it is not yet upstreamed.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 76 ++++++++++++++++++++++
 1 file changed, 76 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
index d829fdae3c56..90ca7faa629c 100644
--- a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
+++ b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
@@ -31,6 +31,28 @@
 		/* first 128MB is reserved for secure area. */
 		reg = <0x0 0x48000000 0x0 0x38000000>;
 	};
+
+	x12_clk: x12_clk {
+		compatible = "fixed-clock";
+		#clock-cells = <0>;
+		clock-frequency = <24576000>;
+	};
+
+	rsnd_ak4613: sound {
+		compatible = "simple-audio-card";
+
+		simple-audio-card,format = "left_j";
+		simple-audio-card,bitclock-master = <&sndcpu>;
+		simple-audio-card,frame-master = <&sndcpu>;
+
+		sndcpu: simple-audio-card,cpu {
+			sound-dai = <&rcar_sound>;
+		};
+
+		sndcodec: simple-audio-card,codec {
+			sound-dai = <&ak4613>;
+		};
+	};
 };
 
 &extal_clk {
@@ -56,6 +78,17 @@
 		renesas,groups = "avb_mdc";
 		renesas,function = "avb";
 	};
+
+	sound_pins: sound {
+		renesas,groups = "ssi01239_ctrl", "ssi0_data", "ssi1_data_a";
+		renesas,function = "ssi";
+	};
+
+	sound_clk_pins: sound_clk {
+		renesas,groups = "audio_clk_a_a", "audio_clk_b_a", "audio_clk_c_a",
+				 "audio_clkout_a", "audio_clkout3_a";
+		renesas,function = "audio_clk";
+	};
 };
 
 &scif1 {
@@ -77,6 +110,49 @@
 	pinctrl-names = "default";
 
 	status = "okay";
+
+	clock-frequency = <100000>;
+
+	ak4613: codec@10 {
+		compatible = "asahi-kasei,ak4613";
+		#sound-dai-cells = <0>;
+		reg = <0x10>;
+		clocks = <&rcar_sound 3>;
+	};
+};
+
+&rcar_sound {
+	pinctrl-0 = <&sound_pins &sound_clk_pins>;
+	pinctrl-names = "default";
+
+	/* Single DAI */
+	#sound-dai-cells = <0>;
+
+	/* audio_clkout0/1/2/3 */
+	#clock-cells = <1>;
+	clock-frequency = <11289600>;
+
+	status = "okay";
+
+	rcar_sound,dai {
+		dai0 {
+			playback = <&ssi0>;
+			capture  = <&ssi1>;
+		};
+	};
+};
+
+&ssi0 {
+	pio-transfer;
+};
+
+&ssi1 {
+	pio-transfer;
+	shared-pin;
+};
+
+&audio_clk_a {
+	clock-frequency = <22579200>;
 };
 
 &avb {
-- 
2.1.4


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [GIT PULL] Second Round of Renesas ARM64 Based SoC DT Updates for v4.5
  2015-11-27  1:54 [GIT PULL] Second Round of Renesas ARM64 Based SoC Defconfig Updates for v4.5 Simon Horman
                   ` (4 preceding siblings ...)
  2015-11-27  1:55 ` [PATCH 5/5] arm64: defconfig: add Renesas sound and AK4613 support Simon Horman
@ 2015-11-27  1:55 ` Simon Horman
  2015-11-27  1:55   ` [PATCH 01/18] arm64: dts: r8a7795: add GPIO nodes Simon Horman
                     ` (18 more replies)
  2015-12-12  0:08 ` [GIT PULL] Second Round of Renesas ARM64 Based SoC Defconfig " Arnd Bergmann
  6 siblings, 19 replies; 30+ messages in thread
From: Simon Horman @ 2015-11-27  1:55 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Olof, Hi Kevin, Hi Arnd,

Please consider these second round of Renesas ARM64 based SoC DT updates
for v4.5.

This pull request enables GPIO, EthernetAVB, I2C and Sound on
r8a7795/salvator-x.

This pull request is based on the previous round of
such requests, tagged as renesas-arm64-dt-for-v4.5,
which I have already sent a pull-request for.


The following changes since commit b138e11931f2fe25cf188ed62b54bc36f59a25ce:

  MAINTAINERS: Add entry for Renesas arm64 architecture (2015-11-17 02:55:03 +0900)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-arm64-dt2-for-v4.5

for you to fetch changes up to 672b79312c04016481a11d4b996b4512207ffbd3:

  arm64: renesas: salvator-x: Sound DVC support (2015-11-26 11:31:43 +0900)

----------------------------------------------------------------
Second Round of Renesas ARM64 Based SoC DT Updates for v4.5

* Enable GPIO, EthernetAVB, I2C and Sound on r8a7795/salvator-x

----------------------------------------------------------------
Geert Uytterhoeven (2):
      arm64: renesas: salvator-x: Setup ethernet0 alias for U-Boot
      arm64: renesas: r8a7795 dtsi: Add all HSCIF nodes

Kazuya Mizuguchi (2):
      arm64: dts: r8a7795: add EthernetAVB device node
      arm64: dts: r8a7795: enable EthernetAVB on Salvator-X

Kuninori Morimoto (12):
      arm64: renesas: r8a7795: add I2C support
      arm64: renesas: salvator-x: enable I2C
      arm64: renesas: r8a7795: add AUDIO_DMAC support
      arm64: renesas: r8a7795: Sound SSI PIO support
      arm64: renesas: r8a7795: Sound SSI DMA support
      arm64: renesas: r8a7795: Sound SRC support
      arm64: renesas: r8a7795: Sound DVC support
      arm64: renesas: salvator-x: Sound SSI PIO support
      arm64: renesas: salvator-x: Sound SSI DMA support
      arm64: renesas: salvator-x: Sound SSI DMA support via BUSIF
      arm64: renesas: salvator-x: Sound SRC support
      arm64: renesas: salvator-x: Sound DVC support

Simon Horman (1):
      arm64: dts: r8a7795: enable nfs root on Salvator-X board

Takeshi Kihara (1):
      arm64: dts: r8a7795: add GPIO nodes

 arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 140 +++++-
 arch/arm64/boot/dts/renesas/r8a7795.dtsi           | 554 +++++++++++++++++++++
 2 files changed, 693 insertions(+), 1 deletion(-)

^ permalink raw reply	[flat|nested] 30+ messages in thread

* [PATCH 15/18] arm64: renesas: salvator-x: Sound SSI DMA support
  2015-11-27  1:55 ` [GIT PULL] Second Round of Renesas ARM64 Based SoC DT Updates for v4.5 Simon Horman
                     ` (13 preceding siblings ...)
  2015-11-27  1:55   ` [PATCH 14/18] arm64: renesas: salvator-x: Sound SSI PIO support Simon Horman
@ 2015-11-27  1:55   ` Simon Horman
  2015-11-27  1:55   ` [PATCH 16/18] arm64: renesas: salvator-x: Sound SSI DMA support via BUSIF Simon Horman
                     ` (3 subsequent siblings)
  18 siblings, 0 replies; 30+ messages in thread
From: Simon Horman @ 2015-11-27  1:55 UTC (permalink / raw)
  To: linux-arm-kernel

From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

DMA transfer to/from SSI

     DMA
[MEM] -> [SSI]

     DMA
[MEM] <- [SSI]

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
index 90ca7faa629c..9c5fd4a32000 100644
--- a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
+++ b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
@@ -143,11 +143,11 @@
 };
 
 &ssi0 {
-	pio-transfer;
+	no-busif;
 };
 
 &ssi1 {
-	pio-transfer;
+	no-busif;
 	shared-pin;
 };
 
-- 
2.1.4


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [PATCH 16/18] arm64: renesas: salvator-x: Sound SSI DMA support via BUSIF
  2015-11-27  1:55 ` [GIT PULL] Second Round of Renesas ARM64 Based SoC DT Updates for v4.5 Simon Horman
                     ` (14 preceding siblings ...)
  2015-11-27  1:55   ` [PATCH 15/18] arm64: renesas: salvator-x: Sound SSI DMA support Simon Horman
@ 2015-11-27  1:55   ` Simon Horman
  2015-11-27  1:55   ` [PATCH 17/18] arm64: renesas: salvator-x: Sound SRC support Simon Horman
                     ` (2 subsequent siblings)
  18 siblings, 0 replies; 30+ messages in thread
From: Simon Horman @ 2015-11-27  1:55 UTC (permalink / raw)
  To: linux-arm-kernel

From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

DMA transfer to/from SSIU

     DMA
[MEM] -> [SSIU] -> [SSI]

     DMA
[MEM] <- [SSIU] <- [SSI]

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
index 9c5fd4a32000..e49e5dc6dafc 100644
--- a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
+++ b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
@@ -142,12 +142,7 @@
 	};
 };
 
-&ssi0 {
-	no-busif;
-};
-
 &ssi1 {
-	no-busif;
 	shared-pin;
 };
 
-- 
2.1.4


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [PATCH 17/18] arm64: renesas: salvator-x: Sound SRC support
  2015-11-27  1:55 ` [GIT PULL] Second Round of Renesas ARM64 Based SoC DT Updates for v4.5 Simon Horman
                     ` (15 preceding siblings ...)
  2015-11-27  1:55   ` [PATCH 16/18] arm64: renesas: salvator-x: Sound SSI DMA support via BUSIF Simon Horman
@ 2015-11-27  1:55   ` Simon Horman
  2015-11-27  1:55   ` [PATCH 18/18] arm64: renesas: salvator-x: Sound DVC support Simon Horman
  2015-12-11 23:53   ` [GIT PULL] Second Round of Renesas ARM64 Based SoC DT Updates for v4.5 Arnd Bergmann
  18 siblings, 0 replies; 30+ messages in thread
From: Simon Horman @ 2015-11-27  1:55 UTC (permalink / raw)
  To: linux-arm-kernel

From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
index e49e5dc6dafc..47bf252774d7 100644
--- a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
+++ b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
@@ -136,8 +136,8 @@
 
 	rcar_sound,dai {
 		dai0 {
-			playback = <&ssi0>;
-			capture  = <&ssi1>;
+			playback = <&ssi0 &src0>;
+			capture  = <&ssi1 &src1>;
 		};
 	};
 };
-- 
2.1.4


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [PATCH 18/18] arm64: renesas: salvator-x: Sound DVC support
  2015-11-27  1:55 ` [GIT PULL] Second Round of Renesas ARM64 Based SoC DT Updates for v4.5 Simon Horman
                     ` (16 preceding siblings ...)
  2015-11-27  1:55   ` [PATCH 17/18] arm64: renesas: salvator-x: Sound SRC support Simon Horman
@ 2015-11-27  1:55   ` Simon Horman
  2015-12-11 23:53   ` [GIT PULL] Second Round of Renesas ARM64 Based SoC DT Updates for v4.5 Arnd Bergmann
  18 siblings, 0 replies; 30+ messages in thread
From: Simon Horman @ 2015-11-27  1:55 UTC (permalink / raw)
  To: linux-arm-kernel

From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 27 ++++++++++++++++++++--
 1 file changed, 25 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
index 47bf252774d7..c5f709e7c0ba 100644
--- a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
+++ b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
@@ -8,6 +8,29 @@
  * kind, whether express or implied.
  */
 
+/*
+ * SSI-AK4613
+ *
+ * This command is required when Playback/Capture
+ *
+ *	amixer set "DVC Out" 100%
+ *	amixer set "DVC In" 100%
+ *
+ * You can use Mute
+ *
+ *	amixer set "DVC Out Mute" on
+ *	amixer set "DVC In Mute" on
+ *
+ * You can use Volume Ramp
+ *
+ *	amixer set "DVC Out Ramp Up Rate"   "0.125 dB/64 steps"
+ *	amixer set "DVC Out Ramp Down Rate" "0.125 dB/512 steps"
+ *	amixer set "DVC Out Ramp" on
+ *	aplay xxx.wav &
+ *	amixer set "DVC Out"  80%  // Volume Down
+ *	amixer set "DVC Out" 100%  // Volume Up
+ */
+
 /dts-v1/;
 #include "r8a7795.dtsi"
 
@@ -136,8 +159,8 @@
 
 	rcar_sound,dai {
 		dai0 {
-			playback = <&ssi0 &src0>;
-			capture  = <&ssi1 &src1>;
+			playback = <&ssi0 &src0 &dvc0>;
+			capture  = <&ssi1 &src1 &dvc1>;
 		};
 	};
 };
-- 
2.1.4


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* Re: [PATCH 06/18] arm64: renesas: r8a7795: add I2C support
  2015-11-27  1:55   ` [PATCH 06/18] arm64: renesas: r8a7795: add I2C support Simon Horman
@ 2015-11-27  8:17     ` Geert Uytterhoeven
  2015-11-30  0:38       ` Simon Horman
  0 siblings, 1 reply; 30+ messages in thread
From: Geert Uytterhoeven @ 2015-11-27  8:17 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, Nov 27, 2015 at 2:55 AM, Simon Horman
<horms+renesas@verge.net.au> wrote:
> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
>
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> [geert: aAdd clock-output-names properties]

That part is no longer true.

> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
> Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@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

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [PATCH 06/18] arm64: renesas: r8a7795: add I2C support
  2015-11-27  8:17     ` Geert Uytterhoeven
@ 2015-11-30  0:38       ` Simon Horman
  0 siblings, 0 replies; 30+ messages in thread
From: Simon Horman @ 2015-11-30  0:38 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, Nov 27, 2015 at 09:17:07AM +0100, Geert Uytterhoeven wrote:
> On Fri, Nov 27, 2015 at 2:55 AM, Simon Horman
> <horms+renesas@verge.net.au> wrote:
> > From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> >
> > Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> > [geert: aAdd clock-output-names properties]
> 
> That part is no longer true.

Oops. I'll drop that if there is a need to repost this pull-request.

> > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> > Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
> > Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
> 
> Gr{oetje,eeting}s,
> 
>                         Geert
> 
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@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
> 

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [GIT PULL] Second Round of Renesas ARM64 Based SoC DT Updates for v4.5
  2015-11-27  1:55 ` [GIT PULL] Second Round of Renesas ARM64 Based SoC DT Updates for v4.5 Simon Horman
                     ` (17 preceding siblings ...)
  2015-11-27  1:55   ` [PATCH 18/18] arm64: renesas: salvator-x: Sound DVC support Simon Horman
@ 2015-12-11 23:53   ` Arnd Bergmann
  18 siblings, 0 replies; 30+ messages in thread
From: Arnd Bergmann @ 2015-12-11 23:53 UTC (permalink / raw)
  To: linux-arm-kernel

On Friday 27 November 2015 10:55:32 Simon Horman wrote:
> Second Round of Renesas ARM64 Based SoC DT Updates for v4.5
> 
> * Enable GPIO, EthernetAVB, I2C and Sound on r8a7795/salvator-x
> 

Merged this into next/dt64 as well, thanks!

	Arnd 

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [GIT PULL] Second Round of Renesas ARM64 Based SoC Defconfig Updates for v4.5
  2015-11-27  1:54 [GIT PULL] Second Round of Renesas ARM64 Based SoC Defconfig Updates for v4.5 Simon Horman
                   ` (5 preceding siblings ...)
  2015-11-27  1:55 ` [GIT PULL] Second Round of Renesas ARM64 Based SoC DT Updates for v4.5 Simon Horman
@ 2015-12-12  0:08 ` Arnd Bergmann
  2015-12-12  0:16   ` Arnd Bergmann
  6 siblings, 1 reply; 30+ messages in thread
From: Arnd Bergmann @ 2015-12-12  0:08 UTC (permalink / raw)
  To: linux-arm-kernel

On Friday 27 November 2015 10:54:57 Simon Horman wrote:
> Please consider these second round of Renesas ARM64 based SoC defconfig
> updates for v4.5.
> 
> This pull request Enable Renesas sound, DMAC, I2C, EthernetAVB and GPIO for
> R-Car Gen3 r8a7795/salvator-x.
> 
> This pull request is based on the previous round of
> such requests, tagged as renesas-arm64-defconfig-for-v4.5,
> which I have already sent a pull-request for.
> 
> 

Pulled into next/dt64, thanks!

	Arnd

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [GIT PULL] Second Round of Renesas ARM64 Based SoC Defconfig Updates for v4.5
  2015-12-12  0:08 ` [GIT PULL] Second Round of Renesas ARM64 Based SoC Defconfig " Arnd Bergmann
@ 2015-12-12  0:16   ` Arnd Bergmann
  0 siblings, 0 replies; 30+ messages in thread
From: Arnd Bergmann @ 2015-12-12  0:16 UTC (permalink / raw)
  To: linux-arm-kernel

On Saturday 12 December 2015 01:08:25 Arnd Bergmann wrote:
> On Friday 27 November 2015 10:54:57 Simon Horman wrote:
> > Please consider these second round of Renesas ARM64 based SoC defconfig
> > updates for v4.5.
> > 
> > This pull request Enable Renesas sound, DMAC, I2C, EthernetAVB and GPIO for
> > R-Car Gen3 r8a7795/salvator-x.
> > 
> > This pull request is based on the previous round of
> > such requests, tagged as renesas-arm64-defconfig-for-v4.5,
> > which I have already sent a pull-request for.
> > 
> > 
> 
> Pulled into next/dt64, thanks!
> 

Sorry, my mistake. This is in next/config64 now.

	Arnd

^ permalink raw reply	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2015-12-12  0:16 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-27  1:54 [GIT PULL] Second Round of Renesas ARM64 Based SoC Defconfig Updates for v4.5 Simon Horman
2015-11-27  1:54 ` [PATCH 1/5] arm64: defconfig: Enable GPIO of Renesas R-Car Gen3 SoC Simon Horman
2015-11-27  1:54 ` [PATCH 2/5] arm64: defconfig: enable EthernetAVB Simon Horman
2015-11-27  1:55 ` [PATCH 3/5] arm64: defconfig: Enable Renesas R-Car I2C Controller Simon Horman
2015-11-27  1:55 ` [PATCH 4/5] arm64: defconfig: add Renesas R-Car DMAC driver support Simon Horman
2015-11-27  1:55 ` [PATCH 5/5] arm64: defconfig: add Renesas sound and AK4613 support Simon Horman
2015-11-27  1:55 ` [GIT PULL] Second Round of Renesas ARM64 Based SoC DT Updates for v4.5 Simon Horman
2015-11-27  1:55   ` [PATCH 01/18] arm64: dts: r8a7795: add GPIO nodes Simon Horman
2015-11-27  1:55   ` [PATCH 02/18] arm64: dts: r8a7795: add EthernetAVB device node Simon Horman
2015-11-27  1:55   ` [PATCH 03/18] arm64: dts: r8a7795: enable EthernetAVB on Salvator-X Simon Horman
2015-11-27  1:55   ` [PATCH 04/18] arm64: dts: r8a7795: enable nfs root on Salvator-X board Simon Horman
2015-11-27  1:55   ` [PATCH 05/18] arm64: renesas: salvator-x: Setup ethernet0 alias for U-Boot Simon Horman
2015-11-27  1:55   ` [PATCH 06/18] arm64: renesas: r8a7795: add I2C support Simon Horman
2015-11-27  8:17     ` Geert Uytterhoeven
2015-11-30  0:38       ` Simon Horman
2015-11-27  1:55   ` [PATCH 07/18] arm64: renesas: salvator-x: enable I2C Simon Horman
2015-11-27  1:55   ` [PATCH 08/18] arm64: renesas: r8a7795 dtsi: Add all HSCIF nodes Simon Horman
2015-11-27  1:55   ` [PATCH 09/18] arm64: renesas: r8a7795: add AUDIO_DMAC support Simon Horman
2015-11-27  1:55   ` [PATCH 10/18] arm64: renesas: r8a7795: Sound SSI PIO support Simon Horman
2015-11-27  1:55   ` [PATCH 11/18] arm64: renesas: r8a7795: Sound SSI DMA support Simon Horman
2015-11-27  1:55   ` [PATCH 12/18] arm64: renesas: r8a7795: Sound SRC support Simon Horman
2015-11-27  1:55   ` [PATCH 13/18] arm64: renesas: r8a7795: Sound DVC support Simon Horman
2015-11-27  1:55   ` [PATCH 14/18] arm64: renesas: salvator-x: Sound SSI PIO support Simon Horman
2015-11-27  1:55   ` [PATCH 15/18] arm64: renesas: salvator-x: Sound SSI DMA support Simon Horman
2015-11-27  1:55   ` [PATCH 16/18] arm64: renesas: salvator-x: Sound SSI DMA support via BUSIF Simon Horman
2015-11-27  1:55   ` [PATCH 17/18] arm64: renesas: salvator-x: Sound SRC support Simon Horman
2015-11-27  1:55   ` [PATCH 18/18] arm64: renesas: salvator-x: Sound DVC support Simon Horman
2015-12-11 23:53   ` [GIT PULL] Second Round of Renesas ARM64 Based SoC DT Updates for v4.5 Arnd Bergmann
2015-12-12  0:08 ` [GIT PULL] Second Round of Renesas ARM64 Based SoC Defconfig " Arnd Bergmann
2015-12-12  0:16   ` Arnd Bergmann

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).