From: Lee Jones <lee.jones@linaro.org>
To: tthayer@opensource.altera.com
Cc: linus.walleij@linaro.org, gnurou@gmail.com, robh+dt@kernel.org,
pawel.moll@arm.com, mark.rutland@arm.com,
ijc+devicetree@hellion.org.uk, dinguyen@opensource.altera.com,
linux-gpio@vger.kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCHv2 1/8] dt-bindings: mfd: Add Altera Arria10 System Resource Chip bindings
Date: Fri, 10 Jun 2016 15:47:48 +0100 [thread overview]
Message-ID: <20160610144748.GG1537@dell> (raw)
In-Reply-To: <1464889948-28793-2-git-send-email-tthayer@opensource.altera.com>
On Thu, 02 Jun 2016, tthayer@opensource.altera.com wrote:
> From: Thor Thayer <tthayer@opensource.altera.com>
>
> The Altera Arria10 Devkit System Resource chip is a Multi-Function
> Device with a GPIO expander.
>
> This patch adds documentation for the Altera A10-SR DT bindings.
>
> Signed-off-by: Thor Thayer <tthayer@opensource.altera.com>
> ---
> v2 Addition of IRQ controller bindings.
> Removal of hw_mon sub-device.
> ---
> .../devicetree/bindings/mfd/altera-a10sr.txt | 46 ++++++++++++++++++++
> 1 file changed, 46 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/mfd/altera-a10sr.txt
Applied, thanks.
> diff --git a/Documentation/devicetree/bindings/mfd/altera-a10sr.txt b/Documentation/devicetree/bindings/mfd/altera-a10sr.txt
> new file mode 100644
> index 0000000..ea151f2
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/mfd/altera-a10sr.txt
> @@ -0,0 +1,46 @@
> +* Altera Arria10 Development Kit System Resource Chip
> +
> +Required parent device properties:
> +- compatible : "altr,a10sr"
> +- spi-max-frequency : Maximum SPI frequency.
> +- reg : The SPI Chip Select address for the Arria10
> + System Resource chip
> +- interrupt-parent : The parent interrupt controller.
> +- interrupts : The interrupt line the device is connected to.
> +- interrupt-controller : Marks the device node as an interrupt controller.
> +- #interrupt-cells : The number of cells to describe an IRQ, should be 2.
> + The first cell is the IRQ number.
> + The second cell is the flags, encoded as trigger
> + masks from ../interrupt-controller/interrupts.txt.
> +
> +The A10SR consists of these sub-devices:
> +
> +Device Description
> +------ ----------
> +a10sr_gpio GPIO Controller
> +
> +Arria10 GPIO
> +Required Properties:
> +- compatible : Should be "altr,a10sr-gpio"
> +- gpio-controller : Marks the device node as a GPIO Controller.
> +- #gpio-cells : Should be two. The first cell is the pin number and
> + the second cell is used to specify flags.
> + See ../gpio/gpio.txt for more information.
> +
> +Example:
> +
> + resource-manager@0 {
> + compatible = "altr,a10sr";
> + reg = <0>;
> + spi-max-frequency = <100000>;
> + interrupt-parent = <&portb>;
> + interrupts = <5 IRQ_TYPE_LEVEL_LOW>;
> + interrupt-controller;
> + #interrupt-cells = <2>;
> +
> + a10sr_gpio: gpio-controller {
> + compatible = "altr,a10sr-gpio";
> + gpio-controller;
> + #gpio-cells = <2>;
> + };
> + };
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2016-06-10 14:47 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-02 17:52 [PATCHv2 0/8] Addition of Altera Arria10 System Resource Chip tthayer-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx
2016-06-02 17:52 ` [PATCHv2 2/8] MAINTAINERS: Add " tthayer
[not found] ` <1464889948-28793-3-git-send-email-tthayer-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org>
2016-06-10 14:47 ` Lee Jones
2016-06-10 18:09 ` Thor Thayer
2016-06-02 17:52 ` [PATCHv2 3/8] mfd: altr_a10sr: Add Altera Arria10 DevKit " tthayer
[not found] ` <1464889948-28793-4-git-send-email-tthayer-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org>
2016-06-10 14:48 ` Lee Jones
2016-06-02 17:52 ` [PATCHv2 4/8] gpio: altera-a10sr: Add A10 System Resource Chip GPIO support tthayer
[not found] ` <1464889948-28793-5-git-send-email-tthayer-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org>
2016-10-10 16:50 ` Thor Thayer
2016-10-21 9:08 ` Linus Walleij
2016-10-24 22:29 ` Thor Thayer
2016-06-02 17:52 ` [PATCHv2 5/8] ARM: socfpga: dts: Add SPI Master1 for Arria10 SR chip tthayer
[not found] ` <1464889948-28793-6-git-send-email-tthayer-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org>
2016-10-10 19:10 ` Thor Thayer
2016-10-10 21:54 ` Dinh Nguyen
2016-06-02 17:52 ` [PATCHv2 6/8] ARM: socfpga: dts: Add Devkit A10-SR fields for Arria10 tthayer
2016-10-10 21:58 ` Dinh Nguyen
[not found] ` <1464889948-28793-1-git-send-email-tthayer-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org>
2016-06-02 17:52 ` [PATCHv2 1/8] dt-bindings: mfd: Add Altera Arria10 System Resource Chip bindings tthayer-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx
2016-06-06 13:28 ` Rob Herring
2016-06-10 14:47 ` Lee Jones [this message]
2016-10-10 17:05 ` Thor Thayer
[not found] ` <282f05ff-05d8-2f93-88bb-84808812e603-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org>
2016-10-14 10:36 ` Lee Jones
2016-06-02 17:52 ` [PATCHv2 7/8] ARM: socfpga: dts: Enable GPIO parent for Arria10 SR chip tthayer-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx
[not found] ` <1464889948-28793-8-git-send-email-tthayer-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org>
2016-10-10 22:00 ` Dinh Nguyen
2016-06-02 17:52 ` [PATCHv2 8/8] ARM: socfpga: dts: Add LED framework to A10-SR GPIO tthayer
[not found] ` <1464889948-28793-9-git-send-email-tthayer-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org>
2016-10-10 22:02 ` Dinh Nguyen
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=20160610144748.GG1537@dell \
--to=lee.jones@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=dinguyen@opensource.altera.com \
--cc=gnurou@gmail.com \
--cc=ijc+devicetree@hellion.org.uk \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=pawel.moll@arm.com \
--cc=robh+dt@kernel.org \
--cc=tthayer@opensource.altera.com \
/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).