All of lore.kernel.org
 help / color / mirror / Atom feed
* [cip-dev] [PATCH 4.4.y-cip 00/12] Add CAN/IRQC/THERMAL/VIN/Audio support
@ 2019-12-06 12:12 Biju Das
  2019-12-06 12:12 ` [cip-dev] [PATCH 4.4.y-cip 01/12] dt-bindings: can: rcar_can: Add r8a7744 support Biju Das
                   ` (12 more replies)
  0 siblings, 13 replies; 16+ messages in thread
From: Biju Das @ 2019-12-06 12:12 UTC (permalink / raw)
  To: cip-dev

This patch series add CAN/IRQC/THERMAL/VIN/Audio support for iWave iwg20d platform based on RZ/G1N.

This patch series is based on linux-4.4.y-cip and all the patches in this series are cherry-picked from linux rc tree.


Biju Das (11):
  dt-bindings: can: rcar_can: Add r8a7744 support
  ARM: dts: r8a7744: Add CAN support
  dt-bindings: irqchip: renesas-irqc: Document r8a7744 support
  ARM: dts: r8a7744: Add IRQC support
  dt-bindings: thermal: rcar: Add device tree support for r8a7744
  ARM: dts: r8a7744: Add thermal device to DT
  media: dt-bindings: media: rcar_vin: add device tree support for
    r8a7744
  ARM: dts: r8a7744: add VIN dt support
  ASoC: rsnd: Add r8a7744 support
  ARM: dts: r8a7744: Add audio support
  ARM: dts: r8a7744-iwg20d-q7-dbcm-ca: Add device tree for camera DB

Kuninori Morimoto (1):
  thermal: trip_point_temp_store() calls thermal_zone_device_update()

 .../bindings/interrupt-controller/renesas,irqc.txt |   1 +
 .../devicetree/bindings/media/rcar_vin.txt         |   1 +
 .../devicetree/bindings/net/can/rcar_can.txt       |   1 +
 .../devicetree/bindings/sound/renesas,rsnd.txt     |   1 +
 .../devicetree/bindings/thermal/rcar-thermal.txt   |   1 +
 arch/arm/boot/dts/Makefile                         |   1 +
 arch/arm/boot/dts/r8a7744-iwg20d-q7-dbcm-ca.dts    |  17 ++
 arch/arm/boot/dts/r8a7744.dtsi                     | 334 ++++++++++++++++++++-
 drivers/thermal/thermal_core.c                     |   6 +-
 9 files changed, 352 insertions(+), 11 deletions(-)
 create mode 100644 arch/arm/boot/dts/r8a7744-iwg20d-q7-dbcm-ca.dts

-- 
2.7.4

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

* [cip-dev] [PATCH 4.4.y-cip 01/12] dt-bindings: can: rcar_can: Add r8a7744 support
  2019-12-06 12:12 [cip-dev] [PATCH 4.4.y-cip 00/12] Add CAN/IRQC/THERMAL/VIN/Audio support Biju Das
@ 2019-12-06 12:12 ` Biju Das
  2019-12-06 12:12 ` [cip-dev] [PATCH 4.4.y-cip 02/12] ARM: dts: r8a7744: Add CAN support Biju Das
                   ` (11 subsequent siblings)
  12 siblings, 0 replies; 16+ messages in thread
From: Biju Das @ 2019-12-06 12:12 UTC (permalink / raw)
  To: cip-dev

commit 700992d361c7912923d1e570681eed65b54a6d9b upstream.

Document RZ/G1N (r8a7744) SoC specific bindings.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Chris Paterson <Chris.Paterson2@renesas.com>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Rob Herring <robh@kernel.org>
---
 Documentation/devicetree/bindings/net/can/rcar_can.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/net/can/rcar_can.txt b/Documentation/devicetree/bindings/net/can/rcar_can.txt
index 6f81b1f..fbad4d5 100644
--- a/Documentation/devicetree/bindings/net/can/rcar_can.txt
+++ b/Documentation/devicetree/bindings/net/can/rcar_can.txt
@@ -3,6 +3,7 @@ Renesas R-Car CAN controller Device Tree Bindings
 
 Required properties:
 - compatible: "renesas,can-r8a7743" if CAN controller is a part of R8A7743 SoC.
+	      "renesas,can-r8a7744" if CAN controller is a part of R8A7744 SoC.
 	      "renesas,can-r8a7745" if CAN controller is a part of R8A7745 SoC.
 	      "renesas,can-r8a7778" if CAN controller is a part of R8A7778 SoC.
 	      "renesas,can-r8a7779" if CAN controller is a part of R8A7779 SoC.
-- 
2.7.4

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

* [cip-dev] [PATCH 4.4.y-cip 02/12] ARM: dts: r8a7744: Add CAN support
  2019-12-06 12:12 [cip-dev] [PATCH 4.4.y-cip 00/12] Add CAN/IRQC/THERMAL/VIN/Audio support Biju Das
  2019-12-06 12:12 ` [cip-dev] [PATCH 4.4.y-cip 01/12] dt-bindings: can: rcar_can: Add r8a7744 support Biju Das
