[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdZZfSR18acUm8U7aM5uxdX8gefN-Lbw7of5qqEe=Pddqg@mail.gmail.com>
Date: Thu, 4 Sep 2014 19:05:40 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Anders Berg <anders.berg@...gotech.com>,
Mark Brown <broonie@...nel.org>,
"linux-spi@...r.kernel.org" <linux-spi@...r.kernel.org>
Cc: Alexandre Courbot <gnurou@...il.com>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"linux-gpio@...r.kernel.org" <linux-gpio@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 2/2] Documentation: DT bindings for AXM55xx SSP CS
I bet Mark and linux-spi are interested in this patch too.
Yours,
Linus Walleij
On Mon, Sep 1, 2014 at 2:53 PM, Anders Berg <anders.berg@...gotech.com> wrote:
> Bindings and documentation for AXM55xx SSP chip select controller.
>
> Signed-off-by: Anders Berg <anders.berg@...gotech.com>
> ---
> .../devicetree/bindings/gpio/gpio-axxia-sspcs.txt | 36 ++++++++++++++++++++++
> 1 file changed, 36 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/gpio/gpio-axxia-sspcs.txt
>
> diff --git a/Documentation/devicetree/bindings/gpio/gpio-axxia-sspcs.txt b/Documentation/devicetree/bindings/gpio/gpio-axxia-sspcs.txt
> new file mode 100644
> index 0000000..a64c695
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/gpio/gpio-axxia-sspcs.txt
> @@ -0,0 +1,36 @@
> +* Axxia SSP GPIO chip-select driver
> +
> +The Axxia device has a ARM PL022 Prime Cell SSP controller with an extension of
> +five chip select signals that may be controlled by software. This driver
> +exports them as GPIOs.
> +
> +Required properties:
> +
> + * compatible: should be "lsi,ssp-gpio"
> + * reg: address of the chip select control register.
> + * gpio-controller: mark the device as gpio controller
> + * #gpio-cells: should be 1 and this field specifies the chip select number
> +
> +Example:
> +-------
> +
> + spics: sspgpio@...0088030 {
> + compatible = "lsi,ssp-gpio";
> + #gpio-cells = <1>;
> + reg = <0x20 0x10088030 0x00 0x4>;
> + gpio-controller;
> + };
> +
> + spi0: ssp@...0088000 {
> + compatible = "arm,pl022", "arm,primecell";
> + #address-cells = <1>;
> + #size-cells = <0>;
> + reg = <0x20 0x10088000 0x00 0x1000>;
> + num-cs = <5>;
> + cs-gpios = <&spics 0>,
> + <&spics 1>,
> + <&spics 2>,
> + <&spics 3>,
> + <&spics 4>;
> + ...
> + };
> --
> 1.9.1
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists