* [PATCH v3] ARM: dts: at91: sama5d2_xplained: add pwm controller
@ 2017-05-31 9:23 ` Claudiu Beznea
0 siblings, 0 replies; 5+ messages in thread
From: Claudiu Beznea @ 2017-05-31 9:23 UTC (permalink / raw)
To: nicolas.ferre, alexandre.belloni, boris.brezillon, robh+dt,
pawel.moll, mark.rutland, ijc+devicetree, galak
Cc: linux-arm-kernel, devicetree, linux-kernel, claudiu.beznea
Add pwm controller bindings for sama5d2_xplained
and enable it.
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
---
Changes in v3:
- enable pwm in at91-sama5d2_xplained.dts file
Changes in v2:
- Correct the typo in patch subject.
arch/arm/boot/dts/at91-sama5d2_xplained.dts | 4 ++++
arch/arm/boot/dts/sama5d2.dtsi | 8 ++++++++
2 files changed, 12 insertions(+)
diff --git a/arch/arm/boot/dts/at91-sama5d2_xplained.dts b/arch/arm/boot/dts/at91-sama5d2_xplained.dts
index 0bef9e0..558b0af 100644
--- a/arch/arm/boot/dts/at91-sama5d2_xplained.dts
+++ b/arch/arm/boot/dts/at91-sama5d2_xplained.dts
@@ -227,6 +227,10 @@
};
};
+ pwm0: pwm@f802c000 {
+ status = "okay";
+ };
+
flx0: flexcom@f8034000 {
atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_USART>;
status = "disabled"; /* conflict with ISC_D2 & ISC_D3 data pins */
diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi
index 8067c71..bf21b63 100644
--- a/arch/arm/boot/dts/sama5d2.dtsi
+++ b/arch/arm/boot/dts/sama5d2.dtsi
@@ -1065,6 +1065,14 @@
status = "disabled";
};
+ pwm0: pwm@f802c000 {
+ compatible = "atmel,sama5d2-pwm";
+ reg = <0xf802c000 0x4000>;
+ interrupts = <38 IRQ_TYPE_LEVEL_HIGH 7>;
+ #pwm-cells = <3>;
+ clocks = <&pwm_clk>;
+ };
+
sfr: sfr@f8030000 {
compatible = "atmel,sama5d2-sfr", "syscon";
reg = <0xf8030000 0x98>;
--
2.7.4
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH v3] ARM: dts: at91: sama5d2_xplained: add pwm controller
@ 2017-05-31 9:23 ` Claudiu Beznea
0 siblings, 0 replies; 5+ messages in thread
From: Claudiu Beznea @ 2017-05-31 9:23 UTC (permalink / raw)
To: nicolas.ferre-UWL1GkI3JZL3oGB3hsPCZA,
alexandre.belloni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8,
boris.brezillon-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8,
robh+dt-DgEjT+Ai2ygdnm+yROfE0A, pawel.moll-5wv7dgnIgG8,
mark.rutland-5wv7dgnIgG8, ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg,
galak-sgV2jX0FEOL9JmXXK+q4OQ
Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-kernel-u79uwXL29TY76Z2rM5mHXA,
claudiu.beznea-UWL1GkI3JZL3oGB3hsPCZA
Add pwm controller bindings for sama5d2_xplained
and enable it.
Signed-off-by: Claudiu Beznea <claudiu.beznea-UWL1GkI3JZL3oGB3hsPCZA@public.gmane.org>
---
Changes in v3:
- enable pwm in at91-sama5d2_xplained.dts file
Changes in v2:
- Correct the typo in patch subject.
arch/arm/boot/dts/at91-sama5d2_xplained.dts | 4 ++++
arch/arm/boot/dts/sama5d2.dtsi | 8 ++++++++
2 files changed, 12 insertions(+)
diff --git a/arch/arm/boot/dts/at91-sama5d2_xplained.dts b/arch/arm/boot/dts/at91-sama5d2_xplained.dts
index 0bef9e0..558b0af 100644
--- a/arch/arm/boot/dts/at91-sama5d2_xplained.dts
+++ b/arch/arm/boot/dts/at91-sama5d2_xplained.dts
@@ -227,6 +227,10 @@
};
};
+ pwm0: pwm@f802c000 {
+ status = "okay";
+ };
+
flx0: flexcom@f8034000 {
atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_USART>;
status = "disabled"; /* conflict with ISC_D2 & ISC_D3 data pins */
diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi
index 8067c71..bf21b63 100644
--- a/arch/arm/boot/dts/sama5d2.dtsi
+++ b/arch/arm/boot/dts/sama5d2.dtsi
@@ -1065,6 +1065,14 @@
status = "disabled";
};
+ pwm0: pwm@f802c000 {
+ compatible = "atmel,sama5d2-pwm";
+ reg = <0xf802c000 0x4000>;
+ interrupts = <38 IRQ_TYPE_LEVEL_HIGH 7>;
+ #pwm-cells = <3>;
+ clocks = <&pwm_clk>;
+ };
+
sfr: sfr@f8030000 {
compatible = "atmel,sama5d2-sfr", "syscon";
reg = <0xf8030000 0x98>;
--
2.7.4
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH v3] ARM: dts: at91: sama5d2_xplained: add pwm controller
@ 2017-05-31 9:23 ` Claudiu Beznea
0 siblings, 0 replies; 5+ messages in thread
From: Claudiu Beznea @ 2017-05-31 9:23 UTC (permalink / raw)
To: linux-arm-kernel
Add pwm controller bindings for sama5d2_xplained
and enable it.
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
---
Changes in v3:
- enable pwm in at91-sama5d2_xplained.dts file
Changes in v2:
- Correct the typo in patch subject.
arch/arm/boot/dts/at91-sama5d2_xplained.dts | 4 ++++
arch/arm/boot/dts/sama5d2.dtsi | 8 ++++++++
2 files changed, 12 insertions(+)
diff --git a/arch/arm/boot/dts/at91-sama5d2_xplained.dts b/arch/arm/boot/dts/at91-sama5d2_xplained.dts
index 0bef9e0..558b0af 100644
--- a/arch/arm/boot/dts/at91-sama5d2_xplained.dts
+++ b/arch/arm/boot/dts/at91-sama5d2_xplained.dts
@@ -227,6 +227,10 @@
};
};
+ pwm0: pwm at f802c000 {
+ status = "okay";
+ };
+
flx0: flexcom at f8034000 {
atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_USART>;
status = "disabled"; /* conflict with ISC_D2 & ISC_D3 data pins */
diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi
index 8067c71..bf21b63 100644
--- a/arch/arm/boot/dts/sama5d2.dtsi
+++ b/arch/arm/boot/dts/sama5d2.dtsi
@@ -1065,6 +1065,14 @@
status = "disabled";
};
+ pwm0: pwm at f802c000 {
+ compatible = "atmel,sama5d2-pwm";
+ reg = <0xf802c000 0x4000>;
+ interrupts = <38 IRQ_TYPE_LEVEL_HIGH 7>;
+ #pwm-cells = <3>;
+ clocks = <&pwm_clk>;
+ };
+
sfr: sfr at f8030000 {
compatible = "atmel,sama5d2-sfr", "syscon";
reg = <0xf8030000 0x98>;
--
2.7.4
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH v3] ARM: dts: at91: sama5d2_xplained: add pwm controller
2017-05-31 9:23 ` Claudiu Beznea
@ 2017-05-31 10:01 ` Alexandre Belloni
-1 siblings, 0 replies; 5+ messages in thread
From: Alexandre Belloni @ 2017-05-31 10:01 UTC (permalink / raw)
To: Claudiu Beznea
Cc: nicolas.ferre, boris.brezillon, robh+dt, pawel.moll,
mark.rutland, ijc+devicetree, galak, linux-arm-kernel,
devicetree, linux-kernel
On 31/05/2017 at 12:23:12 +0300, Claudiu Beznea wrote:
> Add pwm controller bindings for sama5d2_xplained
> and enable it.
>
> Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
> ---
> Changes in v3:
> - enable pwm in at91-sama5d2_xplained.dts file
>
> Changes in v2:
> - Correct the typo in patch subject.
>
> arch/arm/boot/dts/at91-sama5d2_xplained.dts | 4 ++++
> arch/arm/boot/dts/sama5d2.dtsi | 8 ++++++++
> 2 files changed, 12 insertions(+)
>
Applied, thanks.
--
Alexandre Belloni, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH v3] ARM: dts: at91: sama5d2_xplained: add pwm controller
@ 2017-05-31 10:01 ` Alexandre Belloni
0 siblings, 0 replies; 5+ messages in thread
From: Alexandre Belloni @ 2017-05-31 10:01 UTC (permalink / raw)
To: linux-arm-kernel
On 31/05/2017 at 12:23:12 +0300, Claudiu Beznea wrote:
> Add pwm controller bindings for sama5d2_xplained
> and enable it.
>
> Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
> ---
> Changes in v3:
> - enable pwm in at91-sama5d2_xplained.dts file
>
> Changes in v2:
> - Correct the typo in patch subject.
>
> arch/arm/boot/dts/at91-sama5d2_xplained.dts | 4 ++++
> arch/arm/boot/dts/sama5d2.dtsi | 8 ++++++++
> 2 files changed, 12 insertions(+)
>
Applied, thanks.
--
Alexandre Belloni, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-05-31 10:01 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-31 9:23 [PATCH v3] ARM: dts: at91: sama5d2_xplained: add pwm controller Claudiu Beznea
2017-05-31 9:23 ` Claudiu Beznea
2017-05-31 9:23 ` Claudiu Beznea
2017-05-31 10:01 ` Alexandre Belloni
2017-05-31 10:01 ` Alexandre Belloni
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.