@ 2019-12-06 12:12 ` Biju Das
  2019-12-06 12:12 ` [cip-dev] [PATCH 4.4.y-cip 03/12] dt-bindings: irqchip: renesas-irqc: Document r8a7744 support Biju Das
                   ` (10 subsequent siblings)
  12 siblings, 0 replies; 16+ messages in thread
From: Biju Das @ 2019-12-06 12:12 UTC (permalink / raw)
  To: cip-dev

commit 56f1896093043c63c6ecd8a53080aa89d6b41070 upstream.

Add the definitions for can0 and can1 to the r8a7744 SoC dtsi.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
[biju: Removed reset and updated clk and power domain properties]
Signed-off-by: Biju Das <biju.das@bp.renesas.com>
---
 arch/arm/boot/dts/r8a7744.dtsi | 20 ++++++++++++++++++--
 1 file changed, 18 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/r8a7744.dtsi b/arch/arm/boot/dts/r8a7744.dtsi
index c73269c..4538689 100644
--- a/arch/arm/boot/dts/r8a7744.dtsi
+++ b/arch/arm/boot/dts/r8a7744.dtsi
@@ -819,13 +819,29 @@
 		};
 
 		can0: can at e6e80000 {
+			compatible = "renesas,can-r8a7744",
+				     "renesas,rcar-gen2-can";
 			reg = <0 0xe6e80000 0 0x1000>;
-			/* placeholder */
+			interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&mstp9_clks R8A7744_CLK_RCAN0>,
+				 <&cpg_clocks R8A7744_CLK_RCAN>,
+				 <&can_clk>;
+			clock-names = "clkp1", "clkp2", "can_clk";
+			power-domains = <&cpg_clocks>;
+			status = "disabled";
 		};
 
 		can1: can at e6e88000 {
+			compatible = "renesas,can-r8a7744",
+				     "renesas,rcar-gen2-can";
 			reg = <0 0xe6e88000 0 0x1000>;
-			/* placeholder */
+			interrupts = <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&mstp9_clks R8A7744_CLK_RCAN1>,
+				 <&cpg_clocks R8A7744_CLK_RCAN>,
+				 <&can_clk>;
+			clock-names = "clkp1", "clkp2", "can_clk";
+			power-domains = <&cpg_clocks>;
+			status = "disabled";
 		};
 
 		rcar_sound: sound at ec500000 {
-- 
2.7.4

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

* [cip-dev] [PATCH 4.4.y-cip 03/12] dt-bindings: irqchip: renesas-irqc: Document r8a7744 support
  2019-12-06 12:12 [cip-dev] [PATCH 4.4.y-cip 00/12] Add CAN/IRQC/THERMAL/VIN/Audio support Biju Das
  2019-12-06 12:12 ` [cip-dev] [PATCH 4.4.y-cip 01/12] dt-bindings: can: rcar_can: Add r8a7744 support Biju Das
  2019-12-06 12:12 ` [cip-dev] [PATCH 4.4.y-cip 02/12] ARM: dts: r8a7744: Add CAN support Biju Das
@ 2019-12-06 12:12 ` Biju Das
  2019-12-06 12:12 ` [cip-dev] [PATCH 4.4.y-cip 04/12] ARM: dts: r8a7744: Add IRQC support Biju Das
                   ` (9 subsequent siblings)
  12 siblings, 0 replies; 16+ messages in thread
From: Biju Das @ 2019-12-06 12:12 UTC (permalink / raw)
  To: cip-dev

commit 0c4cb97d4ec9d98fc5e30317326f28ed206f3ac6 upstream.

Document RZ/G1N (R8A7744) SoC bindings.

Reviewed-by: Chris Paterson <Chris.Paterson2@renesas.com>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
---
 Documentation/devicetree/bindings/interrupt-controller/renesas,irqc.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/interrupt-controller/renesas,irqc.txt b/Documentation/devicetree/bindings/interrupt-controller/renesas,irqc.txt
index 1ed382e..eea4c7b 100644
--- a/Documentation/devicetree/bindings/interrupt-controller/renesas,irqc.txt
+++ b/Documentation/devicetree/bindings/interrupt-controller/renesas,irqc.txt
@@ -6,6 +6,7 @@ Required properties:
   Examples with soctypes are:
     - "renesas,irqc-r8a73a4" (R-Mobile APE6)
     - "renesas,irqc-r8a7743" (RZ/G1M)
+    - "renesas,irqc-r8a7744" (RZ/G1N)
     - "renesas,irqc-r8a7745" (RZ/G1E)
     - "renesas,irqc-r8a77470" (RZ/G1C)
     - "renesas,irqc-r8a7790" (R-Car H2)
-- 
2.7.4

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

* [cip-dev] [PATCH 4.4.y-cip 04/12] ARM: dts: r8a7744: Add IRQC support
  2019-12-06 12:12 [cip-dev] [PATCH 4.4.y-cip 00/12] Add CAN/IRQC/THERMAL/VIN/Audio support Biju Das
                   ` (2 preceding siblings ...)
  2019-12-06 12:12 ` [cip-dev] [PATCH 4.4.y-cip 03/12] dt-bindings: irqchip: renesas-irqc: Document r8a7744 support Biju Das
@ 2019-12-06 12:12 ` Biju Das
  2019-12-06 12:12 ` [cip-dev] [PATCH 4.4.y-cip 05/12] thermal: trip_point_temp_store() calls thermal_zone_device_update() Biju Das
                   ` (8 subsequent siblings)
  12 siblings, 0 replies; 16+ messages in thread
From: Biju Das @ 2019-12-06 12:12 UTC (permalink / raw)
  To: cip-dev

commit 154a05f0c870e6c49753cda689d2209c0915996e upstream.

Describe the IRQC interrupt controller in the r8a7744 device tree.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
[biju: Removed reset and updated clk and power domain properties]
Signed-off-by: Biju Das <biju.das@bp.renesas.com>
---
 arch/arm/boot/dts/r8a7744.dtsi | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7744.dtsi b/arch/arm/boot/dts/r8a7744.dtsi
index 4538689..1e7e410 100644
--- a/arch/arm/boot/dts/r8a7744.dtsi
+++ b/arch/arm/boot/dts/r8a7744.dtsi
@@ -271,6 +271,25 @@
 			reg = <0 0xe6160000 0 0x100>;
 		};
 
+		irqc: interrupt-controller at e61c0000 {
+			compatible = "renesas,irqc-r8a7744", "renesas,irqc";
+			#interrupt-cells = <2>;
+			interrupt-controller;
+			reg = <0 0xe61c0000 0 0x200>;
+			interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&mstp4_clks R8A7744_CLK_IRQC>;
+			power-domains = <&cpg_clocks>;
+		};
+
 		icram0:	sram at e63a0000 {
 			compatible = "mmio-sram";
 			reg = <0 0xe63a0000 0 0x12000>;
-- 
2.7.4

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

* [cip-dev] [PATCH 4.4.y-cip 05/12] thermal: trip_point_temp_store() calls thermal_zone_device_update()
  2019-12-06 12:12 [cip-dev] [PATCH 4.4.y-cip 00/12] Add CAN/IRQC/THERMAL/VIN/Audio support Biju Das
                   ` (3 preceding siblings ...)
  2019-12-06 12:12 ` [cip-dev] [PATCH 4.4.y-cip 04/12] ARM: dts: r8a7744: Add IRQC support Biju Das
@ 2019-12-06 12:12 ` Biju Das
  2019-12-06 12:12 ` [cip-dev] [PATCH 4.4.y-cip 06/12] dt-bindings: thermal: rcar: Add device tree support for r8a7744 Biju Das
                   ` (7 subsequent siblings)
  12 siblings, 0 replies; 16+ messages in thread
From: Biju Das @ 2019-12-06 12:12 UTC (permalink / raw)
  To: cip-dev

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

