mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Lee Jones <lee.jones@linaro.org>
To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org
Cc: kernel@stlinux.com, broonie@kernel.org, lgirdwood@gmail.com,
	Lee Jones <lee.jones@linaro.org>
Subject: [RESEND 04/10] ARM: STi: STiH407: Move PWM nodes STiH407 => STiH407-family
Date: Mon,  6 Jul 2015 09:58:26 +0100	[thread overview]
Message-ID: <1436173112-21397-5-git-send-email-lee.jones@linaro.org> (raw)
In-Reply-To: <1436173112-21397-1-git-send-email-lee.jones@linaro.org>

This also incorporates the STiH410.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
---
 arch/arm/boot/dts/stih407-family.dtsi | 30 ++++++++++++++++++++++++++++++
 arch/arm/boot/dts/stih407.dtsi        | 28 ----------------------------
 2 files changed, 30 insertions(+), 28 deletions(-)

diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi
index 838b812..64a1a26 100644
--- a/arch/arm/boot/dts/stih407-family.dtsi
+++ b/arch/arm/boot/dts/stih407-family.dtsi
@@ -539,6 +539,7 @@
 			status = "disabled";
 		};
 
+
 		st_dwc3: dwc3@8f94000 {
 			compatible	= "st,stih407-dwc3";
 			reg		= <0x08f94000 0x1000>, <0x110 0x4>;
@@ -565,5 +566,34 @@
 						  <&phy_port2 PHY_TYPE_USB3>;
 			};
 		};
+
+		/* COMMS PWM Module */
+		pwm0: pwm@9810000 {
+			compatible	= "st,sti-pwm";
+			status		= "okay";
+			#pwm-cells	= <2>;
+			reg		= <0x9810000 0x68>;
+			pinctrl-names	= "default";
+			pinctrl-0	= <&pinctrl_pwm0_chan0_default>;
+			clock-names	= "pwm";
+			clocks		= <&clk_sysin>;
+			st,pwm-num-chan = <1>;
+		};
+
+		/* SBC PWM Module */
+		pwm1: pwm@9510000 {
+			compatible	= "st,sti-pwm";
+			status		= "okay";
+			#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>;
+		};
 	};
 };
diff --git a/arch/arm/boot/dts/stih407.dtsi b/arch/arm/boot/dts/stih407.dtsi
index 2c560fc3..3efa3b2 100644
--- a/arch/arm/boot/dts/stih407.dtsi
+++ b/arch/arm/boot/dts/stih407.dtsi
@@ -147,33 +147,5 @@
 				};
 			};
 		};
-
-		/* COMMS PWM Module */
-		pwm0: pwm@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@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


  parent reply	other threads:[~2015-07-06  9:00 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-06  8:58 [RESEND 00/10] regulator: pwm-regulator: Introduce continuous-mode Lee Jones
2015-07-06  8:58 ` [RESEND 01/10] ARM: multi_v7_defconfig: Enable ST's PWM driver Lee Jones
2015-07-06  8:58 ` [RESEND 02/10] ARM: multi_v7_defconfig: Enable ST's Power Reset driver Lee Jones
2015-07-06  8:58 ` [RESEND 03/10] ARM: multi_v7_defconfig: Enable support for PWM Regulators Lee Jones
2015-07-06  8:58 ` Lee Jones [this message]
2015-07-06  8:58 ` [RESEND 05/10] ARM: STi: STiH407: Add PWM Regulator node Lee Jones
2015-07-06  8:58 ` [RESEND 06/10] dt: regulator: pwm-regulator: Re-write bindings Lee Jones
2015-07-07 13:38   ` Mark Brown
2015-07-06  8:58 ` [RESEND 07/10] regulator: pwm-regulator: Separate voltage-table initialisation Lee Jones
2015-07-06  8:58 ` [RESEND 08/10] regulator: pwm-regulator: Add support for continuous-voltage Lee Jones
2015-07-07 13:31   ` Mark Brown
2015-07-07 13:45     ` Lee Jones
2015-07-07 13:53       ` Mark Brown
2015-07-06  8:58 ` [RESEND 09/10] regulator: pwm-regulator: Simplify voltage to duty-cycle call Lee Jones
2015-07-07 13:32   ` Mark Brown
2015-07-07 13:45     ` Lee Jones
2015-07-07 13:52       ` Mark Brown
2015-07-07 14:29         ` Lee Jones
2015-07-06  8:58 ` [RESEND 10/10] regulator: pwm-regulator: Don't assign structure attributes right away Lee Jones
2015-07-06 20:48 ` [RESEND 00/10] regulator: pwm-regulator: Introduce continuous-mode Mark Brown
2015-07-07  6:52   ` Lee Jones
2015-07-07 12:03     ` Mark Brown
2015-07-07 12:52       ` Lee Jones

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=1436173112-21397-5-git-send-email-lee.jones@linaro.org \
    --to=lee.jones@linaro.org \
    --cc=broonie@kernel.org \
    --cc=kernel@stlinux.com \
    --cc=lgirdwood@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.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

all inboxes | Powered by JetHome®