Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1591724 > unrolled thread

Re: [PATCH 2/2] drivers: pwm: pwm-atmel: enable pwm on sama5d2

Started byRob Herring <robh@kernel.org>
First post2017-03-03 08:40 +0100
Last post2017-03-03 11:00 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH 2/2] drivers: pwm: pwm-atmel: enable pwm on sama5d2 Rob Herring <robh@kernel.org> - 2017-03-03 08:40 +0100
    Re: [PATCH 2/2] drivers: pwm: pwm-atmel: enable pwm on sama5d2 m18063 <Claudiu.Beznea@microchip.com> - 2017-03-03 11:00 +0100

#1591724 — Re: [PATCH 2/2] drivers: pwm: pwm-atmel: enable pwm on sama5d2

FromRob Herring <robh@kernel.org>
Date2017-03-03 08:40 +0100
SubjectRe: [PATCH 2/2] drivers: pwm: pwm-atmel: enable pwm on sama5d2
Message-ID<tgPYJ-6by-9@gated-at.bofh.it>
On Tue, Feb 28, 2017 at 12:40:15PM +0200, Claudiu Beznea wrote:
> sama5d2 can use the same atmel_pwm_data as sama5d3.
> 
> Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
> ---
>  Documentation/devicetree/bindings/pwm/atmel-pwm.txt | 1 +
>  drivers/pwm/pwm-atmel.c                             | 3 +++
>  2 files changed, 4 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/pwm/atmel-pwm.txt b/Documentation/devicetree/bindings/pwm/atmel-pwm.txt
> index 02331b9..c8c831d 100644
> --- a/Documentation/devicetree/bindings/pwm/atmel-pwm.txt
> +++ b/Documentation/devicetree/bindings/pwm/atmel-pwm.txt
> @@ -4,6 +4,7 @@ Required properties:
>    - compatible: should be one of:
>      - "atmel,at91sam9rl-pwm"
>      - "atmel,sama5d3-pwm"
> +    - "atmel,sama5d2-pwm"

Perhaps sama5d3 should be a fallback, then you don't need a driver 
change.

Rob

[toc] | [next] | [standalone]


#1591815

Fromm18063 <Claudiu.Beznea@microchip.com>
Date2017-03-03 11:00 +0100
Message-ID<tgSaf-7JR-29@gated-at.bofh.it>
In reply to#1591724
Hi,


On 03.03.2017 08:21, Rob Herring wrote:
> On Tue, Feb 28, 2017 at 12:40:15PM +0200, Claudiu Beznea wrote:
>> sama5d2 can use the same atmel_pwm_data as sama5d3.
>>
>> Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
>> ---
>>  Documentation/devicetree/bindings/pwm/atmel-pwm.txt | 1 +
>>  drivers/pwm/pwm-atmel.c                             | 3 +++
>>  2 files changed, 4 insertions(+)
>>
>> diff --git a/Documentation/devicetree/bindings/pwm/atmel-pwm.txt b/Documentation/devicetree/bindings/pwm/atmel-pwm.txt
>> index 02331b9..c8c831d 100644
>> --- a/Documentation/devicetree/bindings/pwm/atmel-pwm.txt
>> +++ b/Documentation/devicetree/bindings/pwm/atmel-pwm.txt
>> @@ -4,6 +4,7 @@ Required properties:
>>    - compatible: should be one of:
>>      - "atmel,at91sam9rl-pwm"
>>      - "atmel,sama5d3-pwm"
>> +    - "atmel,sama5d2-pwm"
> Perhaps sama5d3 should be a fallback, then you don't need a driver 
> change.
>
> Rob

sama5d2 PWM controller have additional features. We intend to support
some of these. This is why I choose to add specific compatible string
for it.

Thank you,
Claudiu Beznea

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web