Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752760AbdFLSVa (ORCPT ); Mon, 12 Jun 2017 14:21:30 -0400 Received: from mail-qt0-f194.google.com ([209.85.216.194]:35782 "EHLO mail-qt0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752074AbdFLSV2 (ORCPT ); Mon, 12 Jun 2017 14:21:28 -0400 Subject: Re: [PATCH v2 2/4] dt: bindings: Add bindings for bcm2835-aux-intc To: Phil Elwell , Thomas Gleixner , Jason Cooper , Marc Zyngier , Rob Herring , Mark Rutland , Stefan Wahren , Eric Anholt , Russell King , Michael Turquette , Stephen Boyd , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-clk@vger.kernel.org References: From: Florian Fainelli Message-ID: <5093ed34-a930-dea5-6642-03e1e4910362@gmail.com> Date: Mon, 12 Jun 2017 11:21:19 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2213 Lines: 46 On 06/12/2017 07:25 AM, Phil Elwell wrote: > Add bindings documentation for brcm,bcm2835-aux-intc and human-readable > declarations for the BCM2835 AUX IRQs. > > Signed-off-by: Phil Elwell > --- > .../interrupt-controller/brcm,bcm2835-aux-intc.txt | 28 ++++++++++++++++++++++ > .../interrupt-controller/bcm2835-aux-intc.h | 20 ++++++++++++++++ > 2 files changed, 48 insertions(+) > create mode 100644 Documentation/devicetree/bindings/interrupt-controller/brcm,bcm2835-aux-intc.txt > create mode 100644 include/dt-bindings/interrupt-controller/bcm2835-aux-intc.h > > diff --git a/Documentation/devicetree/bindings/interrupt-controller/brcm,bcm2835-aux-intc.txt b/Documentation/devicetree/bindings/interrupt-controller/brcm,bcm2835-aux-intc.txt > new file mode 100644 > index 0000000..f3f895c > --- /dev/null > +++ b/Documentation/devicetree/bindings/interrupt-controller/brcm,bcm2835-aux-intc.txt > @@ -0,0 +1,28 @@ > +BCM2835 Auxiliary ("AUXIRQ") Interrupt Controller > + > +The BCM2835 family of SoCs multiplexes the interrupts for peripherals in > +the AUX block into a single IRQ. The AUXIRQ register shows the IRQ status > +of each of the peripherals. Note that there are no masking or clearing > +facilities - interrupts must be enabled and acknowledged in the > +individual peripherals. > + > +Required properties: > +- compatible : Should be "brcm,bcm2835-aux-intc". > +- reg : Specifies base physical address and size of the registers. > +- interrupts : The interrupt number - see > + bindings/interrupt-controller/brcm,bcm2835-armctrl-ic.txt > +- interrupt-controller : Identifies the node as an interrupt controller > +- #interrupt-cells : Specifies the number of cells needed to encode an > + interrupt source. The value shall be 1. > + > + The cell contains the interrupt specifier, as found in > + include/dt-bindings/interrupt-controller/bcm2835-aux-intc.h. Valid values > + are 0..2. This last sentence is sort of doomed for failure in case there are additional interrupts being added in the future, referring to bcm2835-aux-intc.h seems to be good enough IMHO. Reviewed-by: Florian Fainelli -- Florian