From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AD2B8C5DF62 for ; Wed, 6 Nov 2019 10:29:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 87FE7217F5 for ; Wed, 6 Nov 2019 10:29:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727257AbfKFK3Y (ORCPT ); Wed, 6 Nov 2019 05:29:24 -0500 Received: from mga05.intel.com ([192.55.52.43]:52551 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725868AbfKFK3X (ORCPT ); Wed, 6 Nov 2019 05:29:23 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Nov 2019 02:29:23 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,274,1569308400"; d="scan'208";a="200674745" Received: from linux.intel.com ([10.54.29.200]) by fmsmga008.fm.intel.com with ESMTP; 06 Nov 2019 02:29:23 -0800 Received: from [10.226.38.65] (rtanwar-mobl.gar.corp.intel.com [10.226.38.65]) by linux.intel.com (Postfix) with ESMTP id 7B6EC5802B9; Wed, 6 Nov 2019 02:29:20 -0800 (PST) Subject: Re: [PATCH v3 2/2] dt-bindings: pinctrl: intel: Add for new SoC From: "Tanwar, Rahul" To: Rob Herring Cc: linus.walleij@linaro.org, mark.rutland@arm.com, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, andriy.shevchenko@intel.com, qi-ming.wu@intel.com, yixin.zhu@linux.intel.com, cheol.yong.kim@intel.com References: <20191105212941.GA8677@bogus> Message-ID: Date: Wed, 6 Nov 2019 18:29:19 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org On 6/11/2019 6:24 PM, Tanwar, Rahul wrote: > Hi Rob, > > Thanks for the feedback. > > On 6/11/2019 5:29 AM, Rob Herring wrote: >>> + bias-pull-up: >>> + $ref: /schemas/types.yaml#/definitions/uint32 >>> + description: Specifies pull-up configuration. >> Isn't this boolean? >> >>> + >>> + bias-pull-down: >>> + $ref: /schemas/types.yaml#/definitions/uint32 >>> + description: Specifies pull-down configuration. >> And this? >> >> Though looks like sometimes it has a value? Pull strength I guess. >> >>> + >>> + drive-strength: >>> + $ref: /schemas/types.yaml#/definitions/uint32 >>> + description: Enables driver-current. >>> + >>> + slew-rate: >>> + $ref: /schemas/types.yaml#/definitions/uint32 >>> + description: Enables slew-rate. >>> + >>> + drive-open-drain: >>> + $ref: /schemas/types.yaml#/definitions/uint32 >>> + description: Specifies open-drain configuration. >> boolean? >> >>> + >>> + output-enable: >>> + $ref: /schemas/types.yaml#/definitions/uint32 >>> + description: Specifies if the pin is to be configured as output. >> boolean? >> >> But really, all of these should have a common schema defining the types >> and only put any additional constraints here. > Yes, you are right. These are all boolean types. > All these are standard properties & we are using them with no > additional constraintsi.e conforming to how they are already > documented in pinctrl-bindings.txt. Shall ijust omit documenting > these properties here in driver bindings ? > >>> + >>> +examples: >>> + # Pinmux controller node >>> + - | >>> + pinctrl: pinctrl@e2880000 { >>> + compatible = "intel,lgm-pinctrl"; >>> + reg = <0xe2880000 0x100000>; >>> + >>> + # Client device subnode >>> + uart0:uart0 { >> space ^ > Just to be sure, you mean space misalignment at below > line <65>; /* UART_TX0 */ ?Or is it something else ? Please ignore this query of mine. I now realizeĀ  that you meant space between alias name & node name i.e. uart0: uart0 {. I will fix it in nextpatch version. Thanks. >>> + pins = <64>, /* UART_RX0 */ >>> + <65>; /* UART_TX0 */ >>> + function = "CONSOLE_UART0"; >>> + pinmux = <1>, >>> + <1>; >>> + groups = "CONSOLE_UART0"; >>> + }; >>> + }; >>> + >>> +... >>> -- >>> 2.11.0 >>> > Regards, > Rahul