mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/3] ARM: sun8i: v3s: add PWM device node
@ 2017-05-24 12:13 Icenowy Zheng
  2017-05-24 12:13 ` [PATCH 2/3] ARM: sun8i: v3s: add PWM pinmux nodes Icenowy Zheng
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Icenowy Zheng @ 2017-05-24 12:13 UTC (permalink / raw)
  To: Maxime Ripard, Chen-Yu Tsai
  Cc: devicetree, linux-arm-kernel, linux-kernel, linux-sunxi, Icenowy Zheng

As we have already the support for the PWM controller on V3s SoC, add
its device node in the SoC's DTSI file.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
---
 arch/arm/boot/dts/sun8i-v3s.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/sun8i-v3s.dtsi b/arch/arm/boot/dts/sun8i-v3s.dtsi
index a49ebef53c91..bb080c4bd22c 100644
--- a/arch/arm/boot/dts/sun8i-v3s.dtsi
+++ b/arch/arm/boot/dts/sun8i-v3s.dtsi
@@ -255,6 +255,14 @@
 			interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
 		};
 
+		pwm: pwm@1c21400 {
+			compatible = "allwinner,sun7i-a20-pwm";
+			reg = <0x01c21400 0x400>;
+			clocks = <&osc24M>;
+			#pwm-cells = <3>;
+			status = "disabled";
+		};
+
 		lradc: lradc@1c22800 {
 			compatible = "allwinner,sun4i-a10-lradc-keys";
 			reg = <0x01c22800 0x400>;
-- 
2.12.2

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-05-29  9:26 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-24 12:13 [PATCH 1/3] ARM: sun8i: v3s: add PWM device node Icenowy Zheng
2017-05-24 12:13 ` [PATCH 2/3] ARM: sun8i: v3s: add PWM pinmux nodes Icenowy Zheng
2017-05-29  7:01   ` Maxime Ripard
2017-05-24 12:13 ` [PATCH 3/3] ARM: sun8i: v3s: add backlight device node for Lichee Pi Zero LCD Icenowy Zheng
2017-05-29  7:41   ` Maxime Ripard
2017-05-29  8:16     ` Chen-Yu Tsai
2017-05-29  9:26       ` Maxime Ripard
2017-05-29  6:59 ` [PATCH 1/3] ARM: sun8i: v3s: add PWM device node Maxime Ripard

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®