All of lore.kernel.org
 help / color / mirror / Atom feed
From: Neil Armstrong <narmstrong@baylibre.com>
To: Rob Herring <robh@kernel.org>, Heiner Kallweit <hkallweit1@gmail.com>
Cc: Jerome Brunet <jbrunet@baylibre.com>,
	Mark Rutland <mark.rutland@arm.com>,
	Marc Zyngier <marc.zyngier@arm.com>,
	Linus Walleij <linus.walleij@linaro.org>,
	Kevin Hilman <khilman@baylibre.com>,
	Thomas Gleixner <tglx@linutronix.de>,
	devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org,
	linux-gpio@vger.kernel.org,
	"thierry.reding@gmail.com" <thierry.reding@gmail.com>,
	Thierry Reding <treding@nvidia.com>
Subject: Re: [PATCH v5 3/9] dt-bindings: add Amlogic Meson GPIO interrupt-controller DT binding documentation
Date: Fri, 9 Jun 2017 09:50:49 +0200	[thread overview]
Message-ID: <5bfb15b0-8625-85cc-53d6-90171c9e098d@baylibre.com> (raw)
In-Reply-To: <20170607211312.av5osk5xxa5k5pr2@rob-hp-laptop>

On 06/07/2017 11:13 PM, Rob Herring wrote:
> On Tue, May 30, 2017 at 10:26:33PM +0200, Heiner Kallweit wrote:
>> Add dt binding documentation for Amlogic meson GPIO interrupt controller.
>>
>> Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
>> Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
>> ---
>> v5:
>> - added Reviewed-by
>> ---
>>  .../amlogic,meson-gpio-intc.txt                    | 26 ++++++++++++++++++++++
>>  1 file changed, 26 insertions(+)
>>  create mode 100644 Documentation/devicetree/bindings/interrupt-controller/amlogic,meson-gpio-intc.txt
>>
>> diff --git a/Documentation/devicetree/bindings/interrupt-controller/amlogic,meson-gpio-intc.txt b/Documentation/devicetree/bindings/interrupt-controller/amlogic,meson-gpio-intc.txt
>> new file mode 100644
>> index 00000000..2f20d212
>> --- /dev/null
>> +++ b/Documentation/devicetree/bindings/interrupt-controller/amlogic,meson-gpio-intc.txt
>> @@ -0,0 +1,26 @@
>> +Amlogic meson GPIO interrupt controller
>> +
>> +Meson SoCs contains an interrupt controller which is able watch the SoC pads
>> +and generate an interrupt on edges or level. The controller is essentially a
>> +256 pads to 8 GIC interrupt multiplexer, with a filter block to select edge
>> +or level and polarity. The actual number of interrupt exposed depends on the
>> +SoC.
>> +
>> +Required properties:
>> +
>> +- compatible : should be "amlogic,meson-gpio-intc".
>> +- reg : Specifies base physical address and size of the registers.
>> +- interrupt-controller : Identifies the node as an interrupt controller.
>> +- #interrupt-cells : should be 2.
>> +- parent-interrupts : list of GIC interrupts which can be used with the
>> +		      GPIO IRQ multiplexer
> 
> Just use "interrupts" here.

Hi Rob,

If the "interrupts" property is used here like this, it breaks the interrupts binding !

Neil

> 
>> +
>> +Example:
>> +
>> +gpio_intc: interrupt-controller@9880 {
>> +	compatible = "amlogic,meson-gpio-intc";
>> +	reg = <0x0 0x09880 0x0 0x10>;
>> +	interrupt-controller;
>> +	#interrupt-cells = <2>;
>> +	parent-interrupts = <64 65 66 67 68 69 70 71>;
>> +};
>> -- 
>> 2.13.0
>>
>>


WARNING: multiple messages have this Message-ID (diff)
From: narmstrong@baylibre.com (Neil Armstrong)
To: linus-amlogic@lists.infradead.org
Subject: [PATCH v5 3/9] dt-bindings: add Amlogic Meson GPIO interrupt-controller DT binding documentation
Date: Fri, 9 Jun 2017 09:50:49 +0200	[thread overview]
Message-ID: <5bfb15b0-8625-85cc-53d6-90171c9e098d@baylibre.com> (raw)
In-Reply-To: <20170607211312.av5osk5xxa5k5pr2@rob-hp-laptop>

