From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751602Ab1ITUYP (ORCPT ); Tue, 20 Sep 2011 16:24:15 -0400 Received: from mail-gx0-f174.google.com ([209.85.161.174]:57918 "EHLO mail-gx0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750763Ab1ITUYO (ORCPT ); Tue, 20 Sep 2011 16:24:14 -0400 From: Rob Herring To: linux-arm-kernel@lists.infradead.org, devicetree-discuss@lists.ozlabs.org, linux-kernel@vger.kernel.org Cc: grant.likely@secretlab.ca, marc.zyngier@arm.com, thomas.abraham@linaro.org, jamie@jamieiles.com, b-cousson@ti.com, shawn.guo@linaro.org, dave.martin@linaro.org, linux@arm.linux.org.uk, Rob Herring Subject: [PATCH 0/3] GIC OF bindings Date: Tue, 20 Sep 2011 15:24:01 -0500 Message-Id: <1316550244-3655-1-git-send-email-robherring2@gmail.com> X-Mailer: git-send-email 1.7.5.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Rob Herring Hopefully, this is the final or near final version of GIC binding support. Changes from the previous version: - SPIs and PPIs are numbered starting at 0. Now the gic has it's own irq domain translate function instead of the simple domain one. - interrupt cell format has changed based on Grant's proposal. - Dropped "ARM: gic: allow irq_start to be 0". Instead, the first 16 irqs are skipped and the domain irq_base adjusted accordingly. - Added a fix to of_irq_find_parent when the parent == child. - Renamed intc_desc.parent to intc_desc.interrupt_parent. - Implemented Grant's algorithm for walking the list of interrupt controllers. Added a return value to interrupt init functions, so they don't get added to the parent list on a init failure. The changes are significant enough that I did not include previous acked/reviewed/tested-by's. Rob Rob Herring (3): of/irq: of_irq_find_parent: check for parent equal to child of/irq: introduce of_irq_init ARM: gic: add OF based initialization Documentation/devicetree/bindings/arm/gic.txt | 55 +++++++++++ arch/arm/common/gic.c | 89 ++++++++++++++++- arch/arm/include/asm/hardware/gic.h | 12 +++ drivers/of/irq.c | 128 +++++++++++++++++++++++-- include/linux/of_irq.h | 1 + 5 files changed, 274 insertions(+), 11 deletions(-) create mode 100644 Documentation/devicetree/bindings/arm/gic.txt -- 1.7.5.4 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rob Herring Subject: [PATCH 0/3] GIC OF bindings Date: Tue, 20 Sep 2011 15:24:01 -0500 Message-ID: <1316550244-3655-1-git-send-email-robherring2@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org To: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Cc: dave.martin-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org, linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org, Rob Herring List-Id: devicetree@vger.kernel.org From: Rob Herring Hopefully, this is the final or near final version of GIC binding support. Changes from the previous version: - SPIs and PPIs are numbered starting at 0. Now the gic has it's own irq domain translate function instead of the simple domain one. - interrupt cell format has changed based on Grant's proposal. - Dropped "ARM: gic: allow irq_start to be 0". Instead, the first 16 irqs are skipped and the domain irq_base adjusted accordingly. - Added a fix to of_irq_find_parent when the parent == child. - Renamed intc_desc.parent to intc_desc.interrupt_parent. - Implemented Grant's algorithm for walking the list of interrupt controllers. Added a return value to interrupt init functions, so they don't get added to the parent list on a init failure. The changes are significant enough that I did not include previous acked/reviewed/tested-by's. Rob Rob Herring (3): of/irq: of_irq_find_parent: check for parent equal to child of/irq: introduce of_irq_init ARM: gic: add OF based initialization Documentation/devicetree/bindings/arm/gic.txt | 55 +++++++++++ arch/arm/common/gic.c | 89 ++++++++++++++++- arch/arm/include/asm/hardware/gic.h | 12 +++ drivers/of/irq.c | 128 +++++++++++++++++++++++-- include/linux/of_irq.h | 1 + 5 files changed, 274 insertions(+), 11 deletions(-) create mode 100644 Documentation/devicetree/bindings/arm/gic.txt -- 1.7.5.4 From mboxrd@z Thu Jan 1 00:00:00 1970 From: robherring2@gmail.com (Rob Herring) Date: Tue, 20 Sep 2011 15:24:01 -0500 Subject: [PATCH 0/3] GIC OF bindings Message-ID: <1316550244-3655-1-git-send-email-robherring2@gmail.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org From: Rob Herring Hopefully, this is the final or near final version of GIC binding support. Changes from the previous version: - SPIs and PPIs are numbered starting at 0. Now the gic has it's own irq domain translate function instead of the simple domain one. - interrupt cell format has changed based on Grant's proposal. - Dropped "ARM: gic: allow irq_start to be 0". Instead, the first 16 irqs are skipped and the domain irq_base adjusted accordingly. - Added a fix to of_irq_find_parent when the parent == child. - Renamed intc_desc.parent to intc_desc.interrupt_parent. - Implemented Grant's algorithm for walking the list of interrupt controllers. Added a return value to interrupt init functions, so they don't get added to the parent list on a init failure. The changes are significant enough that I did not include previous acked/reviewed/tested-by's. Rob Rob Herring (3): of/irq: of_irq_find_parent: check for parent equal to child of/irq: introduce of_irq_init ARM: gic: add OF based initialization Documentation/devicetree/bindings/arm/gic.txt | 55 +++++++++++ arch/arm/common/gic.c | 89 ++++++++++++++++- arch/arm/include/asm/hardware/gic.h | 12 +++ drivers/of/irq.c | 128 +++++++++++++++++++++++-- include/linux/of_irq.h | 1 + 5 files changed, 274 insertions(+), 11 deletions(-) create mode 100644 Documentation/devicetree/bindings/arm/gic.txt -- 1.7.5.4