linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Linus Walleij <linus.walleij@linaro.org>
To: Anders Berg <anders.berg@avagotech.com>,
	Mark Brown <broonie@kernel.org>,
	"linux-spi@vger.kernel.org" <linux-spi@vger.kernel.org>
Cc: Alexandre Courbot <gnurou@gmail.com>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"linux-arm-kernel@lists.infradead.org" 
	<linux-arm-kernel@lists.infradead.org>,
	"linux-gpio@vger.kernel.org" <linux-gpio@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 2/2] Documentation: DT bindings for AXM55xx SSP CS
Date: Thu, 4 Sep 2014 19:05:40 +0200	[thread overview]
Message-ID: <CACRpkdZZfSR18acUm8U7aM5uxdX8gefN-Lbw7of5qqEe=Pddqg@mail.gmail.com> (raw)
In-Reply-To: <1409576021-24828-3-git-send-email-anders.berg@avagotech.com>

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@avagotech.com> wrote:
> Bindings and documentation for AXM55xx SSP chip select controller.
>
> Signed-off-by: Anders Berg <anders.berg@avagotech.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@2010088030 {
> +               compatible = "lsi,ssp-gpio";
> +               #gpio-cells = <1>;
> +               reg = <0x20 0x10088030 0x00 0x4>;
> +               gpio-controller;
> +       };
> +
> +       spi0: ssp@2010088000 {
> +               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
>

      reply	other threads:[~2014-09-04 17:05 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-01 12:53 [PATCH 0/2] Add driver for AXM55xx SSP chip selects Anders Berg
2014-09-01 12:53 ` [PATCH 1/2] gpio: " Anders Berg
2014-09-04 17:04   ` Linus Walleij
2014-09-04 17:06     ` Mark Brown
2014-09-04 17:32       ` Linus Walleij
2014-09-05  9:05         ` Anders Berg
2014-09-06 13:53           ` Mark Brown
2014-09-08 11:02             ` Anders Berg
2014-09-08 11:35               ` Mark Brown
2014-09-05  9:47   ` Russell King - ARM Linux
2014-09-05 13:40     ` Anders Berg
2014-09-01 12:53 ` [PATCH 2/2] Documentation: DT bindings for AXM55xx SSP CS Anders Berg
2014-09-04 17:05   ` Linus Walleij [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='CACRpkdZZfSR18acUm8U7aM5uxdX8gefN-Lbw7of5qqEe=Pddqg@mail.gmail.com' \
    --to=linus.walleij@linaro.org \
    --cc=anders.berg@avagotech.com \
    --cc=broonie@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=gnurou@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-spi@vger.kernel.org \
    /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).