All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
To: Rob Herring <robh+dt@kernel.org>,
	Mark Rutland <mark.rutland@arm.com>,
	Catalin Marinas <catalin.marinas@arm.com>,
	Will Deacon <will.deacon@arm.com>
Cc: Fabrizio Castro <fabrizio.castro@bp.renesas.com>,
	devicetree@vger.kernel.org,
	Chris Paterson <Chris.Paterson2@renesas.com>,
	Geert Uytterhoeven <geert+renesas@glider.be>,
	Magnus Damm <magnus.damm@gmail.com>,
	Biju Das <biju.das@bp.renesas.com>,
	linux-renesas-soc@vger.kernel.org,
	Simon Horman <horms@verge.net.au>,
	linux-arm-kernel@lists.infradead.org
Subject: [PATCH 7/9] arm64: dts: renesas: r8a774a1: Add PWM device nodes
Date: Thu, 23 Aug 2018 14:43:06 +0100	[thread overview]
Message-ID: <1535031788-19907-8-git-send-email-fabrizio.castro@bp.renesas.com> (raw)
In-Reply-To: <1535031788-19907-1-git-send-email-fabrizio.castro@bp.renesas.com>

This patch adds PWM[0123456] device nodes to the RZ/G2M (a.k.a R8A774A1)
device tree.

Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: Biju Das <biju.das@bp.renesas.com>
---
 arch/arm64/boot/dts/renesas/r8a774a1.dtsi | 70 +++++++++++++++++++++++++++++++
 1 file changed, 70 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a774a1.dtsi b/arch/arm64/boot/dts/renesas/r8a774a1.dtsi
index 1d847cf..34537ba 100644
--- a/arch/arm64/boot/dts/renesas/r8a774a1.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a774a1.dtsi
@@ -691,6 +691,76 @@
 			status = "disabled";
 		};
 