commit ad74e46cb3ba9e706f91f3f71baf816d2d8e45db upstream.

trip_point_temp_store() updates trip temperature. It should call
thermal_zone_device_update() immediately.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Signed-off-by: Biju Das <biju.das@bp.renesas.com>
---
 drivers/thermal/thermal_core.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/drivers/thermal/thermal_core.c b/drivers/thermal/thermal_core.c
index 929092f..0e919c3 100644
--- a/drivers/thermal/thermal_core.c
+++ b/drivers/thermal/thermal_core.c
@@ -700,8 +700,12 @@ trip_point_temp_store(struct device *dev, struct device_attribute *attr,
 		return -EINVAL;
 
 	ret = tz->ops->set_trip_temp(tz, trip, temperature);
+	if (ret)
+		return ret;
 
-	return ret ? ret : count;
+	thermal_zone_device_update(tz);
+
+	return count;
 }
 
 static ssize_t
-- 
2.7.4

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

* [cip-dev] [PATCH 4.4.y-cip 06/12] dt-bindings: thermal: rcar: Add device tree support for r8a7744
  2019-12-06 12:12 [cip-dev] [PATCH 4.4.y-cip 00/12] Add CAN/IRQC/THERMAL/VIN/Audio support Biju Das
                   ` (4 preceding siblings ...)
  2019-12-06 12:12 ` [cip-dev] [PATCH 4.4.y-cip 05/12] thermal: trip_point_temp_store() calls thermal_zone_device_update() Biju Das
@ 2019-12-06 12:12 ` Biju Das
  2019-12-06 12:12 ` [cip-dev] [PATCH 4.4.y-cip 07/12] ARM: dts: r8a7744: Add thermal device to DT Biju Das
                   ` (6 subsequent siblings)
  12 siblings, 0 replies; 16+ messages in thread
From: Biju Das @ 2019-12-06 12:12 UTC (permalink / raw)
  To: cip-dev

commit 304d9b486b3c6994c193b6693c601b463987e6ac upstream.

Add thermal sensor support for r8a7744 SoC. The Renesas RZ/G1N
(r8a7744) thermal sensor module is identical to the R-Car Gen2 family.

No driver change is needed due to the fallback compatible value
"renesas,rcar-gen2-thermal".

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Chris Paterson <Chris.Paterson2@renesas.com>
Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
---
 Documentation/devicetree/bindings/thermal/rcar-thermal.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/thermal/rcar-thermal.txt b/Documentation/devicetree/bindings/thermal/rcar-thermal.txt
index 689e7e8..1e0f837 100644
--- a/Documentation/devicetree/bindings/thermal/rcar-thermal.txt
+++ b/Documentation/devicetree/bindings/thermal/rcar-thermal.txt
@@ -7,6 +7,7 @@ Required properties:
 			  Examples with soctypes are:
 			    - "renesas,thermal-r8a73a4" (R-Mobile APE6)
 			    - "renesas,thermal-r8a7743" (RZ/G1M)
+			    - "renesas,thermal-r8a7744" (RZ/G1N)
 			    - "renesas,thermal-r8a7779" (R-Car H1)
 			    - "renesas,thermal-r8a7790" (R-Car H2)
 			    - "renesas,thermal-r8a7791" (R-Car M2-W)
-- 
2.7.4

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

* [cip-dev] [PATCH 4.4.y-cip 07/12] ARM: dts: r8a7744: Add thermal device to DT
  2019-12-06 12:12 [cip-dev] [PATCH 4.4.y-cip 00/12] Add CAN/IRQC/THERMAL/VIN/Audio support Biju Das
                   ` (5 preceding siblings ...)
  2019-12-06 12:12 ` [cip-dev] [PATCH 4.4.y-cip 06/12] dt-bindings: thermal: rcar: Add device tree support for r8a7744 Biju Das
@ 2019-12-06 12:12 ` Biju Das
  2019-12-06 12:12 ` [cip-dev] [PATCH 4.4.y-cip 08/12] media: dt-bindings: media: rcar_vin: add device tree support for r8a7744 Biju Das
                   ` (5 subsequent siblings)
  12 siblings, 0 replies; 16+ messages in thread
From: Biju Das @ 2019-12-06 12:12 UTC (permalink / raw)
  To: cip-dev

commit ef9d757c06e9b0258b10fcb19c3be2d8cbbc0a30 upstream.

This patch instantiates the thermal sensor module with thermal-zone
support.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
[biju: Removed reset and updated clk and power domain properties]
Signed-off-by: Biju Das <biju.das@bp.renesas.com>
---
 arch/arm/boot/dts/r8a7744.dtsi | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7744.dtsi b/arch/arm/boot/dts/r8a7744.dtsi
index 1e7e410..5fab84f 100644
--- a/arch/arm/boot/dts/r8a7744.dtsi
+++ b/arch/arm/boot/dts/r8a7744.dtsi
@@ -290,6 +290,16 @@
 			power-domains = <&cpg_clocks>;
 		};
 
+		thermal: thermal at e61f0000 {
+			compatible = "renesas,thermal-r8a7744",
+				     "renesas,rcar-gen2-thermal";
+			reg = <0 0xe61f0000 0 0x10>, <0 0xe61f0100 0 0x38>;
+			interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&mstp5_clks R8A7744_CLK_THERMAL>;
+			power-domains = <&cpg_clocks>;
+			#thermal-sensor-cells = <0>;
+		};
+
 		icram0:	sram at e63a0000 {
 			compatible = "mmio-sram";
 			reg = <0 0xe63a0000 0 0x12000>;
@@ -1506,6 +1516,26 @@
 		};
 	};
 
