* [PATCH 3/3] ARM: dts: NSP: Add PWM Support to DT
2016-03-01 17:42 [PATCH 0/3] pwm support for Broadcom iProc SoC's Yendapally Reddy Dhananjaya Reddy
@ 2016-03-01 17:42 ` Yendapally Reddy Dhananjaya Reddy
2016-03-01 20:25 ` Arnd Bergmann
0 siblings, 1 reply; 3+ messages in thread
From: Yendapally Reddy Dhananjaya Reddy @ 2016-03-01 17:42 UTC (permalink / raw)
To: linux-arm-kernel
Add PWM support to the device tree for the Broadcom Northstar Plus SoC.
Signed-off-by: Yendapally Reddy Dhananjaya Reddy <yendapally.reddy@broadcom.com>
---
arch/arm/boot/dts/bcm-nsp.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/bcm-nsp.dtsi b/arch/arm/boot/dts/bcm-nsp.dtsi
index def9e78..f9c8341 100644
--- a/arch/arm/boot/dts/bcm-nsp.dtsi
+++ b/arch/arm/boot/dts/bcm-nsp.dtsi
@@ -206,6 +206,14 @@
brcm,nand-has-wp;
};
+ pwm: pwm at 31000 {
+ compatible = "brcm,iproc-pwm";
+ reg = <0x31000 0x28>;
+ clocks = <&osc>;
+ #pwm-cells = <3>;
+ status = "disabled";
+ };
+
ccbtimer0: timer at 34000 {
compatible = "arm,sp804";
reg = <0x34000 0x1000>;
--
2.1.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 3/3] ARM: dts: NSP: Add PWM Support to DT
2016-03-01 17:42 ` [PATCH 3/3] ARM: dts: NSP: Add PWM Support to DT Yendapally Reddy Dhananjaya Reddy
@ 2016-03-01 20:25 ` Arnd Bergmann
0 siblings, 0 replies; 3+ messages in thread
From: Arnd Bergmann @ 2016-03-01 20:25 UTC (permalink / raw)
To: linux-arm-kernel
On Tuesday 01 March 2016 12:42:49 Yendapally Reddy Dhananjaya Reddy wrote:
> };
>
> + pwm: pwm at 31000 {
> + compatible = "brcm,iproc-pwm";
> + reg = <0x31000 0x28>;
> + clocks = <&osc>;
> + #pwm-cells = >;
> + status = "disabled";
> + };
>
Should this also list "brcm,kona-pwm" as compatible? From patch
1, it sounds like that was the original one.
Arnd
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 3/3] ARM: dts: NSP: Add PWM Support to DT
[not found] <CAL2FKYkoXFm_pG6inxJqwkRqEK-TsMT2ndy4fgvQG1wT6AZ03Q@mail.gmail.com>
@ 2016-03-02 15:28 ` Arnd Bergmann
0 siblings, 0 replies; 3+ messages in thread
From: Arnd Bergmann @ 2016-03-02 15:28 UTC (permalink / raw)
To: linux-arm-kernel
On Wednesday 02 March 2016 20:22:01 Yendapally Reddy Dhananjaya Reddy wrote:
> On Wed, Mar 2, 2016 at 1:55 AM, Arnd Bergmann <arnd@arndb.de> wrote:
> > On Tuesday 01 March 2016 12:42:49 Yendapally Reddy Dhananjaya Reddy wrote:
> >> };
> >>
> >> + pwm: pwm at 31000 {
> >> + compatible = "brcm,iproc-pwm";
> >> + reg = <0x31000 0x28>;
> >> + clocks = <&osc>;
> >> + #pwm-cells = >;
> >> + status = "disabled";
> >> + };
> >>
> >
> > Should this also list "brcm,kona-pwm" as compatible? From patch
> > 1, it sounds like that was the original one.
>
> Arnd,
>
> The NSP is a iProc based SoC and the pwm controller register offsets are
> slightly differ with the kona pwm controller. The compatible will be either
> "brcm,kona-pwm" or "brcm,iproc-pwm".
Ok, got it, thanks for the explanation.
Arnd
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-03-02 15:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <CAL2FKYkoXFm_pG6inxJqwkRqEK-TsMT2ndy4fgvQG1wT6AZ03Q@mail.gmail.com>
2016-03-02 15:28 ` [PATCH 3/3] ARM: dts: NSP: Add PWM Support to DT Arnd Bergmann
2016-03-01 17:42 [PATCH 0/3] pwm support for Broadcom iProc SoC's Yendapally Reddy Dhananjaya Reddy
2016-03-01 17:42 ` [PATCH 3/3] ARM: dts: NSP: Add PWM Support to DT Yendapally Reddy Dhananjaya Reddy
2016-03-01 20:25 ` Arnd Bergmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox