From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from galahad.ideasonboard.com ([185.26.127.97]:49831 "EHLO galahad.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1162165AbdD0Ojm (ORCPT ); Thu, 27 Apr 2017 10:39:42 -0400 From: Laurent Pinchart To: Ulrich Hecht Cc: geert@glider.be, horms@verge.net.au, linux-pwm@vger.kernel.org, linux-renesas-soc@vger.kernel.org, magnus.damm@gmail.com, Takeshi Kihara Subject: Re: [PATCH v2 7/8] arm64: dts: r8a7795-salvator-x: Enable PWM2 Date: Thu, 27 Apr 2017 17:40:51 +0300 Message-ID: <5664970.rvzlHsyOZi@avalon> In-Reply-To: <1493303863-23719-8-git-send-email-ulrich.hecht+renesas@gmail.com> References: <1493303863-23719-1-git-send-email-ulrich.hecht+renesas@gmail.com> <1493303863-23719-8-git-send-email-ulrich.hecht+renesas@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-renesas-soc-owner@vger.kernel.org List-ID: Hi Ulrich, Thank you for the patch. On Thursday 27 Apr 2017 16:37:42 Ulrich Hecht wrote: > From: Takeshi Kihara > > This patch enables PWM2 for Salvator-X board on R8A7795 SoC. > > Signed-off-by: Takeshi Kihara > Signed-off-by: Ulrich Hecht > --- > arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > > diff --git a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts > b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts index 8558b27..534b17e > 100644 > --- a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts > +++ b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts > @@ -381,6 +381,11 @@ > function = "pwm1"; > }; > > + pwm2_pins: pwm2 { > + groups = "pwm2_a"; > + function = "pwm2"; > + }; > + > sdhi0_pins: sd0 { > groups = "sdhi0_data4", "sdhi0_ctrl"; > function = "sdhi0"; > @@ -463,6 +468,13 @@ > status = "okay"; > }; > > +&pwm2 { > + /* PMIC DC/DC switching frequency synchronization */ Please pardon the stupid question, but if the PWM channel is used by the PMIC, is there a point in enabling it without a PMIC DT node using it ? > + pinctrl-0 = <&pwm2_pins>; > + pinctrl-names = "default"; > + status = "okay"; > +}; > + > &scif1 { > pinctrl-0 = <&scif1_pins>; > pinctrl-names = "default"; -- Regards, Laurent Pinchart