From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752057AbdCCJ6Y (ORCPT ); Fri, 3 Mar 2017 04:58:24 -0500 Received: from smtpout.microchip.com ([198.175.253.82]:42011 "EHLO email.microchip.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751340AbdCCJ6W (ORCPT ); Fri, 3 Mar 2017 04:58:22 -0500 Subject: Re: [PATCH 2/2] drivers: pwm: pwm-atmel: enable pwm on sama5d2 To: Rob Herring References: <1488278415-2786-1-git-send-email-claudiu.beznea@microchip.com> <1488278415-2786-3-git-send-email-claudiu.beznea@microchip.com> <20170303062120.uippq2ajtnrxfcx5@rob-hp-laptop> CC: , , , , , , , , , , From: m18063 Message-ID: Date: Fri, 3 Mar 2017 11:53:17 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <20170303062120.uippq2ajtnrxfcx5@rob-hp-laptop> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 >> --- >> 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