From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthias Brugger Subject: Re: [PATCH 6/7] arm64: dts: mt7622: use gpio-ranges to pinctrl device Date: Mon, 16 Jul 2018 15:36:50 +0200 Message-ID: <76cde153-74db-101d-84a1-a0a7da679daf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org To: sean.wang@mediatek.com, linus.walleij@linaro.org, linux-mediatek@lists.infradead.org Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org List-Id: linux-gpio@vger.kernel.org On 22/06/18 05:49, sean.wang@mediatek.com wrote: > From: Sean Wang > > Using gpio-ranges property represent which GPIOs correspond to which pins > on MT7622 pin controllers. For details, we can see section 2.1 of > Documentation/devicetree/bindings/gpio/gpio.txt to know how to bind pinctrl > and gpio drivers via the "gpio-ranges" property. > > Signed-off-by: Sean Wang pushed now to v4.18-next/dts64 Thanks > --- > arch/arm64/boot/dts/mediatek/mt7622.dtsi | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm64/boot/dts/mediatek/mt7622.dtsi b/arch/arm64/boot/dts/mediatek/mt7622.dtsi > index e2c5450..50cb56c 100644 > --- a/arch/arm64/boot/dts/mediatek/mt7622.dtsi > +++ b/arch/arm64/boot/dts/mediatek/mt7622.dtsi > @@ -291,6 +291,7 @@ > reg-names = "base", "eint"; > gpio-controller; > #gpio-cells = <2>; > + gpio-ranges = <&pio 0 0 103>; > interrupt-controller; > interrupts = ; > interrupt-parent = <&gic>; >