+		pwm0: pwm@e6e30000 {
+			compatible = "renesas,pwm-r8a774a1", "renesas,pwm-rcar";
+			reg = <0 0xe6e30000 0 0x8>;
+			#pwm-cells = <2>;
+			clocks = <&cpg CPG_MOD 523>;
+			resets = <&cpg 523>;
+			power-domains = <&sysc 32>;
+			status = "disabled";
+		};
+
+		pwm1: pwm@e6e31000 {
+			compatible = "renesas,pwm-r8a774a1", "renesas,pwm-rcar";
+			reg = <0 0xe6e31000 0 0x8>;
+			#pwm-cells = <2>;
+			clocks = <&cpg CPG_MOD 523>;
+			resets = <&cpg 523>;
+			power-domains = <&sysc 32>;
+			status = "disabled";
+		};
+
+		pwm2: pwm@e6e32000 {
+			compatible = "renesas,pwm-r8a774a1", "renesas,pwm-rcar";
+			reg = <0 0xe6e32000 0 0x8>;
+			#pwm-cells = <2>;
+			clocks = <&cpg CPG_MOD 523>;
+			resets = <&cpg 523>;
+			power-domains = <&sysc 32>;
+			status = "disabled";
+		};
+
+		pwm3: pwm@e6e33000 {
+			compatible = "renesas,pwm-r8a774a1", "renesas,pwm-rcar";
+			reg = <0 0xe6e33000 0 0x8>;
+			#pwm-cells = <2>;
+			clocks = <&cpg CPG_MOD 523>;
+			resets = <&cpg 523>;
+			power-domains = <&sysc 32>;
+			status = "disabled";
+		};
+
+		pwm4: pwm@e6e34000 {
+			compatible = "renesas,pwm-r8a774a1", "renesas,pwm-rcar";
+			reg = <0 0xe6e34000 0 0x8>;
+			#pwm-cells = <2>;
+			clocks = <&cpg CPG_MOD 523>;
+			resets = <&cpg 523>;
+			power-domains = <&sysc 32>;
+			status = "disabled";
+		};
+
+		pwm5: pwm@e6e35000 {
+			compatible = "renesas,pwm-r8a774a1", "renesas,pwm-rcar";
+			reg = <0 0xe6e35000 0 0x8>;
+			#pwm-cells = <2>;
+			clocks = <&cpg CPG_MOD 523>;
+			resets = <&cpg 523>;
+			power-domains = <&sysc 32>;
+			status = "disabled";
+		};
+
+		pwm6: pwm@e6e36000 {
+			compatible = "renesas,pwm-r8a774a1", "renesas,pwm-rcar";
+			reg = <0 0xe6e36000 0 0x8>;
+			#pwm-cells = <2>;
+			clocks = <&cpg CPG_MOD 523>;
+			resets = <&cpg 523>;
+			power-domains = <&sysc 32>;
+			status = "disabled";
+		};
+
 		scif0: serial@e6e60000 {
 			compatible = "renesas,scif-r8a774a1",
 				     "renesas,rcar-gen3-scif", "renesas,scif";
-- 
2.7.4

WARNING: multiple messages have this Message-ID (diff)
From: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
To: Rob Herring <robh+dt@kernel.org>,
	Mark Rutland <mark.rutland@arm.com>,
	Catalin Marinas <catalin.marinas@arm.com>,
	Will Deacon <will.deacon@arm.com>
Cc: Fabrizio Castro <fabrizio.castro@bp.renesas.com>,
	Simon Horman <horms@verge.net.au>,
	Magnus Damm <magnus.damm@gmail.com>,
	linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	Geert Uytterhoeven <geert+renesas@glider.be>,
	Chris Paterson <Chris.Paterson2@renesas.com>,
	Biju Das <biju.das@bp.renesas.com>
Subject: [PATCH 7/9] arm64: dts: renesas: r8a774a1: Add PWM device nodes
Date: Thu, 23 Aug 2018 14:43:06 +0100	[thread overview]
Message-ID: <1535031788-19907-8-git-send-email-fabrizio.castro@bp.renesas.com> (raw)
In-Reply-To: <1535031788-19907-1-git-send-email-fabrizio.castro@bp.renesas.com>

This patch adds PWM[0123456] device nodes to the RZ/G2M (a.k.a R8A774A1)
device tree.

Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: Biju Das <biju.das@bp.renesas.com>
---
 arch/arm64/boot/dts/renesas/r8a774a1.dtsi | 70 +++++++++++++++++++++++++++++++
 1 file changed, 70 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a774a1.dtsi b/arch/arm64/boot/dts/renesas/r8a774a1.dtsi
index 1d847cf..34537ba 100644
--- a/arch/arm64/boot/dts/renesas/r8a774a1.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a774a1.dtsi
@@ -691,6 +691,76 @@
 			status = "disabled";
 		};
 
+		pwm0: pwm@e6e30000 {
+			compatible = "renesas,pwm-r8a774a1", "renesas,pwm-rcar";
+			reg = <0 0xe6e30000 0 0x8>;
+			#pwm-cells = <2>;
+			clocks = <&cpg CPG_MOD 523>;
+			resets = <&cpg 523>;
+			power-domains = <&sysc 32>;
+			status = "disabled";
+		};
+
+		pwm1: pwm@e6e31000 {
+			compatible = "renesas,pwm-r8a774a1", "renesas,pwm-rcar";
+			reg = <0 0xe6e31000 0 0x8>;
+			#pwm-cells = <2>;
+			clocks = <&cpg CPG_MOD 523>;
+			resets = <&cpg 523>;
+			power-domains = <&sysc 32>;
+			status = "disabled";
+		};
+
+		pwm2: pwm@e6e32000 {
+			compatible = "renesas,pwm-r8a774a1", "renesas,pwm-rcar";
+			reg = <0 0xe6e32000 0 0x8>;
+			#pwm-cells = <2>;
+			clocks = <&cpg CPG_MOD 523>;
+			resets = <&cpg 523>;
+			power-domains = <&sysc 32>;
+			status = "disabled";
+		};
+
+		pwm3: pwm@e6e33000 {
+			compatible = "renesas,pwm-r8a774a1", "renesas,pwm-rcar";
+			reg = <0 0xe6e33000 0 0x8>;
+			#pwm-cells = <2>;
+			clocks = <&cpg CPG_MOD 523>;
+			resets = <&cpg 523>;
+			power-domains = <&sysc 32>;
+			status = "disabled";
+		};
+
+		pwm4: pwm@e6e34000 {
+			compatible = "renesas,pwm-r8a774a1", "renesas,pwm-rcar";
+			reg = <0 0xe6e34000 0 0x8>;
+			#pwm-cells = <2>;
+			clocks = <&cpg CPG_MOD 523>;
+			resets = <&cpg 523>;
+			power-domains = <&sysc 32>;
+			status = "disabled";
+		};
+
+		pwm5: pwm@e6e35000 {
+			compatible = "renesas,pwm-r8a774a1", "renesas,pwm-rcar";
+			reg = <0 0xe6e35000 0 0x8>;
+			#pwm-cells = <2>;
+			clocks = <&cpg CPG_MOD 523>;
+			resets = <&cpg 523>;
+			power-domains = <&sysc 32>;
+			status = "disabled";
+		};
+
+		pwm6: pwm@e6e36000 {
+			compatible = "renesas,pwm-r8a774a1", "renesas,pwm-rcar";
+			reg = <0 0xe6e36000 0 0x8>;
+			#pwm-cells = <2>;
+			clocks = <&cpg CPG_MOD 523>;
+			resets = <&cpg 523>;
+			power-domains = <&sysc 32>;
+			status = "disabled";
+		};
+
 		scif0: serial@e6e60000 {
 			compatible = "renesas,scif-r8a774a1",
 				     "renesas,rcar-gen3-scif", "renesas,scif";
-- 
2.7.4

WARNING: multiple messages have this Message-ID (diff)
From: fabrizio.castro@bp.renesas.com (Fabrizio Castro)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 7/9] arm64: dts: renesas: r8a774a1: Add PWM device nodes
Date: Thu, 23 Aug 2018 14:43:06 +0100	[thread overview]
Message-ID: <1535031788-19907-8-git-send-email-fabrizio.castro@bp.renesas.com> (raw)
In-Reply-To: <1535031788-19907-1-git-send-email-fabrizio.castro@bp.renesas.com>

