Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1585137ybt; Thu, 9 Jul 2020 10:20:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJynhN0n8Xt6Krejl0M3nOg4HiZ+1fAVAEhDUPbpfbgxXKDH361wbu4XFQdSVUsl3qZwz6F9 X-Received: by 2002:a17:906:3850:: with SMTP id w16mr58350376ejc.205.1594315201554; Thu, 09 Jul 2020 10:20:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594315201; cv=none; d=google.com; s=arc-20160816; b=SNDm5WxUu3w8jbTgIrPZ/aqrL6TYStwKwITTCKhvzWVz4gxMso70GZSn5heALslMhg f/3kqX6vGbUl+fmfzPAlYoL8wjcKkDkY0JmN1GUN+YhIfDirJbmaeRgm5CPNbp/iT1Sw lTI9EYQIBL+DvdSPjreSXAIXfyjF6J3cRAALNMlpZt62wtwkGQtbuB1whOZgY9+cKZ7l Q7nCFHkFIVq1Yh8MYHMwBXxVc905MNqsduuWIC734fYGdr5sLEwEjgq4l7PHSmOR8fhY Z/1FdX5EEJLMhSIG3ZQUqzaiHVMZFkLBTKLJrdiuREQyt3DIC1pw1fgGFjJFxu/daPju 4oNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:mail-followup-to:message-id:subject:cc:to :from:date:dkim-signature; bh=2oK5FVA5y2e5NtfRQpyjrSxaPaL31CIForsMfXHdqMs=; b=hzaLX8ovn7LUqiXLi6ewr5Rno6g399hlkSr9QHjtUpl6qhTWv9oTamy2UjNj7Z6MlD QCr3DpoT34/Bz/zQC7HvXfY+WQMkN1fepFO+9elFVn1/pN+rdWuD3+Veu6sw93n82/8f kNTI85kFW2DCzFIda+sA/3+xmhipteROxFA0ccrTp72wDcwo+6Gf9jmijzN1OxN5Kym9 USdkfMpYTTqUCtPP2X7gvZYEuvQkHnIfABcUUYp1ekjkQ7WymfMGZPUV8bn7qBoHWxAx vVjx2+T6N57wvSnMWcLTnQzBEhemtxTdpeMAmP82VOBW/3ePS6EQy9YNEKO0QFJlh3DG gVmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@megous.com header.s=mail header.b=T8w15sga; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=megous.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ox14si2184664ejb.688.2020.07.09.10.19.37; Thu, 09 Jul 2020 10:20:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@megous.com header.s=mail header.b=T8w15sga; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=megous.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728396AbgGIRRR (ORCPT + 99 others); Thu, 9 Jul 2020 13:17:17 -0400 Received: from vps.xff.cz ([195.181.215.36]:52446 "EHLO vps.xff.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727110AbgGIRRR (ORCPT ); Thu, 9 Jul 2020 13:17:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megous.com; s=mail; t=1594315034; bh=3gV7jbp/PfKuXvsiiUXQuSbzC+4R90WKkgDUbSbOroA=; h=Date:From:To:Cc:Subject:References:X-My-GPG-KeyId:From; b=T8w15sgaUVglRVUStLjyOBe5kD6r6ILjnGJfRaIwX30oPX3HkV/WG0tir90B7u8Tn cwaI33E1ldqktkSPsiixkN2P9H9gkRxRVczxvTT/cGA3ybOv6S8vs2mflJ4EGQLURd IdchOT3qguFiAcjCF1YgaUueWR3ccklPvnTELtUM= Date: Thu, 9 Jul 2020 19:17:13 +0200 From: =?utf-8?Q?Ond=C5=99ej?= Jirman To: Frank Lee Cc: robh+dt@kernel.org, mripard@kernel.org, wens@csie.org, mturquette@baylibre.com, sboyd@kernel.org, gregory.clement@bootlin.com, tglx@linutronix.de, jason@lakedaemon.net, maz@kernel.org, srinivas.kandagatla@linaro.org, linus.walleij@linaro.org, anarsoul@gmail.com, tiny.windzz@gmail.com, rui.zhang@intel.com, daniel.lezcano@linaro.org, amit.kucheria@verdurent.com, lee.jones@linaro.org, p.zabel@pengutronix.de, clabbe@baylibre.com, icenowy@aosc.io, stefan@olimex.com, bage@linutronix.de, devicetree@vger.kernel.org, linux-pm@vger.kernel.org, liyong@allwinnertech.com, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, huangshuosheng@allwinnertech.com, linux-i2c@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v3 04/16] dt-bindings: pinctrl: sunxi: make gpio banks supplies required Message-ID: <20200709171713.tutnlchji4e6i5pv@core.my.home> Mail-Followup-To: =?utf-8?Q?Ond=C5=99ej?= Jirman , Frank Lee , robh+dt@kernel.org, mripard@kernel.org, wens@csie.org, mturquette@baylibre.com, sboyd@kernel.org, gregory.clement@bootlin.com, tglx@linutronix.de, jason@lakedaemon.net, maz@kernel.org, srinivas.kandagatla@linaro.org, linus.walleij@linaro.org, anarsoul@gmail.com, tiny.windzz@gmail.com, rui.zhang@intel.com, daniel.lezcano@linaro.org, amit.kucheria@verdurent.com, lee.jones@linaro.org, p.zabel@pengutronix.de, clabbe@baylibre.com, icenowy@aosc.io, stefan@olimex.com, bage@linutronix.de, devicetree@vger.kernel.org, linux-pm@vger.kernel.org, liyong@allwinnertech.com, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, huangshuosheng@allwinnertech.com, linux-i2c@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20200708071942.22595-1-frank@allwinnertech.com> <20200708071942.22595-5-frank@allwinnertech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200708071942.22595-5-frank@allwinnertech.com> X-My-GPG-KeyId: EBFBDDE11FB918D44D1F56C1F9F0A873BE9777ED Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, On Wed, Jul 08, 2020 at 03:19:30PM +0800, Frank Lee wrote: > Since we don't really have to care about the existing DT for boards, > it would be great to make the gpio banks supplies required. What if the borad doesn't use one of the banks? How would I describe such a board if defining supplies for all banks is required? regards, o. > Signed-off-by: Frank Lee > --- > .../devicetree/bindings/pinctrl/allwinner,sun4i-a10-pinctrl.yaml | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/devicetree/bindings/pinctrl/allwinner,sun4i-a10-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/allwinner,sun4i-a10-pinctrl.yaml > index 226aba0..c30a7b7 100644 > --- a/Documentation/devicetree/bindings/pinctrl/allwinner,sun4i-a10-pinctrl.yaml > +++ b/Documentation/devicetree/bindings/pinctrl/allwinner,sun4i-a10-pinctrl.yaml > @@ -134,6 +134,7 @@ patternProperties: > required: > - "#gpio-cells" > - "#interrupt-cells" > + - "^vcc-p[a-hlm]-supply$" > - compatible > - reg > - interrupts > -- > 1.9.1 > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel