Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp469329ybl; Wed, 4 Dec 2019 05:53:45 -0800 (PST) X-Google-Smtp-Source: APXvYqwaytlO4tBBt0CcytJxk9s+D763pfSTTIcRjLkVGvKemepFDbNWrgNLDyZ9FC7iR6PWMS+q X-Received: by 2002:a9d:2073:: with SMTP id n106mr2470736ota.145.1575467625716; Wed, 04 Dec 2019 05:53:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575467625; cv=none; d=google.com; s=arc-20160816; b=LWV0ZKwKjDE7LSRtI3kdFTpcyjy/B5q+6DevN+orIyYxW0/YBa8ZJ9ji0PBeSR1GTL gcaDVJCUc1fZQEM5mM+1OYXHE2agtTP5/+MtooGJMnS4tGckhRshrum/rYUGhhiIfdxS 7FWmZcBqvDIkS497F/twsxs0wSIed3sXpVN83lb9zi7dsETL+wCDLGW2LUDrDpftcKb4 qSdcCI+9hq2nnXoEzTugtUu24yTMO4FKK1S4m3HVr5OqZ6O9vjn0YOITX5x1DrzHVynd ERVa27UGHOMXAi+HQezNJVmzoIg2H9Bda3/E1irbtx1nIjnPkmrsNFQZsInzBZp+pFMH buuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:thread-index:thread-topic :content-transfer-encoding:mime-version:subject:references :in-reply-to:message-id:cc:to:from:date:dkim-signature:dkim-filter; bh=l+sKtua1XQcGeyC5IHvScFDmfWCdcMfwZhdZEKd20y8=; b=WukKOY07EQX6zZeu03bx05/kyTgPvumEXqSaOuY7dn9ixXGuj2CjLfE6m70O3xxk7k AzR1TUUE/TCp69D+D2jJmLIvQ4JOj6r0PzvDPjbbLlF2ngreBZG+npO9urpTdS8M6tsY pwtolvhn5m2u55qY3io73R0fF2JrxYhL2KnQfH8c8trAH0SQa022gGDbAzLB7n5hbEHz +UgicVkq0trDrz1eYJuosGhqedcjKJxxBWpfnWTktqT9Qf0qtaUMg1mYNoIg/SM2HhjL +xqk4Ekulk3mbzQxrObd/fIO/66I4AX8diUgDlOP9eOSIbd57kBHn4dy8NKp2M+4yOw4 JGHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kalray.eu header.s=32AE1B44-9502-11E5-BA35-3734643DEF29 header.b="FPxnmvX/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=kalray.eu Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c66si3209014oig.265.2019.12.04.05.53.33; Wed, 04 Dec 2019 05:53:45 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kalray.eu header.s=32AE1B44-9502-11E5-BA35-3734643DEF29 header.b="FPxnmvX/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=kalray.eu Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727989AbfLDNxB (ORCPT + 99 others); Wed, 4 Dec 2019 08:53:01 -0500 Received: from zimbra2.kalray.eu ([92.103.151.219]:45892 "EHLO zimbra2.kalray.eu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727849AbfLDNxB (ORCPT ); Wed, 4 Dec 2019 08:53:01 -0500 Received: from localhost (localhost [127.0.0.1]) by zimbra2.kalray.eu (Postfix) with ESMTP id E665927E06C1; Wed, 4 Dec 2019 14:52:59 +0100 (CET) Received: from zimbra2.kalray.eu ([127.0.0.1]) by localhost (zimbra2.kalray.eu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id AXnIOwQeJpuJ; Wed, 4 Dec 2019 14:52:59 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by zimbra2.kalray.eu (Postfix) with ESMTP id 6571027E1514; Wed, 4 Dec 2019 14:52:59 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.10.3 zimbra2.kalray.eu 6571027E1514 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kalray.eu; s=32AE1B44-9502-11E5-BA35-3734643DEF29; t=1575467579; bh=l+sKtua1XQcGeyC5IHvScFDmfWCdcMfwZhdZEKd20y8=; h=Date:From:To:Message-ID:MIME-Version; b=FPxnmvX/7mQY7hzhONZ5AQctLwUL5cCyFuyZSoaKqfQpT2V4V2BHx36FhxL2fkoUy /1v63znvh7sOuaRt+5DHR1JXFL+4NvoFr46S2tEwOY6xpvvYQiGvZ8Vw0O5r+Qts4x lwc3LiT0SPxR7vvWNOypzGzw4usO1atEA+WMaWp8= X-Virus-Scanned: amavisd-new at zimbra2.kalray.eu Received: from zimbra2.kalray.eu ([127.0.0.1]) by localhost (zimbra2.kalray.eu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 2LF3YxJNRt_T; Wed, 4 Dec 2019 14:52:59 +0100 (CET) Received: from zimbra2.kalray.eu (localhost [127.0.0.1]) by zimbra2.kalray.eu (Postfix) with ESMTP id 4BD8127E06C1; Wed, 4 Dec 2019 14:52:59 +0100 (CET) Date: Wed, 4 Dec 2019 14:52:59 +0100 (CET) From: =?utf-8?Q?Cl=C3=A9ment?= Leger To: Andy Shevchenko Cc: linux-kernel , Linus Walleij , Bartosz Golaszewski , Rob Herring , Mark Rutland , Hoan Tran , "open list, GPIO SUBSYSTEM" , devicetree Message-ID: <696316719.95315119.1575467579136.JavaMail.zimbra@kalray.eu> In-Reply-To: References: <20191204101042.4275-6-cleger@kalray.eu> Subject: Re: [PATCH 5/5] dt-bindings: pinctrl: dw: move sps,dwapb-gpio.txt to pinctrl MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [192.168.40.202] X-Mailer: Zimbra 8.8.12_GA_3794 (ZimbraWebClient - GC75 (Linux)/8.8.12_GA_3794) Thread-Topic: dt-bindings: pinctrl: dw: move sps,dwapb-gpio.txt to pinctrl Thread-Index: G/WlHVySL02P41vqPDBPH0jBOUDTkw== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ----- On 4 Dec, 2019, at 13:45, Andy Shevchenko andy.shevchenko@gmail.com wrote: > On Wed, Dec 4, 2019 at 12:13 PM Clement Leger wrote: >> >> Since the driver has been moved to pinctrl and now supports it, move the >> documentation into pinctrl folder. In the same time, add documentation >> for pinctrl properties such has snps,has-pinctrl and description of pin >> alternate functions. > >> +- snps,has-pinctrl : If present, register the pinctrl controller. > > I'm wondering why we can't always assume pin control? This hardware IP is configured when instantiated to include support for muxing. If configured without support, the registers will exists but won't configure anything. I guess that it's not really a problem but it will lead to unusable pin muxing. > >> -F: Documentation/devicetree/bindings/gpio/snps-dwapb-gpio.txt >> +F: Documentation/devicetree/bindings/pinctrl/snps-dwapb-gpio.txt > > I guess this should be a part of patch 2 when you move driver w/o > changes to a new folder. Agreed. I will do that, Thanks > > -- > With Best Regards, > Andy Shevchenko