[PATCH 3/4] ARM: sun9i: Enable the A80 pinctrl driver

Chen-Yu Tsai wens at csie.org
Sun Oct 26 19:41:56 PDT 2014


Hi,

On Sun, Oct 26, 2014 at 11:36 PM, Maxime Ripard
<maxime.ripard at free-electrons.com> wrote:
> The A80 pinctrl driver is just as usual our pinctrl/gpio/external interrupt
> controller.
>
> Nothing really out of the extraordinary here...
>
> Signed-off-by: Maxime Ripard <maxime.ripard at free-electrons.com>
> ---
>  arch/arm/boot/dts/sun9i-a80.dtsi | 16 ++++++++++++++++
>  1 file changed, 16 insertions(+)
>
> diff --git a/arch/arm/boot/dts/sun9i-a80.dtsi b/arch/arm/boot/dts/sun9i-a80.dtsi
> index 7bcab5685d0e..9616dc71faf3 100644
> --- a/arch/arm/boot/dts/sun9i-a80.dtsi
> +++ b/arch/arm/boot/dts/sun9i-a80.dtsi
> @@ -337,6 +337,22 @@
>                         clocks = <&osc24M>;
>                 };
>
> +               pio: pinctrl at 06000800 {
> +                       compatible = "allwinner,sun9i-a80-pinctrl";
> +                       reg = <0x06000800 0x400>;
> +                       interrupts = <0 11 4>,
> +                                    <0 15 4>,
> +                                    <0 16 4>,
> +                                    <0 17 4>,
> +                                     <0 120 4>;

Applying patch #5155451 using 'git am'
Description: [3/4] ARM: sun9i: Enable the A80 pinctrl driver
Applying: ARM: sun9i: Enable the A80 pinctrl driver
/home/wens/sunxi/linux/.git/rebase-apply/patch:20: indent with spaces.
                                     <0 120 4>;
warning: 1 line adds whitespace errors.

ChenYu

> +                       clocks = <&apb0_gates 5>;
> +                       gpio-controller;
> +                       interrupt-controller;
> +                       #interrupt-cells = <2>;
> +                       #gpio-cells = <3>;
> +               };
> +
>                 uart0: serial at 07000000 {
>                         compatible = "snps,dw-apb-uart";
>                         reg = <0x07000000 0x400>;
> --
> 2.1.1
>



More information about the linux-arm-kernel mailing list