[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <e6747e99-78b6-ed8c-d6fa-cab2f7398fcf@gmail.com>
Date: Mon, 25 Jun 2018 17:02:28 +0200
From: Matthias Brugger <matthias.bgg@...il.com>
To: sean.wang@...iatek.com, robh+dt@...nel.org, mark.rutland@....com,
linus.walleij@...aro.org, devicetree@...r.kernel.org,
linux-mediatek@...ts.infradead.org
Cc: linux-arm-kernel@...ts.infradead.org, linux-gpio@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v1 7/7] arm64: dts: mt7622: add EINT support to pinctrl
On 20/05/18 19:01, sean.wang@...iatek.com wrote:
> From: Sean Wang <sean.wang@...iatek.com>
>
> Add EINT support to pinctrl and set those GPIO keys as interrupt-driven
> keys.
>
> Signed-off-by: Sean Wang <sean.wang@...iatek.com>
> ---
Merged,
Thanks!
> arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts | 2 +-
> arch/arm64/boot/dts/mediatek/mt7622.dtsi | 8 +++++++-
> 2 files changed, 8 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts b/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts
> index b783764..1ff003e 100644
> --- a/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts
> +++ b/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts
> @@ -34,7 +34,7 @@
> };
>
> gpio-keys {
> - compatible = "gpio-keys-polled";
> + compatible = "gpio-keys";
> poll-interval = <100>;
>
> factory {
> diff --git a/arch/arm64/boot/dts/mediatek/mt7622.dtsi b/arch/arm64/boot/dts/mediatek/mt7622.dtsi
> index 9213c96..e2c5450 100644
> --- a/arch/arm64/boot/dts/mediatek/mt7622.dtsi
> +++ b/arch/arm64/boot/dts/mediatek/mt7622.dtsi
> @@ -286,9 +286,15 @@
>
> pio: pinctrl@...11000 {
> compatible = "mediatek,mt7622-pinctrl";
> - reg = <0 0x10211000 0 0x1000>;
> + reg = <0 0x10211000 0 0x1000>,
> + <0 0x10005000 0 0x1000>;
> + reg-names = "base", "eint";
> gpio-controller;
> #gpio-cells = <2>;
> + interrupt-controller;
> + interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
> + interrupt-parent = <&gic>;
> + #interrupt-cells = <2>;
> };
>
> watchdog: watchdog@...12000 {
>
Powered by blists - more mailing lists