From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754820AbbJUPqF (ORCPT ); Wed, 21 Oct 2015 11:46:05 -0400 Received: from mail-pa0-f67.google.com ([209.85.220.67]:36817 "EHLO mail-pa0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753906AbbJUPp7 (ORCPT ); Wed, 21 Oct 2015 11:45:59 -0400 Message-ID: <5627B309.9080309@gmail.com> Date: Wed, 21 Oct 2015 23:45:13 +0800 From: Caesar Wang User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Rob Herring CC: Caesar Wang , Mark Rutland , "devicetree@vger.kernel.org" , Ian Campbell , Heiko Stuebner , Pawel Moll , "linux-pm@vger.kernel.org" , Dmitry Torokhov , Doug Anderson , "linux-kernel@vger.kernel.org" , Eduardo Valentin , linux-rockchip@lists.infradead.org, Kumar Gala , Zhang Rui , "linux-arm-kernel@lists.infradead.org" Subject: Re: [PATCH v1 1/2] dt-bindings: Sync the dts to this document References: <1445395380-5365-1-git-send-email-wxt@rock-chips.com> <1445395380-5365-2-git-send-email-wxt@rock-chips.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rob, 在 2015年10月21日 23:18, Rob Herring 写道: > On Tue, Oct 20, 2015 at 9:42 PM, Caesar Wang wrote: >> Add the OTP gpio state, we need switch the pin to gpio state >> before the TSADC controller is reset. >> >> Signed-off-by: Caesar Wang >> --- >> >> Changes in v1: >> - As the Doug comments, add the 'init' property to sync document. >> >> Documentation/devicetree/bindings/thermal/rockchip-thermal.txt | 5 +++-- >> 1 file changed, 3 insertions(+), 2 deletions(-) >> >> diff --git a/Documentation/devicetree/bindings/thermal/rockchip-thermal.txt b/Documentation/devicetree/bindings/thermal/rockchip-thermal.txt >> index ef802de..28e84f7 100644 >> --- a/Documentation/devicetree/bindings/thermal/rockchip-thermal.txt >> +++ b/Documentation/devicetree/bindings/thermal/rockchip-thermal.txt >> @@ -27,8 +27,9 @@ tsadc: tsadc@ff280000 { >> clock-names = "tsadc", "apb_pclk"; >> resets = <&cru SRST_TSADC>; >> reset-names = "tsadc-apb"; >> - pinctrl-names = "default"; >> - pinctrl-0 = <&otp_out>; >> + pinctrl-names = "init", "default"; >> + pinctrl-0 = <&otp_gpio>; >> + pinctrl-1 = <&otp_out>; > Are these optional or required? They only appear in the example. Yep, These are required for TSADC. I‘m assumed that's right, I think we don't need to introduce the pinctrl in this document. > Rob > > _______________________________________________ > Linux-rockchip mailing list > Linux-rockchip@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-rockchip