From: Alexandre Belloni <alexandre.belloni@free-electrons.com>
To: Claudiu Beznea <claudiu.beznea@microchip.com>
Cc: mark.rutland@arm.com, boris.brezillon@free-electrons.com,
pawel.moll@arm.com, ijc+devicetree@hellion.org.uk,
ludovic.desroches@atmel.com, nicolas.ferre@atmel.com,
linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
robh+dt@kernel.org, galak@codeaurora.org,
cyrille.pitchen@atmel.com, linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH] ATM: dts: at91: sama5d2_xplained: add pwm controller
Date: Thu, 23 Feb 2017 09:42:41 +0100 [thread overview]
Message-ID: <20170223084241.6eqm5jxe4t7fpn6a@piout.net> (raw)
In-Reply-To: <1487838778-13473-1-git-send-email-claudiu.beznea@microchip.com>
Hi,
There is a typo in your subject, please fix.
On 23/02/2017 at 10:32:58 +0200, Claudiu Beznea wrote:
> Add pwm controller bindings for sam5d2_xplained
> and enable it.
>
> Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
> ---
> arch/arm/boot/dts/at91-sama5d2_xplained_common.dtsi | 4 ++++
> arch/arm/boot/dts/sama5d2.dtsi | 8 ++++++++
> 2 files changed, 12 insertions(+)
>
> diff --git a/arch/arm/boot/dts/at91-sama5d2_xplained_common.dtsi b/arch/arm/boot/dts/at91-sama5d2_xplained_common.dtsi
> index 9fc270f..493ea29 100644
> --- a/arch/arm/boot/dts/at91-sama5d2_xplained_common.dtsi
> +++ b/arch/arm/boot/dts/at91-sama5d2_xplained_common.dtsi
> @@ -318,6 +318,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 cd459e8..e88785e 100644
> --- a/arch/arm/boot/dts/sama5d2.dtsi
> +++ b/arch/arm/boot/dts/sama5d2.dtsi
> @@ -1098,6 +1098,14 @@
> status = "disabled";
> };
>
> + pwm0: pwm@f802c000 {
> + compatible = "atmel,sama5d2-pwm";
This compatible is not documented and is not used in any driver. Is that
really working?
> + 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
>
--
Alexandre Belloni, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
next prev parent reply other threads:[~2017-02-23 8:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-23 8:32 [PATCH] ATM: dts: at91: sama5d2_xplained: add pwm controller Claudiu Beznea
2017-02-23 8:42 ` Alexandre Belloni [this message]
[not found] ` <20170223084241.6eqm5jxe4t7fpn6a-m++hUPXGwpdeoWH0uzbU5w@public.gmane.org>
2017-02-23 8:43 ` m18063
2017-03-28 11:04 ` m18063
[not found] ` <60c37963-509f-7764-9554-520694294909-UWL1GkI3JZL3oGB3hsPCZA@public.gmane.org>
2017-03-28 11:34 ` 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=20170223084241.6eqm5jxe4t7fpn6a@piout.net \
--to=alexandre.belloni@free-electrons.com \
--cc=boris.brezillon@free-electrons.com \
--cc=claudiu.beznea@microchip.com \
--cc=cyrille.pitchen@atmel.com \
--cc=devicetree@vger.kernel.org \
--cc=galak@codeaurora.org \
--cc=ijc+devicetree@hellion.org.uk \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=ludovic.desroches@atmel.com \
--cc=mark.rutland@arm.com \
--cc=nicolas.ferre@atmel.com \
--cc=pawel.moll@arm.com \
--cc=robh+dt@kernel.org \
/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