From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934330AbeAKMsW (ORCPT + 1 other); Thu, 11 Jan 2018 07:48:22 -0500 Received: from mail.free-electrons.com ([62.4.15.54]:51914 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932531AbeAKMsT (ORCPT ); Thu, 11 Jan 2018 07:48:19 -0500 Date: Thu, 11 Jan 2018 13:47:52 +0100 From: Maxime Ripard To: hao_zhang Cc: thierry.reding@gmail.com, robh+dt@kernel.org, mark.rutland@arm.com, linux@armlinux.org.uk, wens@csie.org, linus.walleij@linaro.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pwm@vger.kernel.org Subject: Re: [PATCH v1 4/4] ARM: dts: add pwm node for r40. Message-ID: <20180111124752.2ljspnaclwgz2s62@flea.lan> References: <20180111113412.GA22008@arx-s1> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="4xnqe4wdxzka55yq" Content-Disposition: inline In-Reply-To: <20180111113412.GA22008@arx-s1> User-Agent: NeoMutt/20171215 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: --4xnqe4wdxzka55yq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Thu, Jan 11, 2018 at 07:34:12PM +0800, hao_zhang wrote: > This patch add pwm node for r40. >=20 > Signed-off-by: hao_zhang > --- > arch/arm/boot/dts/sun8i-r40.dtsi | 13 +++++++++++++ > 1 file changed, 13 insertions(+) >=20 > diff --git a/arch/arm/boot/dts/sun8i-r40.dtsi b/arch/arm/boot/dts/sun8i-r= 40.dtsi > index 173dcc1..84c963c 100644 > --- a/arch/arm/boot/dts/sun8i-r40.dtsi > +++ b/arch/arm/boot/dts/sun8i-r40.dtsi > @@ -295,6 +295,11 @@ > bias-pull-up; > }; > =20 > + pwm_pins: pwm-pins { > + pins =3D "PB2", "PB3"; > + function =3D "pwm"; > + }; > + Is it the only combination of pins that is usable? If so, you can add the pinctrl-0 property directly in the pwm nodes. Thanks! Maxime --=20 Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com --4xnqe4wdxzka55yq Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE0VqZU19dR2zEVaqr0rTAlCFNr3QFAlpXXPcACgkQ0rTAlCFN r3Thyw/9Grr+zgmNahbjNDuTMPgbsjO+ABnXgTZ/p/9QiB9TySIUIOtmP4jIXnWa mPoFOkpWXJaW+8RJWP+BnN8eDGyCJ/SfK1G+l5MtLMR5UySWBNObK35hOLP3J4My Bwa5Vi6KOOyV8lcKG8TyewfhTWGoKJ9e61XEdxgFI2YPij2yzGsJYC3P1xYlfH/Q 5nnqpzROVg7PNy9H5diOE/g4DmlqgbHuBfbBnCDcbOOe2IrLVbdq1LazkE2mbPAb hxOhturwE80+ytFllyjbQJ5CBo0Z8ZYt8lAas+xpJ9lJO3VZB9/b4UwgeQtbGsWB l+mV1adsspmiWg518FjsOIKgmysaHuOHZDX7dWzwnoiqFBfW4oo/YfQKX2wGnPUy upE7VYyXxPSVaXSRjK28uPB4NdhdwpQug3XkhGvTxjNmM5NzW9I4NLJXmF0c6lYd 65T3FDUnvLigeY/XKV1f8SZ26KxpoKmmxYk0UnilEkotXC0fq+rAhy+kV8lf0kci sAFtlNGUHRe0gQhD+CzDJ1Sss+fx6kNRd5dpot/Tqd1STG5qhQmx+PzWY9PCgqln +XIJO3w2dmcXkGx7JgAy0D6tiGJheiViCNLxtEJ7TkCt0kDo1yp6rI4gja0kQdza bsyNyTAhrNhMis0eZFYGfVBtpYcrZtoDyfjwikHhfj022LgPe7k= =iQ7m -----END PGP SIGNATURE----- --4xnqe4wdxzka55yq--