From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755326AbbI3JoQ (ORCPT ); Wed, 30 Sep 2015 05:44:16 -0400 Received: from szxga03-in.huawei.com ([119.145.14.66]:8689 "EHLO szxga03-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753378AbbI3JoN (ORCPT ); Wed, 30 Sep 2015 05:44:13 -0400 From: MaJun To: , , , , , , , , , , , , , , , , , , , , , , Subject: [PATCH v5 0/3] Support Mbigen interrupt controller Date: Wed, 30 Sep 2015 17:39:06 +0800 Message-ID: <1443605949-15396-1-git-send-email-majun258@huawei.com> X-Mailer: git-send-email 1.9.5.msysgit.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.177.235.245] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A090204.560BAE95.0022,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2013-05-26 15:14:31, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: c1e98849b66fd6ccbce9f0283dedceb2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Ma Jun This patch adds the driver of mbigen and binding document for Hisilicon Mbigen chips. Compared with previous version, this version changed much. Because during the time between V3 and V4 of my patch, there are two related patches were committed by Mr.Marc Zyngier and Mr. Mark Rutland. First, Mr. Marc Zyngier changed MSI frame and added supporting for platform MSI. https://lkml.org/lkml/2015/7/28/552 Second, Mr.Mark Rutland changed Generic PCI MSI + IOMMU topology bindings https://lkml.org/lkml/2015/7/23/558 Changes in v5: --- Split mbigen driver patch into 2 smaller patches. --- Change mbigen chip and mbigen device initialzing sequence. --- Initializing mbigen device instead of mbigen chip as interrupt controller --- Remove mbigen node from driver to make this driver more easily read. --- Change the mbigen chip node definition(dts). --- Change the interrupt cells definition(dts). Changes in v4: --- Re-based mbigen driver on kernel 4.2.0-rc2 and Marc's patch --- Changed the binding document based on Mark's patch. Ma Jun (3): initialize each mbigen device node as a interrupt controller. Probe mbigen chip and initial mbigen device as platform device. dt-binding:Documents of the mbigen bindings Documentation/devicetree/bindings/arm/mbigen.txt | 85 ++++ drivers/irqchip/irq-mbigen.c | 549 ++++++++++++++++++++++ 2 files changed, 634 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/arm/mbigen.txt create mode 100644 drivers/irqchip/irq-mbigen.c