+	thermal-zones {
+		cpu_thermal: cpu-thermal {
+			polling-delay-passive = <0>;
+			polling-delay = <0>;
+
+			thermal-sensors = <&thermal>;
+
+			trips {
+				cpu-crit {
+					temperature = <95000>;
+					hysteresis = <0>;
+					type = "critical";
+				};
+			};
+
+			cooling-maps {
+			};
+		};
+	};
+
 	timer {
 		compatible = "arm,armv7-timer";
 		interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
-- 
2.7.4

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

* [cip-dev] [PATCH 4.4.y-cip 08/12] media: dt-bindings: media: rcar_vin: add device tree support for r8a7744
  2019-12-06 12:12 [cip-dev] [PATCH 4.4.y-cip 00/12] Add CAN/IRQC/THERMAL/VIN/Audio support Biju Das
                   ` (6 preceding siblings ...)
  2019-12-06 12:12 ` [cip-dev] [PATCH 4.4.y-cip 07/12] ARM: dts: r8a7744: Add thermal device to DT Biju Das
@ 2019-12-06 12:12 ` Biju Das
  2019-12-06 12:12 ` [cip-dev] [PATCH 4.4.y-cip 09/12] ARM: dts: r8a7744: add VIN dt support Biju Das
                   ` (4 subsequent siblings)
  12 siblings, 0 replies; 16+ messages in thread
From: Biju Das @ 2019-12-06 12:12 UTC (permalink / raw)
  To: cip-dev

commit d07d9195c950d1cd16ec32a0819b2b98084c0753 upstream.

Add compatible strings for r8a7744. No driver change is needed as
"renesas,rcar-gen2-vin" will activate the right code.However, it is good
practice to document compatible strings for the specific SoC as this
allows SoC specific changes to the driver if needed, in addition to
document SoC support and therefore allow checkpatch.pl to validate
compatible string values.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Chris Paterson <Chris.Paterson2@renesas.com>
Acked-by: Niklas S?derlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
---
 Documentation/devicetree/bindings/media/rcar_vin.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/media/rcar_vin.txt b/Documentation/devicetree/bindings/media/rcar_vin.txt
index 08eca2e..6c7ba02 100644
--- a/Documentation/devicetree/bindings/media/rcar_vin.txt
+++ b/Documentation/devicetree/bindings/media/rcar_vin.txt
@@ -7,6 +7,7 @@ channel which can be either RGB, YUYV or BT656.
 
  - compatible: Must be one or more of the following
    - "renesas,vin-r8a7743" for the R8A7743 device
+   - "renesas,vin-r8a7744" for the R8A7744 device
    - "renesas,vin-r8a7745" for the R8A7745 device
    - "renesas,vin-r8a7778" for the R8A7778 device
    - "renesas,vin-r8a7779" for the R8A7779 device
-- 
2.7.4

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

* [cip-dev] [PATCH 4.4.y-cip 09/12] ARM: dts: r8a7744: add VIN dt support
  2019-12-06 12:12 [cip-dev] [PATCH 4.4.y-cip 00/12] Add CAN/IRQC/THERMAL/VIN/Audio support Biju Das
                   ` (7 preceding siblings ...)
  2019-12-06 12:12 ` [cip-dev] [PATCH 4.4.y-cip 08/12] media: dt-bindings: media: rcar_vin: add device tree support for r8a7744 Biju Das
@ 2019-12-06 12:12 ` Biju Das
  2019-12-06 12:12 ` [cip-dev] [PATCH 4.4.y-cip 10/12] ASoC: rsnd: Add r8a7744 support Biju Das
                   ` (3 subsequent siblings)
  12 siblings, 0 replies; 16+ messages in thread
From: Biju Das @ 2019-12-06 12:12 UTC (permalink / raw)
  To: cip-dev

commit 10fabcb817c5e37aeb8a1b79a95468c8df45898c upstream.

Add VIN[012] support to SoC dt.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
[biju: Removed reset and updated clk and power domain properties]
Signed-off-by: Biju Das <biju.das@bp.renesas.com>
---
 arch/arm/boot/dts/r8a7744.dtsi | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7744.dtsi b/arch/arm/boot/dts/r8a7744.dtsi
index 5fab84f..10cf55e 100644
--- a/arch/arm/boot/dts/r8a7744.dtsi
+++ b/arch/arm/boot/dts/r8a7744.dtsi
@@ -873,6 +873,36 @@
 			status = "disabled";
 		};
 
