From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751037AbdEaJCL (ORCPT ); Wed, 31 May 2017 05:02:11 -0400 Received: from esa3.microchip.iphmx.com ([68.232.153.233]:11469 "EHLO esa3.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750869AbdEaJCJ (ORCPT ); Wed, 31 May 2017 05:02:09 -0400 X-IronPort-AV: E=Sophos;i="5.38,422,1491289200"; d="scan'208";a="3349267" Subject: Re: [PATCH v2] ARM: dts: at91: sama5d2_xplained: add pwm controller To: Alexandre Belloni CC: , , , , , , , , , , , References: <1487839757-14040-1-git-send-email-claudiu.beznea@microchip.com> <20170531085018.tmbwqrqiiwitnm5u@piout.net> From: m18063 Message-ID: <11d288df-db08-6e14-98a8-1ce6d669c31b@microchip.com> Date: Wed, 31 May 2017 12:02:04 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: <20170531085018.tmbwqrqiiwitnm5u@piout.net> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 31.05.2017 11:50, Alexandre Belloni wrote: > Hi, > > On 23/02/2017 at 10:49:17 +0200, Claudiu Beznea wrote: >> Add pwm controller bindings for sam5d2_xplained >> and enable it. >> >> Changes since v1: >> - Correct the typo in patch subject. >> >> Signed-off-by: Claudiu Beznea >> --- >> 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 = ; >> status = "disabled"; /* conflict with ISC_D2 & ISC_D3 data pins */ > > > This doesn't apply on v4.12-rc1, this file doesn't exist. Sorry, I will resend it. > >> 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"; >> + 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 >> >