Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1654055 > unrolled thread
| Started by | Claudiu Beznea <claudiu.beznea@microchip.com> |
|---|---|
| First post | 2017-05-31 11:30 +0200 |
| Last post | 2017-05-31 12:10 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH v3] ARM: dts: at91: sama5d2_xplained: add pwm controller Claudiu Beznea <claudiu.beznea@microchip.com> - 2017-05-31 11:30 +0200
Re: [PATCH v3] ARM: dts: at91: sama5d2_xplained: add pwm controller Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2017-05-31 12:10 +0200
| From | Claudiu Beznea <claudiu.beznea@microchip.com> |
|---|---|
| Date | 2017-05-31 11:30 +0200 |
| Subject | [PATCH v3] ARM: dts: at91: sama5d2_xplained: add pwm controller |
| Message-ID | <tN870-2UY-29@gated-at.bofh.it> |
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
[toc] | [next] | [standalone]
| From | Alexandre Belloni <alexandre.belloni@free-electrons.com> |
|---|---|
| Date | 2017-05-31 12:10 +0200 |
| Message-ID | <tN8JH-3mG-3@gated-at.bofh.it> |
| In reply to | #1654055 |
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
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web