Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1299634

Re: [PATCH v3 5/5] arm: dts: Add pinctrl/GPIO/EINT node for mt2701

From Matthias Brugger <matthias.bgg@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH v3 5/5] arm: dts: Add pinctrl/GPIO/EINT node for mt2701
Date 2015-12-31 12:30 +0100
Message-ID <qLJAC-3Lf-7@gated-at.bofh.it> (permalink)
References <qKA6m-732-1@gated-at.bofh.it> <qKAg1-76e-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



On 28/12/15 08:09, Biao Huang wrote:
> Add pinctrl and GPIO node to mt2701.dtsi
>
> Signed-off-by: Biao Huang <biao.huang@mediatek.com>
> Acked-by: Linus Walleij <linus.walleij@linaro.org>
> ---
>   arch/arm/boot/dts/mt2701.dtsi |   19 +++++++++++++++++++
>   1 file changed, 19 insertions(+)
>

Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>

Linus, will you take this patch through your branch?

> diff --git a/arch/arm/boot/dts/mt2701.dtsi b/arch/arm/boot/dts/mt2701.dtsi
> index dc02f76..bd88ae9 100644
> --- a/arch/arm/boot/dts/mt2701.dtsi
> +++ b/arch/arm/boot/dts/mt2701.dtsi
> @@ -17,6 +17,7 @@
>   #include <dt-bindings/clock/mt2701-clk.h>
>   #include <dt-bindings/reset-controller/mt2701-resets.h>
>   #include "skeleton64.dtsi"
> +#include "mt2701-pinfunc.h"
>
>   / {
>   	compatible = "mediatek,mt2701";
> @@ -99,6 +100,24 @@
>   		#reset-cells = <1>;
>   	};
>
> +	pio: pinctrl@10005000 {
> +		compatible = "mediatek,mt2701-pinctrl";
> +		reg = <0 0x1000b000 0 0x1000>;
> +		mediatek,pctl-regmap = <&syscfg_pctl_a>;
> +		pins-are-numbered;
> +		gpio-controller;
> +		#gpio-cells = <2>;
> +		interrupt-controller;
> +		#interrupt-cells = <2>;
> +		interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
> +			     <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
> +	};
> +
> +	syscfg_pctl_a: syscfg@10005000 {
> +		compatible = "mediatek,mt2701-pctl-a-syscfg", "syscon";
> +		reg = <0 0x10005000 0 0x1000>;
> +	};
> +
>   	watchdog: watchdog@10007000 {
>   		compatible = "mediatek,mt2701-wdt",
>   			     "mediatek,mt6589-wdt";
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v3 0/5] pinctrl: mediatek: add pinctrl/GPIO/EINT driver for mt2701 Biao Huang <biao.huang@mediatek.com> - 2015-12-28 08:10 +0100
  [PATCH v3 1/5] ARM: mediatek: Add MT2701 config options for mediatek SoCs. Biao Huang <biao.huang@mediatek.com> - 2015-12-28 08:10 +0100
  [PATCH v3 5/5] arm: dts: Add pinctrl/GPIO/EINT node for mt2701 Biao Huang <biao.huang@mediatek.com> - 2015-12-28 08:20 +0100
    Re: [PATCH v3 5/5] arm: dts: Add pinctrl/GPIO/EINT node for mt2701 Matthias Brugger <matthias.bgg@gmail.com> - 2015-12-31 12:30 +0100
      Re: [PATCH v3 5/5] arm: dts: Add pinctrl/GPIO/EINT node for mt2701 Linus Walleij <linus.walleij@linaro.org> - 2016-01-07 11:20 +0100
  [PATCH v3 2/5] dt-bindings: mediatek: Modify pinctrl bindings for mt2701 Biao Huang <biao.huang@mediatek.com> - 2015-12-28 08:20 +0100
    Re: [PATCH v3 2/5] dt-bindings: mediatek: Modify pinctrl bindings  for mt2701 Rob Herring <robh@kernel.org> - 2015-12-29 19:40 +0100
    Re: [PATCH v3 2/5] dt-bindings: mediatek: Modify pinctrl bindings for  mt2701 Matthias Brugger <matthias.bgg@gmail.com> - 2015-12-31 12:20 +0100
    Re: [PATCH v3 2/5] dt-bindings: mediatek: Modify pinctrl bindings for mt2701 Linus Walleij <linus.walleij@linaro.org> - 2016-01-07 11:20 +0100
  Re: [PATCH v3 4/5] pinctrl: mediatek: Add Pinctrl/GPIO/EINT driver  for mt2701 Yingjoe Chen <yingjoe.chen@mediatek.com> - 2015-12-28 09:10 +0100

csiph-web