From: Ulrich Hecht <ulrich.hecht+renesas@gmail.com>
To: geert@glider.be, horms@verge.net.au
Cc: linux-pwm@vger.kernel.org, linux-renesas-soc@vger.kernel.org,
magnus.damm@gmail.com, Ryo Kodama <ryo.kodama.vz@renesas.com>,
Takeshi Kihara <takeshi.kihara.df@renesas.com>,
Ulrich Hecht <ulrich.hecht+renesas@gmail.com>
Subject: [PATCH 4/5] arm64: dts: r8a7796-salvator-x: Add PWM device support
Date: Wed, 19 Apr 2017 15:24:52 +0200 [thread overview]
Message-ID: <1492608293-12435-5-git-send-email-ulrich.hecht+renesas@gmail.com> (raw)
In-Reply-To: <1492608293-12435-1-git-send-email-ulrich.hecht+renesas@gmail.com>
From: Ryo Kodama <ryo.kodama.vz@renesas.com>
This patch adds support of PWM{1,2} device for Salvator-X board on
R8A7796 SoC.
Signed-off-by: Ryo Kodama <ryo.kodama.vz@renesas.com>
Signed-off-by: Takeshi Kihara <takeshi.kihara.df@renesas.com>
Signed-off-by: Ulrich Hecht <ulrich.hecht+renesas@gmail.com>
---
arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts b/arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts
index 14d9e51..b4ff1b6 100644
--- a/arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts
+++ b/arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts
@@ -105,6 +105,18 @@
};
};
+&pwm1 {
+ pinctrl-0 = <&pwm1_pins>;
+ pinctrl-names = "default";
+ status = "okay";
+};
+
+&pwm2 {
+ pinctrl-0 = <&pwm2_pins>;
+ pinctrl-names = "default";
+ status = "okay";
+};
+
&pfc {
pinctrl-0 = <&scif_clk_pins>;
pinctrl-names = "default";
@@ -114,6 +126,15 @@
function = "avb";
};
+ pwm1_pins: pwm1 {
+ groups = "pwm1_a", "pwm1_b";
+ function = "pwm1";
+ };
+ pwm2_pins: pwm2 {
+ groups = "pwm2_a", "pwm2_b";
+ function = "pwm2";
+ };
+
scif1_pins: scif1 {
groups = "scif1_data_a", "scif1_ctrl";
function = "scif1";
--
2.7.4
next prev parent reply other threads:[~2017-04-19 13:24 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-19 13:24 [PATCH 0/5] r8a7795/6 Salvator-X PWM enablement Ulrich Hecht
2017-04-19 13:24 ` [PATCH 1/5] pinctrl: sh-pfc: r8a7796: Add PWM pins, groups and functions Ulrich Hecht
2017-04-20 14:29 ` Geert Uytterhoeven
2017-04-19 13:24 ` [PATCH 2/5] clk: renesas: r8a7796: add PWM clock Ulrich Hecht
2017-04-20 14:31 ` Geert Uytterhoeven
2017-04-19 13:24 ` [PATCH 3/5] arm64: dts: r8a7796: Add PWM device nodes Ulrich Hecht
2017-04-20 17:40 ` Geert Uytterhoeven
2017-04-19 13:24 ` Ulrich Hecht [this message]
2017-04-20 17:51 ` [PATCH 4/5] arm64: dts: r8a7796-salvator-x: Add PWM device support Geert Uytterhoeven
2017-04-19 13:24 ` [PATCH 5/5] arm64: dts: r8a7795-salvator-x: Enable PWM Ulrich Hecht
2017-04-20 17:51 ` Geert Uytterhoeven
2017-04-21 7:26 ` Ulrich Hecht
2017-04-21 7:35 ` Kuninori Morimoto
2017-04-21 12:00 ` Ulrich Hecht
2017-04-24 7:49 ` Simon Horman
2017-04-24 7:59 ` Laurent Pinchart
2017-04-24 8:22 ` Ulrich Hecht
2017-04-24 8:35 ` Laurent Pinchart
2017-04-24 10:02 ` Ulrich Hecht
2017-04-26 7:50 ` Simon Horman
2017-04-26 7:57 ` Ulrich Hecht
2017-04-24 8:22 ` Ulrich Hecht
2017-04-20 14:23 ` [PATCH 0/5] r8a7795/6 Salvator-X PWM enablement Geert Uytterhoeven
2017-04-21 7:22 ` Ulrich Hecht
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=1492608293-12435-5-git-send-email-ulrich.hecht+renesas@gmail.com \
--to=ulrich.hecht+renesas@gmail.com \
--cc=geert@glider.be \
--cc=horms@verge.net.au \
--cc=linux-pwm@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=magnus.damm@gmail.com \
--cc=ryo.kodama.vz@renesas.com \
--cc=takeshi.kihara.df@renesas.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 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).