linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: lee.jones@linaro.org (Lee Jones)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 01/13] ARM: STi: STiH407: Add DT nodes for for PWM
Date: Tue, 12 May 2015 13:51:38 +0100	[thread overview]
Message-ID: <1431435110-22595-2-git-send-email-lee.jones@linaro.org> (raw)
In-Reply-To: <1431435110-22595-1-git-send-email-lee.jones@linaro.org>

Supply top level nodes for the STiH407 based development boards.
The Pinctrl configuration has already been applied, so the only
missing piece of the DT puzzle is for a board's DTB to enable
the nodes.

Signed-off-by: Ajit Pal Singh <ajitpal.singh@st.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
---
 arch/arm/boot/dts/stih407.dtsi | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/arch/arm/boot/dts/stih407.dtsi b/arch/arm/boot/dts/stih407.dtsi
index 3efa3b2..2c560fc3 100644
--- a/arch/arm/boot/dts/stih407.dtsi
+++ b/arch/arm/boot/dts/stih407.dtsi
@@ -147,5 +147,33 @@
 				};
 			};
 		};
+
+		/* COMMS PWM Module */
+		pwm0: pwm at 9810000 {
+			compatible	= "st,sti-pwm";
+			status		= "disabled";
+			#pwm-cells	= <2>;
+			reg		= <0x9810000 0x68>;
+			pinctrl-names	= "default";
+			pinctrl-0	= <&pinctrl_pwm0_chan0_default>;
+			clock-names	= "pwm";
+			clocks		= <&clk_sysin>;
+		};
+
+		/* SBC PWM Module */
+		pwm1: pwm at 9510000 {
+			compatible	= "st,sti-pwm";
+			status		= "disabled";
+			#pwm-cells	= <2>;
+			reg		= <0x9510000 0x68>;
+			pinctrl-names	= "default";
+			pinctrl-0	= <&pinctrl_pwm1_chan0_default
+					&pinctrl_pwm1_chan1_default
+					&pinctrl_pwm1_chan2_default
+					&pinctrl_pwm1_chan3_default>;
+			clock-names	= "pwm";
+			clocks		= <&clk_sysin>;
+			st,pwm-num-chan = <4>;
+		};
 	};
 };
-- 
1.9.1

  reply	other threads:[~2015-05-12 12:51 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-12 12:51 [PATCH 00/13] ARM: STi: Clear-up dangling patches Lee Jones
2015-05-12 12:51 ` Lee Jones [this message]
2015-05-12 12:51 ` [PATCH 02/13] ARM: STi: STiH416: Add Pinctrl settings for PWM Lee Jones
2015-05-12 12:51 ` [PATCH 03/13] ARM: STi: STiH416: Add DT nodes " Lee Jones
2015-05-12 12:51 ` [PATCH 04/13] ARM: STi: STiH416-b2020e: Enable PWM on the B2020 Rev-E Lee Jones
2015-05-12 12:51 ` [PATCH 05/13] ARM: multi_v7_defconfig: Enable ST's PWM driver Lee Jones
2015-05-12 12:51 ` [PATCH 06/13] ARM: STi: STiH407: Add Restart support for Cannes Lee Jones
2015-05-12 12:51 ` [PATCH 07/13] ARM: STi: STiH416: Add Restart support for Orly2 Lee Jones
2015-05-12 12:51 ` [PATCH 08/13] ARM: multi_v7_defconfig: Enable ST's Power Reset driver Lee Jones
2015-05-12 12:51 ` [PATCH 09/13] ARM: STi: STiH416: Enable Cortex-A9 PMU support Lee Jones
2015-05-12 12:51 ` [PATCH 10/13] ARM: STi: STiH416: Enable PMU IRQs Lee Jones
2015-05-12 12:51 ` [PATCH 11/13] ARM: STi: STiH407: Enable Cortex-A9 PMU support Lee Jones
2015-05-12 12:51 ` [PATCH 12/13] ARM: STi: STiH407: Enable PMU IRQs Lee Jones
2015-05-12 12:51 ` [PATCH 13/13] ARM: STi: Ensure requested STi's SysCfg Controlled IRQs are enabled at boot Lee Jones
2015-05-13  9:27 ` [STLinux Kernel] [PATCH 00/13] ARM: STi: Clear-up dangling patches Maxime Coquelin

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=1431435110-22595-2-git-send-email-lee.jones@linaro.org \
    --to=lee.jones@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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).