From: Maxime Ripard <maxime.ripard@free-electrons.com>
To: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Cc: Thierry Reding <thierry.reding@gmail.com>,
linux-pwm@vger.kernel.org, linux-doc@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 3/4] ARM: sun7i: dt: add PWM support
Date: Mon, 31 Mar 2014 16:47:31 +0200 [thread overview]
Message-ID: <20140331144731.GI26751@lukather> (raw)
In-Reply-To: <1396267649-18009-4-git-send-email-alexandre.belloni@free-electrons.com>
[-- Attachment #1: Type: text/plain, Size: 1623 bytes --]
On Mon, Mar 31, 2014 at 02:07:28PM +0200, Alexandre Belloni wrote:
> Adds the PWM bindings for the Allwinner A20.
> Also adds the pinctrl descriptions for both PWM channels.
>
> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
> ---
> arch/arm/boot/dts/sun7i-a20.dtsi | 22 ++++++++++++++++++++++
> 1 file changed, 22 insertions(+)
>
> diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi
> index 6f25cf559ad0..0dd15fcb8955 100644
> --- a/arch/arm/boot/dts/sun7i-a20.dtsi
> +++ b/arch/arm/boot/dts/sun7i-a20.dtsi
> @@ -366,6 +366,20 @@
> #size-cells = <0>;
> #gpio-cells = <3>;
>
> + pwm0_pins_a: pwm0@0 {
> + allwinner,pins = "PB2";
> + allwinner,function = "pwm";
> + allwinner,drive = <0>;
> + allwinner,pull = <0>;
> + };
> +
> + pwm1_pins_a: pwm1@0 {
> + allwinner,pins = "PI3";
> + allwinner,function = "pwm";
> + allwinner,drive = <0>;
> + allwinner,pull = <0>;
> + };
> +
> uart0_pins_a: uart0@0 {
> allwinner,pins = "PB22", "PB23";
> allwinner,function = "uart0";
> @@ -446,6 +460,14 @@
> clocks = <&osc24M>;
> };
>
> + pwm: pwm@01c20e00 {
> + compatible = "allwinner,sun7i-pwm";
> + reg = <0x01c20e00 0xc>;
> + clocks = <&osc24M>;
> + #pwm-cells = <3>;
> + status = "disabled";
> + };
> +
Can you make this two separate patches? One for the muxing options and
one for the introduction of the new IP.
Thanks!
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2014-03-31 14:47 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-31 12:07 [PATCH 0/4] Add Allwinner SoCs PWM support Alexandre Belloni
2014-03-31 12:07 ` [PATCH 1/4] pwm: Add Allwinner SoC support Alexandre Belloni
2014-03-31 12:53 ` Emilio López
2014-03-31 17:35 ` Maxime Ripard
2014-03-31 12:07 ` [PATCH 2/4] pwm: sunxi: document OF bindings Alexandre Belloni
2014-03-31 14:46 ` maxime.ripard
2014-03-31 12:07 ` [PATCH 3/4] ARM: sun7i: dt: add PWM support Alexandre Belloni
2014-03-31 14:47 ` Maxime Ripard [this message]
2014-03-31 12:07 ` [PATCH 4/4] 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=20140331144731.GI26751@lukather \
--to=maxime.ripard@free-electrons.com \
--cc=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=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;
as well as URLs for NNTP newsgroup(s).