mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alexandre Belloni <alexandre.belloni@free-electrons.com>
To: Thierry Reding <thierry.reding@gmail.com>,
	Maxime Ripard <maxime.ripard@free-electrons.com>
Cc: linux-pwm@vger.kernel.org, linux-doc@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org,
	Alexandre Belloni <alexandre.belloni@free-electrons.com>
Subject: [PATCHv2 6/7] ARM: sun7i: dt: add PWM support
Date: Sat, 12 Apr 2014 23:25:58 +0200	[thread overview]
Message-ID: <1397337959-12408-7-git-send-email-alexandre.belloni@free-electrons.com> (raw)
In-Reply-To: <1397337959-12408-1-git-send-email-alexandre.belloni@free-electrons.com>

Add the PWM bindings for the Allwinner A20.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
---
 arch/arm/boot/dts/sun7i-a20.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi
index c6eb881a3ced..19d1f60209c5 100644
--- a/arch/arm/boot/dts/sun7i-a20.dtsi
+++ b/arch/arm/boot/dts/sun7i-a20.dtsi
@@ -692,6 +692,14 @@
 			interrupts = <0 24 4>;
 		};
 
+		pwm: pwm@01c20e00 {
+			compatible = "allwinner,sun7i-a20-pwm";
+			reg = <0x01c20e00 0xc>;
+			clocks = <&osc24M>;
+			#pwm-cells = <3>;
+			status = "disabled";
+		};
+
 		sid: eeprom@01c23800 {
 			compatible = "allwinner,sun7i-a20-sid";
 			reg = <0x01c23800 0x200>;
-- 
1.8.3.2


  parent reply	other threads:[~2014-04-12 21:28 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-12 21:25 [PATCHv2 0/7] Add Allwinner SoCs " Alexandre Belloni
2014-04-12 21:25 ` [PATCHv2 1/7] pwm: Add Allwinner SoC support Alexandre Belloni
2014-04-15 11:56   ` Maxime Ripard
2014-04-12 21:25 ` [PATCHv2 2/7] pwm: sunxi: document OF bindings Alexandre Belloni
2014-04-15  9:00   ` Maxime Ripard
2014-04-12 21:25 ` [PATCHv2 3/7] ARM: sun4i: dt: add pinmux configuration for the PWM Alexandre Belloni
2014-04-12 21:25 ` [PATCHv2 4/7] ARM: sun4i: dt: add PWM support Alexandre Belloni
2014-04-12 21:25 ` [PATCHv2 5/7] ARM: sun7i: dt: add pinmux configuration for the PWM Alexandre Belloni
2014-04-12 21:25 ` Alexandre Belloni [this message]
2014-04-12 21:25 ` [PATCHv2 7/7] ARM: sunxi: dt: add PWM support for the cubietruck Alexandre Belloni

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=1397337959-12408-7-git-send-email-alexandre.belloni@free-electrons.com \
    --to=alexandre.belloni@free-electrons.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pwm@vger.kernel.org \
    --cc=maxime.ripard@free-electrons.com \
    --cc=thierry.reding@gmail.com \
    /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®