Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753256AbdFRQtZ (ORCPT ); Sun, 18 Jun 2017 12:49:25 -0400 Received: from mout.kundenserver.de ([212.227.126.135]:62014 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750942AbdFRQtX (ORCPT ); Sun, 18 Jun 2017 12:49:23 -0400 Date: Sun, 18 Jun 2017 18:48:24 +0200 (CEST) From: Stefan Wahren To: Phil Elwell Cc: linux-clk@vger.kernel.org, Russell King , Eric Anholt , Rob Herring , Mark Rutland , Marc Zyngier , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Thomas Gleixner , Florian Fainelli , Stephen Boyd , Michael Turquette , Jason Cooper , linux-rpi-kernel@lists.infradead.org Message-ID: <1541919875.136051.1497804504643@email.1und1.de> In-Reply-To: <1497457750-35585-3-git-send-email-phil@raspberrypi.org> References: <4ceb6c92-f752-180e-6a6e-a94dcd120737@raspberrypi.org> <1497457750-35585-1-git-send-email-phil@raspberrypi.org> <1497457750-35585-3-git-send-email-phil@raspberrypi.org> Subject: Re: [PATCH v3 2/4] dt: bindings: Add bindings for bcm2835-aux-intc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Medium X-Mailer: Open-Xchange Mailer v7.8.2-Rev34 X-Originating-Client: open-xchange-appsuite X-Provags-ID: V03:K0:pfNf/33Hx1q5NYhwh7nGHSAUuPG3YqqnB68TLQ2r8PoCr9Ry7co b7zJQpztQALdE17qcVx2nxQSq2ZhNpTBrlLwJKPnBsEvLG7ZPuE+HLY+t8WCtK5v4AMFXlZ G/w9KskYncoGqXpaccXYJeLKWrbBPwzbvaGT2/fQDszMz7Nenrgg3O8SQgHtPqbPimx6gnX arFW2bgKUnNE8ftUchxBA== X-UI-Out-Filterresults: notjunk:1;V01:K0:yrZ0l+ufoLI=:EtaPMMSliz5Yaj0/ulPf8o 6tXeQx1+3Nskmf0QUykRIHsiKad10auQ2qDqPQQYJ0ljl0EXeF6B168NB9oJ6TWAaftFKLBcf 0nquDM1AiVdQzvU8xh8U5ft5abUCekXg28kt3HkZFfQ0dfF5BC8YaauXnBKKIMdqOV84fzV2v d2de1NV3P5nO+VgQ3/67YM1nSlQrTKZNFMB1/lr6xfF924yF02vT4JC+VkzmpNQs/ENgQFM2O cbgTbhwWIn7StHi+1HGNchyzl/21QbNm0hHD4SVMmKMrBuv+7nIySyKXexeKZh15TNdB9Hliq qJHwLpvg6jZ5RdtV/a+q69HMjQSFZBUQMT7i7IbxD/tvfnvH9q/eMiaqsXx3oTCEKFmZbQloQ f3eitpPjIGRRp2OWT7bdpqjK+a3FKJwGaptgJar5xxvF8O5MTBF9NRo3CVtcGxtPZ2XovfIFE gFa/uEq8GRdACzLO2x+QCdsfvV0nihyjfOMlHh/ZW3lPmM5HvC9iVXIZVhtVXeSPwV8Ks1fS3 OqhIwtA88jaLDhMKIfwKy6gtJqrX7ydVtq3m5tbTRA27uU2WFtQIkV3O/G+JAcvmzWtIqLJMT 3v/F/FNwFUwbl4MBcddnJkvWXs2/CuWU1+yT1Qt3scyjF2H0dKPpurzC78nQfJDT7V8JxW1Tu bg4kFGbkyqMKhby/jFgLcUEJeXz9r0Ym+q4w5piLHmu8Lo2zEENQrpwe8Sj1CcFBkh8Ibms6O ww+Na3O/HEPZY1sa Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2506 Lines: 56 Hi Phil, > Phil Elwell hat am 14. Juni 2017 um 18:29 geschrieben: > > > Add bindings documentation for brcm,bcm2835-aux-intc and human-readable > declarations for the BCM2835 AUX IRQs. > > Signed-off-by: Phil Elwell > Reviewed-by: Florian Fainelli > --- > .../interrupt-controller/brcm,bcm2835-aux-intc.txt | 27 ++++++++++++++++++++++ > .../interrupt-controller/bcm2835-aux-intc.h | 20 ++++++++++++++++ > 2 files changed, 47 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..9cbbab6 > --- /dev/null > +++ b/Documentation/devicetree/bindings/interrupt-controller/brcm,bcm2835-aux-intc.txt > @@ -0,0 +1,27 @@ > +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. > + > +Example: > + > + auxintc: interrupt-controller@7e215000 { > + compatible = "brcm,bcm2835-aux-intc"; > + reg = <0x7e215000 0x4>; > + interrupts = <1 29>; > + interrupt-controller; looks like the end of the file has been truncated and example misses some lines. > diff --git a/include/dt-bindings/interrupt-controller/bcm2835-aux-intc.h b/include/dt-bindings/interrupt-controller/bcm2835-aux-intc.h > new file mode 100644 > index 0000000..8b9fc12