+		vin0: video at e6ef0000 {
+			compatible = "renesas,vin-r8a7744",
+				     "renesas,rcar-gen2-vin";
+			reg = <0 0xe6ef0000 0 0x1000>;
+			interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&mstp8_clks R8A7744_CLK_VIN0>;
+			power-domains = <&cpg_clocks>;
+			status = "disabled";
+		};
+
+		vin1: video at e6ef1000 {
+			compatible = "renesas,vin-r8a7744",
+				     "renesas,rcar-gen2-vin";
+			reg = <0 0xe6ef1000 0 0x1000>;
+			interrupts = <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&mstp8_clks R8A7744_CLK_VIN1>;
+			power-domains = <&cpg_clocks>;
+			status = "disabled";
+		};
+
+		vin2: video at e6ef2000 {
+			compatible = "renesas,vin-r8a7744",
+				     "renesas,rcar-gen2-vin";
+			reg = <0 0xe6ef2000 0 0x1000>;
+			interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&mstp8_clks R8A7744_CLK_VIN2>;
+			power-domains = <&cpg_clocks>;
+			status = "disabled";
+		};
+
 		rcar_sound: sound at ec500000 {
 			reg = <0 0xec500000 0 0x1000>;
 
-- 
2.7.4

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

* [cip-dev] [PATCH 4.4.y-cip 10/12] ASoC: rsnd: Add r8a7744 support
  2019-12-06 12:12 [cip-dev] [PATCH 4.4.y-cip 00/12] Add CAN/IRQC/THERMAL/VIN/Audio support Biju Das
                   ` (8 preceding siblings ...)
  2019-12-06 12:12 ` [cip-dev] [PATCH 4.4.y-cip 09/12] ARM: dts: r8a7744: add VIN dt support Biju Das
@ 2019-12-06 12:12 ` Biju Das
  2019-12-06 12:12 ` [cip-dev] [PATCH 4.4.y-cip 11/12] ARM: dts: r8a7744: Add audio support Biju Das
                   ` (2 subsequent siblings)
  12 siblings, 0 replies; 16+ messages in thread
From: Biju Das @ 2019-12-06 12:12 UTC (permalink / raw)
  To: cip-dev

commit 765f50d464457c6a397506b3f3dc58dacc227c6d upstream.

Document RZ/G1N (R8A7744) SoC bindings.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Chris Paterson <Chris.Paterson2@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 Documentation/devicetree/bindings/sound/renesas,rsnd.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/sound/renesas,rsnd.txt b/Documentation/devicetree/bindings/sound/renesas,rsnd.txt
index 649cd3a..23656d1 100644
--- a/Documentation/devicetree/bindings/sound/renesas,rsnd.txt
+++ b/Documentation/devicetree/bindings/sound/renesas,rsnd.txt
@@ -7,6 +7,7 @@ Required properties:
 				  "renesas,rcar_sound-gen3" if generation3
 				  Examples with soctypes are:
 				    - "renesas,rcar_sound-r8a7743" (RZ/G1M)
+				    - "renesas,rcar_sound-r8a7744" (RZ/G1N)
 				    - "renesas,rcar_sound-r8a7745" (RZ/G1E)
 				    - "renesas,rcar_sound-r8a7778" (R-Car M1A)
 				    - "renesas,rcar_sound-r8a7790" (R-Car H2)
-- 
2.7.4

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

* [cip-dev] [PATCH 4.4.y-cip 11/12] ARM: dts: r8a7744: Add audio support
  2019-12-06 12:12 [cip-dev] [PATCH 4.4.y-cip 00/12] Add CAN/IRQC/THERMAL/VIN/Audio support Biju Das
                   ` (9 preceding siblings ...)
  2019-12-06 12:12 ` [cip-dev] [PATCH 4.4.y-cip 10/12] ASoC: rsnd: Add r8a7744 support Biju Das
@ 2019-12-06 12:12 ` Biju Das
  2019-12-06 12:12 ` [cip-dev] [PATCH 4.4.y-cip 12/12] ARM: dts: r8a7744-iwg20d-q7-dbcm-ca: Add device tree for camera DB Biju Das
  2019-12-06 21:48 ` [cip-dev] [PATCH 4.4.y-cip 00/12] Add CAN/IRQC/THERMAL/VIN/Audio support Nobuhiro Iwamatsu
  12 siblings, 0 replies; 16+ messages in thread
From: Biju Das @ 2019-12-06 12:12 UTC (permalink / raw)
  To: cip-dev

commit 5133bfed5e585cec75550cdc795d848fe70097a9 upstream.

Add sound support for the RZ/G1N SoC (a.k.a. R8A7744).

This work is based on similar work done on the R8A7743 SoC.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
[biju: Removed reset and updated clk and power domain properties]
Signed-off-by: Biju Das <biju.das@bp.renesas.com>
---
 arch/arm/boot/dts/r8a7744.dtsi | 235 +++++++++++++++++++++++++++++++++++++++--
 1 file changed, 227 insertions(+), 8 deletions(-)

diff --git a/arch/arm/boot/dts/r8a7744.dtsi b/arch/arm/boot/dts/r8a7744.dtsi
index 10cf55e..7902f7e 100644
--- a/arch/arm/boot/dts/r8a7744.dtsi
+++ b/arch/arm/boot/dts/r8a7744.dtsi
@@ -904,23 +904,242 @@
 		};
 
 		rcar_sound: sound at ec500000 {
-			reg = <0 0xec500000 0 0x1000>;
+			/*
+			 * #sound-dai-cells is required
+			 *
+			 * Single DAI : #sound-dai-cells = <0>;         <&rcar_sound>;
+			 * Multi  DAI : #sound-dai-cells = <1>;         <&rcar_sound N>;
+			 */
+			compatible = "renesas,rcar_sound-r8a7744",
+				     "renesas,rcar_sound-gen2";
+			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 = <&mstp10_clks R8A7744_CLK_SSI_ALL>,
+				 <&mstp10_clks R8A7744_CLK_SSI9>, <&mstp10_clks R8A7744_CLK_SSI8>,
+				 <&mstp10_clks R8A7744_CLK_SSI7>, <&mstp10_clks R8A7744_CLK_SSI6>,
+				 <&mstp10_clks R8A7744_CLK_SSI5>, <&mstp10_clks R8A7744_CLK_SSI4>,
+				 <&mstp10_clks R8A7744_CLK_SSI3>, <&mstp10_clks R8A7744_CLK_SSI2>,
+				 <&mstp10_clks R8A7744_CLK_SSI1>, <&mstp10_clks R8A7744_CLK_SSI0>,
+				 <&mstp10_clks R8A7744_CLK_SCU_SRC9>, <&mstp10_clks R8A7744_CLK_SCU_SRC8>,
+				 <&mstp10_clks R8A7744_CLK_SCU_SRC7>, <&mstp10_clks R8A7744_CLK_SCU_SRC6>,
+				 <&mstp10_clks R8A7744_CLK_SCU_SRC5>, <&mstp10_clks R8A7744_CLK_SCU_SRC4>,
+				 <&mstp10_clks R8A7744_CLK_SCU_SRC3>, <&mstp10_clks R8A7744_CLK_SCU_SRC2>,
+				 <&mstp10_clks R8A7744_CLK_SCU_SRC1>, <&mstp10_clks R8A7744_CLK_SCU_SRC0>,
+				 <&mstp10_clks R8A7744_CLK_SCU_CTU0_MIX0>, <&mstp10_clks R8A7744_CLK_SCU_CTU1_MIX1>,
+				 <&mstp10_clks R8A7744_CLK_SCU_CTU0_MIX0>, <&mstp10_clks R8A7744_CLK_SCU_CTU1_MIX1>,
+				 <&mstp10_clks R8A7744_CLK_SCU_DVC0>, <&mstp10_clks R8A7744_CLK_SCU_DVC1>,
+				 <&audio_clk_a>, <&audio_clk_b>, <&audio_clk_c>,
+				 <&m2_clk>;
+			clock-names = "ssi-all",
+				      "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",
+				      "ctu.0", "ctu.1",
+				      "mix.0", "mix.1",
+				      "dvc.0", "dvc.1",
+				      "clk_a", "clk_b", "clk_c", "clk_i";
+			power-domains = <&cpg_clocks>;
+
+			status = "disabled";
 
 			rcar_sound,dvc {
-				dvc0: dvc-0 {};
-				dvc1: dvc-1 {};
+				dvc0: dvc-0 {
+					dmas = <&audma1 0xbc>;
+					dma-names = "tx";
+				};
+				dvc1: dvc-1 {
+					dmas = <&audma1 0xbe>;
+					dma-names = "tx";
+				};
+			};
+
+			rcar_sound,mix {
+				mix0: mix-0 { };
+				mix1: mix-1 { };
+			};
+
+			rcar_sound,ctu {
+				ctu00: ctu-0 { };
+				ctu01: ctu-1 { };
+				ctu02: ctu-2 { };
+				ctu03: ctu-3 { };
+				ctu10: ctu-4 { };
+				ctu11: ctu-5 { };
+				ctu12: ctu-6 { };
+				ctu13: ctu-7 { };
 			};
 
 			rcar_sound,src {
-				src2: src-2 {};
-				src3: src-3 {};
+				src0: src-0 {
+					interrupts = <GIC_SPI 352 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x85>, <&audma1 0x9a>;
+					dma-names = "rx", "tx";
+				};
+				src1: src-1 {
+					interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x87>, <&audma1 0x9c>;
+					dma-names = "rx", "tx";
+				};
+				src2: src-2 {
+					interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x89>, <&audma1 0x9e>;
+					dma-names = "rx", "tx";
+				};
+				src3: src-3 {
+					interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x8b>, <&audma1 0xa0>;
+					dma-names = "rx", "tx";
+				};
+				src4: src-4 {
+					interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x8d>, <&audma1 0xb0>;
+					dma-names = "rx", "tx";
+				};
+				src5: src-5 {
+					interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x8f>, <&audma1 0xb2>;
+					dma-names = "rx", "tx";
+				};
+				src6: src-6 {
+					interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x91>, <&audma1 0xb4>;
+					dma-names = "rx", "tx";
+				};
+				src7: src-7 {
+					interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x93>, <&audma1 0xb6>;
+					dma-names = "rx", "tx";
+				};
+				src8: src-8 {
+					interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x95>, <&audma1 0xb8>;
+					dma-names = "rx", "tx";
+				};
+				src9: src-9 {
+					interrupts = <GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x97>, <&audma1 0xba>;
+					dma-names = "rx", "tx";
+				};
 			};
 
 			rcar_sound,ssi {
-				ssi0: ssi-0 {};
-				ssi1: ssi-1 {};
+				ssi0: ssi-0 {
+					interrupts = <GIC_SPI 370 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x01>, <&audma1 0x02>, <&audma0 0x15>, <&audma1 0x16>;
+					dma-names = "rx", "tx", "rxu", "txu";
+				};
+				ssi1: ssi-1 {
+					interrupts = <GIC_SPI 371 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x03>, <&audma1 0x04>, <&audma0 0x49>, <&audma1 0x4a>;
+					dma-names = "rx", "tx", "rxu", "txu";
+				};
+				ssi2: ssi-2 {
+					interrupts = <GIC_SPI 372 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x05>, <&audma1 0x06>, <&audma0 0x63>, <&audma1 0x64>;
+					dma-names = "rx", "tx", "rxu", "txu";
+				};
+				ssi3: ssi-3 {
+					interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x07>, <&audma1 0x08>, <&audma0 0x6f>, <&audma1 0x70>;
+					dma-names = "rx", "tx", "rxu", "txu";
+				};
+				ssi4: ssi-4 {
+					interrupts = <GIC_SPI 374 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x09>, <&audma1 0x0a>, <&audma0 0x71>, <&audma1 0x72>;
+					dma-names = "rx", "tx", "rxu", "txu";
+				};
+				ssi5: ssi-5 {
+					interrupts = <GIC_SPI 375 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x0b>, <&audma1 0x0c>, <&audma0 0x73>, <&audma1 0x74>;
+					dma-names = "rx", "tx", "rxu", "txu";
+				};
+				ssi6: ssi-6 {
+					interrupts = <GIC_SPI 376 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x0d>, <&audma1 0x0e>, <&audma0 0x75>, <&audma1 0x76>;
+					dma-names = "rx", "tx", "rxu", "txu";
+				};
+				ssi7: ssi-7 {
+					interrupts = <GIC_SPI 377 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x0f>, <&audma1 0x10>, <&audma0 0x79>, <&audma1 0x7a>;
+					dma-names = "rx", "tx", "rxu", "txu";
+				};
+				ssi8: ssi-8 {
+					interrupts = <GIC_SPI 378 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x11>, <&audma1 0x12>, <&audma0 0x7b>, <&audma1 0x7c>;
+					dma-names = "rx", "tx", "rxu", "txu";
+				};
+				ssi9: ssi-9 {
+					interrupts = <GIC_SPI 379 IRQ_TYPE_LEVEL_HIGH>;
+					dmas = <&audma0 0x13>, <&audma1 0x14>, <&audma0 0x7d>, <&audma1 0x7e>;
+					dma-names = "rx", "tx", "rxu", "txu";
+				};
 			};
-			/* placeholder */
+		};
+
+		audma0: dma-controller at ec700000 {
+			compatible = "renesas,dmac-r8a7744",
+				     "renesas,rcar-dmac";
+			reg = <0 0xec700000 0 0x10000>;
+			interrupts = <GIC_SPI 346 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>;
+			interrupt-names = "error",
+					  "ch0", "ch1", "ch2", "ch3",
+					  "ch4", "ch5", "ch6", "ch7",
+					  "ch8", "ch9", "ch10", "ch11",
+					  "ch12";
+			clocks = <&mstp5_clks R8A7744_CLK_AUDIO_DMAC0>;
+			clock-names = "fck";
+			power-domains = <&cpg_clocks>;
+			#dma-cells = <1>;
+			dma-channels = <13>;
+		};
+
+		audma1: dma-controller at ec720000 {
+			compatible = "renesas,dmac-r8a7744",
+				     "renesas,rcar-dmac";
+			reg = <0 0xec720000 0 0x10000>;
+			interrupts = <GIC_SPI 347 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 344 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH>;
+			interrupt-names = "error",
+					  "ch0", "ch1", "ch2", "ch3",
+					  "ch4", "ch5", "ch6", "ch7",
+					  "ch8", "ch9", "ch10", "ch11",
+					  "ch12";
+			clocks = <&mstp5_clks R8A7744_CLK_AUDIO_DMAC1>;
+			clock-names = "fck";
+			power-domains = <&cpg_clocks>;
+			#dma-cells = <1>;
+			dma-channels = <13>;
 		};
 
 		pci0: pci at ee090000 {
-- 
2.7.4

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

* [cip-dev] [PATCH 4.4.y-cip 12/12] ARM: dts: r8a7744-iwg20d-q7-dbcm-ca: Add device tree for camera DB
  2019-12-06 12:12 [cip-dev] [PATCH 4.4.y-cip 00/12] Add CAN/IRQC/THERMAL/VIN/Audio support Biju Das
                   ` (10 preceding siblings ...)
  2019-12-06 12:12 ` [cip-dev] [PATCH 4.4.y-cip 11/12] ARM: dts: r8a7744: Add audio support Biju Das
@ 2019-12-06 12:12 ` Biju Das
  2019-12-06 21:48 ` [cip-dev] [PATCH 4.4.y-cip 00/12] Add CAN/IRQC/THERMAL/VIN/Audio support Nobuhiro Iwamatsu
  12 siblings, 0 replies; 16+ messages in thread
From: Biju Das @ 2019-12-06 12:12 UTC (permalink / raw)
  To: cip-dev

commit 7fbbfe07b588cd81c1046a1846345a5cf614589a upstream.

This patch adds support for the camera daughter board which is
connected to iWave's RZ/G1N Qseven carrier board.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/boot/dts/Makefile                      |  1 +
 arch/arm/boot/dts/r8a7744-iwg20d-q7-dbcm-ca.dts | 17 +++++++++++++++++
 2 files changed, 18 insertions(+)
 create mode 100644 arch/arm/boot/dts/r8a7744-iwg20d-q7-dbcm-ca.dts

diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 88c3f12..147c66b 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -547,6 +547,7 @@ dtb-$(CONFIG_ARCH_SHMOBILE_MULTI) += \
 	r8a7743-iwg20d-q7.dtb \
 	r8a7743-iwg20d-q7-dbcm-ca.dtb \
 	r8a7744-iwg20d-q7.dtb \
+	r8a7744-iwg20d-q7-dbcm-ca.dtb \
 	r8a7745-iwg22d-sodimm.dtb \
 	r8a7745-iwg22d-sodimm-dbhd-ca.dtb \
 	r8a77470-iwg23s-sbc.dtb \
diff --git a/arch/arm/boot/dts/r8a7744-iwg20d-q7-dbcm-ca.dts b/arch/arm/boot/dts/r8a7744-iwg20d-q7-dbcm-ca.dts
new file mode 100644
index 0000000..3e58c2e9
--- /dev/null
+++ b/arch/arm/boot/dts/r8a7744-iwg20d-q7-dbcm-ca.dts
@@ -0,0 +1,17 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Device Tree Source for the iWave Systems RZ/G1N Qseven board development
+ * platform with camera daughter board
+ *
+ * Copyright (C) 2018 Renesas Electronics Corp.
+ */
+
+/dts-v1/;
+#include "r8a7744-iwg20m.dtsi"
+#include "iwg20d-q7-common.dtsi"
+#include "iwg20d-q7-dbcm-ca.dtsi"
+
+/ {
+	model = "iWave Systems RZ/G1N Qseven development platform with camera add-on";
+	compatible = "iwave,g20d", "iwave,g20m", "renesas,r8a7744";
+};
-- 
2.7.4

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

* [cip-dev] [PATCH 4.4.y-cip 00/12] Add CAN/IRQC/THERMAL/VIN/Audio support
  2019-12-06 12:12 [cip-dev] [PATCH 4.4.y-cip 00/12] Add CAN/IRQC/THERMAL/VIN/Audio support Biju Das
                   ` (11 preceding siblings ...)
  2019-12-06 12:12 ` [cip-dev] [PATCH 4.4.y-cip 12/12] ARM: dts: r8a7744-iwg20d-q7-dbcm-ca: Add device tree for camera DB Biju Das
@ 2019-12-06 21:48 ` Nobuhiro Iwamatsu
  2019-12-06 22:29   ` Pavel Machek
  12 siblings, 1 reply; 16+ messages in thread
From: Nobuhiro Iwamatsu @ 2019-12-06 21:48 UTC (permalink / raw)
  To: cip-dev

Hi Biju,

On Fri, Dec 06, 2019 at 12:12:16PM +0000, Biju Das wrote:
> This patch series add CAN/IRQC/THERMAL/VIN/Audio support for iWave iwg20d platform based on RZ/G1N.
> 
> This patch series is based on linux-4.4.y-cip and all the patches in this series are cherry-picked from linux rc tree.
> 
> 
> Biju Das (11):
>   dt-bindings: can: rcar_can: Add r8a7744 support
>   ARM: dts: r8a7744: Add CAN support
>   dt-bindings: irqchip: renesas-irqc: Document r8a7744 support
>   ARM: dts: r8a7744: Add IRQC support
>   dt-bindings: thermal: rcar: Add device tree support for r8a7744
>   ARM: dts: r8a7744: Add thermal device to DT
>   media: dt-bindings: media: rcar_vin: add device tree support for
>     r8a7744
>   ARM: dts: r8a7744: add VIN dt support
>   ASoC: rsnd: Add r8a7744 support
>   ARM: dts: r8a7744: Add audio support
>   ARM: dts: r8a7744-iwg20d-q7-dbcm-ca: Add device tree for camera DB
> 
> Kuninori Morimoto (1):
>   thermal: trip_point_temp_store() calls thermal_zone_device_update()
> 
>  .../bindings/interrupt-controller/renesas,irqc.txt |   1 +
>  .../devicetree/bindings/media/rcar_vin.txt         |   1 +
>  .../devicetree/bindings/net/can/rcar_can.txt       |   1 +
>  .../devicetree/bindings/sound/renesas,rsnd.txt     |   1 +
>  .../devicetree/bindings/thermal/rcar-thermal.txt   |   1 +
>  arch/arm/boot/dts/Makefile                         |   1 +
>  arch/arm/boot/dts/r8a7744-iwg20d-q7-dbcm-ca.dts    |  17 ++
>  arch/arm/boot/dts/r8a7744.dtsi                     | 334 ++++++++++++++++++++-
>  drivers/thermal/thermal_core.c                     |   6 +-
>  9 files changed, 352 insertions(+), 11 deletions(-)
>  create mode 100644 arch/arm/boot/dts/r8a7744-iwg20d-q7-dbcm-ca.dts
> 

Looks good to me. I will apply if there is no other opinion.

Best regards,
  Nobuhiro

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

* [cip-dev] [PATCH 4.4.y-cip 00/12] Add CAN/IRQC/THERMAL/VIN/Audio support
  2019-12-06 21:48 ` [cip-dev] [PATCH 4.4.y-cip 00/12] Add CAN/IRQC/THERMAL/VIN/Audio support Nobuhiro Iwamatsu
@ 2019-12-06 22:29   ` Pavel Machek
  2019-12-09 22:13     ` nobuhiro1.iwamatsu at toshiba.co.jp
  0 siblings, 1 reply; 16+ messages in thread
From: Pavel Machek @ 2019-12-06 22:29 UTC (permalink / raw)
  To: cip-dev

Hi!

> > This patch series add CAN/IRQC/THERMAL/VIN/Audio support for iWave iwg20d platform based on RZ/G1N.
> > 
> > This patch series is based on linux-4.4.y-cip and all the patches in this series are cherry-picked from linux rc tree.
> > 
> > 
> > Biju Das (11):
> >   dt-bindings: can: rcar_can: Add r8a7744 support
> >   ARM: dts: r8a7744: Add CAN support
> >   dt-bindings: irqchip: renesas-irqc: Document r8a7744 support
> >   ARM: dts: r8a7744: Add IRQC support
> >   dt-bindings: thermal: rcar: Add device tree support for r8a7744
> >   ARM: dts: r8a7744: Add thermal device to DT
> >   media: dt-bindings: media: rcar_vin: add device tree support for
> >     r8a7744
> >   ARM: dts: r8a7744: add VIN dt support
> >   ASoC: rsnd: Add r8a7744 support
> >   ARM: dts: r8a7744: Add audio support
> >   ARM: dts: r8a7744-iwg20d-q7-dbcm-ca: Add device tree for camera DB
> > 
> > Kuninori Morimoto (1):
> >   thermal: trip_point_temp_store() calls thermal_zone_device_update()
...
> 
> Looks good to me. I will apply if there is no other opinion.

I quickly reviewed the series, and it looks good to me, too.

Best regards,
								Pavel
-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.cip-project.org/pipermail/cip-dev/attachments/20191206/065679fc/attachment.sig>

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

* [cip-dev] [PATCH 4.4.y-cip 00/12] Add CAN/IRQC/THERMAL/VIN/Audio support
  2019-12-06 22:29   ` Pavel Machek
@ 2019-12-09 22:13     ` nobuhiro1.iwamatsu at toshiba.co.jp
  0 siblings, 0 replies; 16+ messages in thread
From: nobuhiro1.iwamatsu at toshiba.co.jp @ 2019-12-09 22:13 UTC (permalink / raw)
  To: cip-dev

Hi all,

> -----Original Message-----
> From: Pavel Machek [mailto:pavel at denx.de]
> Sent: Saturday, December 7, 2019 7:29 AM
> To: iwamatsu nobuhiro(?? ?? ????????)
> <nobuhiro1.iwamatsu@toshiba.co.jp>
> Cc: Biju Das <biju.das@bp.renesas.com>; cip-dev at lists.cip-project.org;
> Pavel Machek <pavel@denx.de>; Chris Paterson
> <chris.paterson2@renesas.com>; Fabrizio Castro
> <fabrizio.castro@bp.renesas.com>
> Subject: Re: [PATCH 4.4.y-cip 00/12] Add CAN/IRQC/THERMAL/VIN/Audio
> support
> 
> Hi!
> 
> > > This patch series add CAN/IRQC/THERMAL/VIN/Audio support for iWave
> iwg20d platform based on RZ/G1N.
> > >
> > > This patch series is based on linux-4.4.y-cip and all the patches
> in this series are cherry-picked from linux rc tree.
> > >
> > >
> > > Biju Das (11):
> > >   dt-bindings: can: rcar_can: Add r8a7744 support
> > >   ARM: dts: r8a7744: Add CAN support
> > >   dt-bindings: irqchip: renesas-irqc: Document r8a7744 support
> > >   ARM: dts: r8a7744: Add IRQC support
> > >   dt-bindings: thermal: rcar: Add device tree support for r8a7744
> > >   ARM: dts: r8a7744: Add thermal device to DT
> > >   media: dt-bindings: media: rcar_vin: add device tree support for
> > >     r8a7744
> > >   ARM: dts: r8a7744: add VIN dt support
> > >   ASoC: rsnd: Add r8a7744 support
> > >   ARM: dts: r8a7744: Add audio support
> > >   ARM: dts: r8a7744-iwg20d-q7-dbcm-ca: Add device tree for camera
> DB
> > >
> > > Kuninori Morimoto (1):
> > >   thermal: trip_point_temp_store() calls
> thermal_zone_device_update()
> ...
> >
> > Looks good to me. I will apply if there is no other opinion.
> 
> I quickly reviewed the series, and it looks good to me, too.

Thanks, applied.

Best regards,
  Nobuhiro

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

end of thread, other threads:[~2019-12-09 22:13 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-06 12:12 [cip-dev] [PATCH 4.4.y-cip 00/12] Add CAN/IRQC/THERMAL/VIN/Audio support Biju Das
2019-12-06 12:12 ` [cip-dev] [PATCH 4.4.y-cip 01/12] dt-bindings: can: rcar_can: Add r8a7744 support Biju Das
2019-12-06 12:12 ` [cip-dev] [PATCH 4.4.y-cip 02/12] ARM: dts: r8a7744: Add CAN support Biju Das
2019-12-06 12:12 ` [cip-dev] [PATCH 4.4.y-cip 03/12] dt-bindings: irqchip: renesas-irqc: Document r8a7744 support Biju Das
2019-12-06 12:12 ` [cip-dev] [PATCH 4.4.y-cip 04/12] ARM: dts: r8a7744: Add IRQC support Biju Das
2019-12-06 12:12 ` [cip-dev] [PATCH 4.4.y-cip 05/12] thermal: trip_point_temp_store() calls thermal_zone_device_update() Biju Das
2019-12-06 12:12 ` [cip-dev] [PATCH 4.4.y-cip 06/12] dt-bindings: thermal: rcar: Add device tree support for r8a7744 Biju Das
2019-12-06 12:12 ` [cip-dev] [PATCH 4.4.y-cip 07/12] ARM: dts: r8a7744: Add thermal device to DT Biju Das
2019-12-06 12:12 ` [cip-dev] [PATCH 4.4.y-cip 08/12] media: dt-bindings: media: rcar_vin: add device tree support for r8a7744 Biju Das
2019-12-06 12:12 ` [cip-dev] [PATCH 4.4.y-cip 09/12] ARM: dts: r8a7744: add VIN dt support Biju Das
2019-12-06 12:12 ` [cip-dev] [PATCH 4.4.y-cip 10/12] ASoC: rsnd: Add r8a7744 support Biju Das
2019-12-06 12:12 ` [cip-dev] [PATCH 4.4.y-cip 11/12] ARM: dts: r8a7744: Add audio support Biju Das
2019-12-06 12:12 ` [cip-dev] [PATCH 4.4.y-cip 12/12] ARM: dts: r8a7744-iwg20d-q7-dbcm-ca: Add device tree for camera DB Biju Das
2019-12-06 21:48 ` [cip-dev] [PATCH 4.4.y-cip 00/12] Add CAN/IRQC/THERMAL/VIN/Audio support Nobuhiro Iwamatsu
2019-12-06 22:29   ` Pavel Machek
2019-12-09 22:13     ` nobuhiro1.iwamatsu at toshiba.co.jp

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.