From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754169AbbIRPbF (ORCPT ); Fri, 18 Sep 2015 11:31:05 -0400 Received: from mx1.redhat.com ([209.132.183.28]:60052 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752023AbbIRPbC (ORCPT ); Fri, 18 Sep 2015 11:31:02 -0400 Subject: Re: [linux-sunxi] [PATCH 2/4] ARM: dts: sun8i: Add PWM channel 0 pinmux setting for A23/A33 To: Chen-Yu Tsai , Maxime Ripard References: <1442561739-6824-1-git-send-email-wens@csie.org> <1442561739-6824-3-git-send-email-wens@csie.org> Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com From: Hans de Goede Message-ID: <55FC2E31.3060007@redhat.com> Date: Fri, 18 Sep 2015 11:30:57 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <1442561739-6824-3-git-send-email-wens@csie.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 09/18/2015 03:35 AM, Chen-Yu Tsai wrote: > The PWM controller has 2 outputs, with one usable pin for each. > > Add a pinmux setting for the first channel. This is often used > for backlight dimming on tablets. > > Signed-off-by: Chen-Yu Tsai > --- > arch/arm/boot/dts/sun8i-a23-a33.dtsi | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/arch/arm/boot/dts/sun8i-a23-a33.dtsi b/arch/arm/boot/dts/sun8i-a23-a33.dtsi > index e7054304018a..8f4db82084c5 100644 > --- a/arch/arm/boot/dts/sun8i-a23-a33.dtsi > +++ b/arch/arm/boot/dts/sun8i-a23-a33.dtsi > @@ -412,6 +412,13 @@ > allwinner,pull = ; > }; > > + pwm0_pins: pwm0 { This should be "pwm0_pins_a: pwm0@0" so as to be consistent with the a10 / a20 dtsi files. Regards, Hans > + allwinner,pins = "PH0"; > + allwinner,function = "pwm0"; > + allwinner,drive = ; > + allwinner,pull = ; > + }; > + > i2c0_pins_a: i2c0@0 { > allwinner,pins = "PH2", "PH3"; > allwinner,function = "i2c0"; >