devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Matthias Brugger <matthias.bgg@gmail.com>
To: sean.wang@mediatek.com, robh+dt@kernel.org, mark.rutland@arm.com,
	linus.walleij@linaro.org, devicetree@vger.kernel.org,
	linux-mediatek@lists.infradead.org
Cc: linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v1 7/7] arm64: dts: mt7622: add EINT support to pinctrl
Date: Mon, 25 Jun 2018 17:02:28 +0200	[thread overview]
Message-ID: <e6747e99-78b6-ed8c-d6fa-cab2f7398fcf@gmail.com> (raw)
In-Reply-To: <f896f79ebfa9a262c89fdeed89cf086220ca051d.1526835466.git.sean.wang@mediatek.com>



On 20/05/18 19:01, sean.wang@mediatek.com wrote:
> From: Sean Wang <sean.wang@mediatek.com>
> 
> Add EINT support to pinctrl and set those GPIO keys as interrupt-driven
> keys.
> 
> Signed-off-by: Sean Wang <sean.wang@mediatek.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@10211000 {
>  		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@10212000 {
> 

      parent reply	other threads:[~2018-06-25 15:02 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-20 17:01 [PATCH v1 0/7] add external interrupt support to MT7622 pinctrl sean.wang
2018-05-20 17:01 ` [PATCH v1 1/7] dt-bindings: pinctrl: " sean.wang
2018-05-22 20:02   ` Rob Herring
2018-05-24  7:36   ` Linus Walleij
2018-05-20 17:01 ` [PATCH v1 2/7] pinctrl: mediatek: refactor EINT related code for all MediaTek pinctrl can fit sean.wang
2018-05-24  7:37   ` Linus Walleij
2018-05-20 17:01 ` [PATCH v1 3/7] pinctrl: mediatek: add EINT support to MT7622 SoC sean.wang
2018-05-24  7:38   ` Linus Walleij
2018-05-20 17:01 ` [PATCH v1 4/7] pinctrl: mediatek: use generic EINT register maps for each SoC sean.wang
2018-05-24  7:39   ` Linus Walleij
2018-05-20 17:01 ` [PATCH v1 5/7] pinctrl: mediatek: remove unused fields in struct mtk_eint_hw sean.wang
2018-05-24  7:40   ` Linus Walleij
2018-05-20 17:01 ` [PATCH v1 6/7] MAINTAINERS: update entry for PIN CONTROLLER - MEDIATEK sean.wang
2018-05-24  7:41   ` Linus Walleij
     [not found] ` <cover.1526835466.git.sean.wang-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
2018-05-20 17:01   ` [PATCH v1 7/7] arm64: dts: mt7622: add EINT support to pinctrl sean.wang-NuS5LvNUpcJWk0Htik3J/w
2018-05-24  7:42     ` Linus Walleij
2018-06-25 15:02     ` Matthias Brugger [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e6747e99-78b6-ed8c-d6fa-cab2f7398fcf@gmail.com \
    --to=matthias.bgg@gmail.com \
    --cc=devicetree@vger.kernel.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=mark.rutland@arm.com \
    --cc=robh+dt@kernel.org \
    --cc=sean.wang@mediatek.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).