This patch adds PWM[0123456] device nodes to the RZ/G2M (a.k.a R8A774A1)
device tree.

Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: Biju Das <biju.das@bp.renesas.com>
---
 arch/arm64/boot/dts/renesas/r8a774a1.dtsi | 70 +++++++++++++++++++++++++++++++
 1 file changed, 70 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a774a1.dtsi b/arch/arm64/boot/dts/renesas/r8a774a1.dtsi
index 1d847cf..34537ba 100644
--- a/arch/arm64/boot/dts/renesas/r8a774a1.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a774a1.dtsi
@@ -691,6 +691,76 @@
 			status = "disabled";
 		};
 
+		pwm0: pwm at e6e30000 {
+			compatible = "renesas,pwm-r8a774a1", "renesas,pwm-rcar";
+			reg = <0 0xe6e30000 0 0x8>;
+			#pwm-cells = <2>;
+			clocks = <&cpg CPG_MOD 523>;
+			resets = <&cpg 523>;
+			power-domains = <&sysc 32>;
+			status = "disabled";
+		};
+
+		pwm1: pwm at e6e31000 {
+			compatible = "renesas,pwm-r8a774a1", "renesas,pwm-rcar";
+			reg = <0 0xe6e31000 0 0x8>;
+			#pwm-cells = <2>;
+			clocks = <&cpg CPG_MOD 523>;
+			resets = <&cpg 523>;
+			power-domains = <&sysc 32>;
+			status = "disabled";
+		};
+
+		pwm2: pwm at e6e32000 {
+			compatible = "renesas,pwm-r8a774a1", "renesas,pwm-rcar";
+			reg = <0 0xe6e32000 0 0x8>;
+			#pwm-cells = <2>;
+			clocks = <&cpg CPG_MOD 523>;
+			resets = <&cpg 523>;
+			power-domains = <&sysc 32>;
+			status = "disabled";
+		};
+
+		pwm3: pwm at e6e33000 {
+			compatible = "renesas,pwm-r8a774a1", "renesas,pwm-rcar";
+			reg = <0 0xe6e33000 0 0x8>;
+			#pwm-cells = <2>;
+			clocks = <&cpg CPG_MOD 523>;
+			resets = <&cpg 523>;
+			power-domains = <&sysc 32>;
+			status = "disabled";
+		};
+
+		pwm4: pwm at e6e34000 {
+			compatible = "renesas,pwm-r8a774a1", "renesas,pwm-rcar";
+			reg = <0 0xe6e34000 0 0x8>;
+			#pwm-cells = <2>;
+			clocks = <&cpg CPG_MOD 523>;
+			resets = <&cpg 523>;
+			power-domains = <&sysc 32>;
+			status = "disabled";
+		};
+
+		pwm5: pwm at e6e35000 {
+			compatible = "renesas,pwm-r8a774a1", "renesas,pwm-rcar";
+			reg = <0 0xe6e35000 0 0x8>;
+			#pwm-cells = <2>;
+			clocks = <&cpg CPG_MOD 523>;
+			resets = <&cpg 523>;
+			power-domains = <&sysc 32>;
+			status = "disabled";
+		};
+
+		pwm6: pwm at e6e36000 {
+			compatible = "renesas,pwm-r8a774a1", "renesas,pwm-rcar";
+			reg = <0 0xe6e36000 0 0x8>;
+			#pwm-cells = <2>;
+			clocks = <&cpg CPG_MOD 523>;
+			resets = <&cpg 523>;
+			power-domains = <&sysc 32>;
+			status = "disabled";
+		};
+
 		scif0: serial at e6e60000 {
 			compatible = "renesas,scif-r8a774a1",
 				     "renesas,rcar-gen3-scif", "renesas,scif";
-- 
2.7.4

  parent reply	other threads:[~2018-08-23 13:43 UTC|newest]

Thread overview: 102+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-23 13:42 [PATCH 0/9] Add more support for r8a774a1 Fabrizio Castro
2018-08-23 13:42 ` Fabrizio Castro
2018-08-23 13:42 ` Fabrizio Castro
2018-08-23 13:43 ` [PATCH 1/9] arm64: dts: renesas: r8a774a1: Add SDHI nodes Fabrizio Castro
2018-08-23 13:43   ` Fabrizio Castro
2018-08-23 13:43   ` Fabrizio Castro
2018-08-27  8:12   ` Simon Horman
2018-08-27  8:12     ` Simon Horman
2018-08-27  8:12     ` Simon Horman
2018-08-30 12:21   ` Simon Horman
2018-08-30 12:21     ` Simon Horman
2018-08-30 12:21     ` Simon Horman
2018-08-23 13:43 ` [PATCH 2/9] arm64: dts: renesas: r8a774a1: Add I2C and IIC-DVFS support Fabrizio Castro
2018-08-23 13:43   ` Fabrizio Castro
2018-08-23 13:43   ` Fabrizio Castro
2018-08-27  8:51   ` Simon Horman
2018-08-27  8:51     ` Simon Horman
2018-08-27  8:51     ` Simon Horman
2018-08-30 12:19     ` Simon Horman
2018-08-30 12:19       ` Simon Horman
2018-08-30 12:19       ` Simon Horman
2018-08-23 13:43 ` [PATCH 3/9] arm64: dts: renesas: r8a774a1: Add RZ/G2M thermal support Fabrizio Castro
2018-08-23 13:43   ` Fabrizio Castro
2018-08-23 13:43   ` Fabrizio Castro
2018-08-27  8:54   ` Simon Horman
2018-08-27  8:54     ` Simon Horman
2018-08-27  8:54     ` Simon Horman
2018-08-30 12:21     ` Simon Horman
2018-08-30 12:21       ` Simon Horman
2018-08-30 12:21       ` Simon Horman
2018-08-23 13:43 ` [PATCH 4/9] arm64: dts: renesas: r8a774a1: Add IPMMU device nodes Fabrizio Castro
2018-08-23 13:43   ` Fabrizio Castro
2018-08-23 13:43   ` Fabrizio Castro
2018-08-27  9:02   ` Simon Horman
2018-08-27  9:02     ` Simon Horman
2018-08-27  9:02     ` Simon Horman
2018-08-30 12:22     ` Simon Horman
2018-08-30 12:22       ` Simon Horman
2018-08-30 12:22       ` Simon Horman
2018-08-23 13:43 ` [PATCH 5/9] arm64: dts: renesas: r8a774a1: Add all MSIOF nodes Fabrizio Castro
2018-08-23 13:43   ` Fabrizio Castro
2018-08-23 13:43   ` Fabrizio Castro
2018-08-27  9:05   ` Simon Horman
2018-08-27  9:05     ` Simon Horman
2018-08-27  9:05     ` Simon Horman
2018-08-30 12:23     ` Simon Horman
2018-08-30 12:23       ` Simon Horman
2018-08-30 12:23       ` Simon Horman
2018-08-23 13:43 ` [PATCH 6/9] arm64: dts: renesas: r8a774a1: Add Cortex-A53 CPU cores Fabrizio Castro
2018-08-23 13:43   ` Fabrizio Castro
2018-08-23 13:43   ` Fabrizio Castro
2018-08-27  9:08   ` Simon Horman
2018-08-27  9:08     ` Simon Horman
2018-08-27  9:08     ` Simon Horman
2018-08-30 12:23     ` Simon Horman
2018-08-30 12:23       ` Simon Horman
2018-08-30 12:23       ` Simon Horman
2018-08-23 13:43 ` Fabrizio Castro [this message]
2018-08-23 13:43   ` [PATCH 7/9] arm64: dts: renesas: r8a774a1: Add PWM device nodes Fabrizio Castro
2018-08-23 13:43   ` Fabrizio Castro
2018-08-27  9:12   ` Simon Horman
2018-08-27  9:12     ` Simon Horman
2018-08-27  9:12     ` Simon Horman
2018-08-30 12:24     ` Simon Horman
2018-08-30 12:24       ` Simon Horman
2018-08-30 12:24       ` Simon Horman
2018-08-23 13:43 ` [PATCH 8/9] arm64: dts: renesas: r8a774a1: Add audio support Fabrizio Castro
2018-08-23 13:43   ` Fabrizio Castro
2018-08-23 13:43   ` Fabrizio Castro
2018-08-27  9:32   ` Simon Horman
2018-08-27  9:32     ` Simon Horman
2018-08-27  9:32     ` Simon Horman
2018-08-30 12:25     ` Simon Horman
2018-08-30 12:25       ` Simon Horman
2018-08-30 12:25       ` Simon Horman
2018-08-23 13:43 ` [PATCH 9/9] arm64: dts: renesas: r8a774a1: Add FCPF and FCPV instances Fabrizio Castro
2018-08-23 13:43   ` Fabrizio Castro
2018-08-23 13:43   ` Fabrizio Castro
2018-08-24  8:48   ` Sergei Shtylyov
2018-08-24  8:48     ` Sergei Shtylyov
2018-08-24  8:48     ` Sergei Shtylyov
2018-08-24  9:26     ` Fabrizio Castro
2018-08-24  9:26       ` Fabrizio Castro
2018-08-24  9:26       ` Fabrizio Castro
2018-08-24  9:30     ` [PATCH v2 " Fabrizio Castro
2018-08-24  9:30       ` Fabrizio Castro
2018-08-24  9:30       ` Fabrizio Castro
2018-08-24  9:33       ` Fabrizio Castro
2018-08-24  9:33         ` Fabrizio Castro
2018-08-24  9:33         ` Fabrizio Castro
2018-08-24 10:21         ` [PATCH v3 " Fabrizio Castro
2018-08-24 10:21           ` Fabrizio Castro
2018-08-24 10:21           ` Fabrizio Castro
2018-08-27  9:48           ` Simon Horman
2018-08-27  9:48             ` Simon Horman
2018-08-27  9:48             ` Simon Horman
2018-08-30 12:25             ` Simon Horman
2018-08-30 12:25               ` Simon Horman
2018-08-30 12:25               ` Simon Horman
2018-08-24 10:44       ` [PATCH v2 " Sergei Shtylyov
2018-08-24 10:44         ` Sergei Shtylyov
2018-08-24 10:44         ` Sergei Shtylyov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1535031788-19907-8-git-send-email-fabrizio.castro@bp.renesas.com \
    --to=fabrizio.castro@bp.renesas.com \
    --cc=Chris.Paterson2@renesas.com \
    --cc=biju.das@bp.renesas.com \
    --cc=catalin.marinas@arm.com \
    --cc=devicetree@vger.kernel.org \
    --cc=geert+renesas@glider.be \
    --cc=horms@verge.net.au \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=magnus.damm@gmail.com \
    --cc=mark.rutland@arm.com \
    --cc=robh+dt@kernel.org \
    --cc=will.deacon@arm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.