On 06/07/2017 11:13 PM, Rob Herring wrote:
> On Tue, May 30, 2017 at 10:26:33PM +0200, Heiner Kallweit wrote:
>> Add dt binding documentation for Amlogic meson GPIO interrupt controller.
>>
>> Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
>> Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
>> ---
>> v5:
>> - added Reviewed-by
>> ---
>>  .../amlogic,meson-gpio-intc.txt                    | 26 ++++++++++++++++++++++
>>  1 file changed, 26 insertions(+)
>>  create mode 100644 Documentation/devicetree/bindings/interrupt-controller/amlogic,meson-gpio-intc.txt
>>
>> diff --git a/Documentation/devicetree/bindings/interrupt-controller/amlogic,meson-gpio-intc.txt b/Documentation/devicetree/bindings/interrupt-controller/amlogic,meson-gpio-intc.txt
>> new file mode 100644
>> index 00000000..2f20d212
>> --- /dev/null
>> +++ b/Documentation/devicetree/bindings/interrupt-controller/amlogic,meson-gpio-intc.txt
>> @@ -0,0 +1,26 @@
>> +Amlogic meson GPIO interrupt controller
>> +
>> +Meson SoCs contains an interrupt controller which is able watch the SoC pads
>> +and generate an interrupt on edges or level. The controller is essentially a
>> +256 pads to 8 GIC interrupt multiplexer, with a filter block to select edge
>> +or level and polarity. The actual number of interrupt exposed depends on the
>> +SoC.
>> +
>> +Required properties:
>> +
>> +- compatible : should be "amlogic,meson-gpio-intc".
>> +- reg : Specifies base physical address and size of the registers.
>> +- interrupt-controller : Identifies the node as an interrupt controller.
>> +- #interrupt-cells : should be 2.
>> +- parent-interrupts : list of GIC interrupts which can be used with the
>> +		      GPIO IRQ multiplexer
> 
> Just use "interrupts" here.

Hi Rob,

If the "interrupts" property is used here like this, it breaks the interrupts binding !

Neil

> 
>> +
>> +Example:
>> +
>> +gpio_intc: interrupt-controller at 9880 {
>> +	compatible = "amlogic,meson-gpio-intc";
>> +	reg = <0x0 0x09880 0x0 0x10>;
>> +	interrupt-controller;
>> +	#interrupt-cells = <2>;
>> +	parent-interrupts = <64 65 66 67 68 69 70 71>;
>> +};
>> -- 
>> 2.13.0
>>
>>

  reply	other threads:[~2017-06-09  7:50 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-30 20:03 [PATCH v5 0/9] pinctrl: meson: add support for GPIO IRQs Heiner Kallweit
2017-05-30 20:03 ` Heiner Kallweit
2017-05-30 20:26 ` [PATCH v5 1/9] pinctrl: meson: add interrupts to pinctrl data Heiner Kallweit
2017-05-30 20:26   ` Heiner Kallweit
2017-05-30 20:26 ` [PATCH v5 2/9] irqchip: add Amlogic Meson GPIO irqchip driver Heiner Kallweit
2017-05-30 20:26   ` Heiner Kallweit
2017-05-30 20:26 ` [PATCH v5 3/9] dt-bindings: add Amlogic Meson GPIO interrupt-controller DT binding documentation Heiner Kallweit
2017-05-30 20:26   ` Heiner Kallweit
2017-06-07 21:13   ` Rob Herring
2017-06-07 21:13     ` Rob Herring
2017-06-09  7:50     ` Neil Armstrong [this message]
2017-06-09  7:50       ` Neil Armstrong
2017-06-09 20:58       ` Rob Herring
2017-06-09 20:58         ` Rob Herring
2017-05-30 20:26 ` [PATCH v5 4/9] ARM: dts: meson: add GPIO interrupt-controller support Heiner Kallweit
2017-05-30 20:26   ` Heiner Kallweit
2017-05-30 20:26 ` [PATCH v5 5/9] ARM64: " Heiner Kallweit
2017-05-30 20:26   ` Heiner Kallweit
     [not found] ` <66c57893-0a9e-4f8c-a017-ab346abbdfd0-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-05-30 20:26   ` [PATCH v5 6/9] pinctrl: meson: add support for GPIO interrupts Heiner Kallweit
2017-05-30 20:26     ` Heiner Kallweit
2017-05-30 20:26 ` [PATCH v5 7/9] pinctrl: meson: update DT binding documentation Heiner Kallweit
2017-05-30 20:26   ` Heiner Kallweit
2017-06-07 21:13   ` Rob Herring
2017-06-07 21:13     ` Rob Herring
2017-05-30 20:27 ` [PATCH v5 8/9] ARM: dts: meson: mark gpio controllers as interrupt controllers Heiner Kallweit
2017-05-30 20:27   ` Heiner Kallweit
2017-05-30 20:27 ` [PATCH v5 9/9] ARM64: " Heiner Kallweit
2017-05-30 20:27   ` Heiner Kallweit

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=5bfb15b0-8625-85cc-53d6-90171c9e098d@baylibre.com \
    --to=narmstrong@baylibre.com \
    --cc=devicetree@vger.kernel.org \
    --cc=hkallweit1@gmail.com \
    --cc=jbrunet@baylibre.com \
    --cc=khilman@baylibre.com \
    --cc=linus.walleij@linaro.org \
    --cc=linux-amlogic@lists.infradead.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=marc.zyngier@arm.com \
    --cc=mark.rutland@arm.com \
    --cc=robh@kernel.org \
    --cc=tglx@linutronix.de \
    --cc=thierry.reding@gmail.com \
    --cc=treding@nvidia.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.