[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160228081259.GK22051@tiger>
Date: Sun, 28 Feb 2016 16:12:59 +0800
From: Shawn Guo <shawnguo@...nel.org>
To: Julien Grossholtz <julien.grossholtz@...oirfairelinux.com>
Cc: mark.rutland@....com, devicetree@...r.kernel.org,
linux@....linux.org.uk, pawel.moll@....com,
ijc+devicetree@...lion.org.uk, linux-kernel@...r.kernel.org,
robh+dt@...nel.org, kernel@...oirfairelinux.com,
kernel@...gutronix.de, galak@...eaurora.org,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH] ARM: dts: TS-4800: Add gpio driver
On Fri, Feb 19, 2016 at 03:59:02PM -0500, Julien Grossholtz wrote:
> Add dts nodes for TS-4800 FPGA gpio chips.
>
> Signed-off-by: Julien Grossholtz <julien.grossholtz@...oirfairelinux.com>
> ---
> arch/arm/boot/dts/imx51-ts4800.dts | 29 +++++++++++++++++++++++++++++
> 1 file changed, 29 insertions(+)
>
> diff --git a/arch/arm/boot/dts/imx51-ts4800.dts b/arch/arm/boot/dts/imx51-ts4800.dts
> index 0ff76a1..c72c944 100644
> --- a/arch/arm/boot/dts/imx51-ts4800.dts
> +++ b/arch/arm/boot/dts/imx51-ts4800.dts
> @@ -165,6 +165,35 @@
> reg = <0x12000 0x1000>;
> syscon = <&syscon 0x10 6>;
> };
> +
> + fpga_gpio0: fpga_gpio0@...10020 {
> + compatible = "technologic,ts4800-gpio";
I do not understand how this works, considering this compatible is not
supported by kernel.
Shawn
> + reg = <0x10020 0x6>;
> + gpio-controller;
> + #gpio-cells = <2>;
> + };
> +
> + fpga_gpio1: fpga_gpio1@...10028 {
> + compatible = "technologic,ts4800-gpio";
> + reg = <0x10028 0x6>;
> + gpio-controller;
> + #gpio-cells = <2>;
> + };
> +
> + fpga_gpio2: fpga_gpio2@...10030 {
> + compatible = "technologic,ts4800-gpio";
> + reg = <0x10030 0x6>;
> + gpio-controller;
> + #gpio-cells = <2>;
> + };
> +
> + fpga_gpio3: fpga_gpio3@...10038 {
> + compatible = "technologic,ts4800-gpio";
> + reg = <0x10038 0x6>;
> + gpio-controller;
> + ngpios = <8>;
> + #gpio-cells = <2>;
> + };
> };
> };
>
> --
> 2.5.0
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@...ts.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
>
Powered by blists - more mailing lists