From patchwork Thu Jan 31 08:03:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aisheng Dong X-Patchwork-Id: 10789999 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 38E301390 for ; Thu, 31 Jan 2019 08:03:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 37EF229682 for ; Thu, 31 Jan 2019 08:03:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2B19C29792; Thu, 31 Jan 2019 08:03:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 18D2729682 for ; Thu, 31 Jan 2019 08:03:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=x+TnDi8cYxtUKC8kipwp/Un2uBJyfhlHI7bf8cTtNV4=; b=T4h6AhNT8/Thnf 8KlwMdQYEuMIY/D2hpI06PT1V+CWtu5iVtBqztHr0wJug7gJFrzys6u5AlDcpKi4jpUPS1bFO9IUg ri9EjIwGW+17lXwbr4fuVqmektQbNxEMMP3EA/mt1WXcQaM+Euonb4SyVaj2MAGo3SBkyphGDpLVY Umba2PpniidP37F6LQVI3ehM4SmMNEFEwz60XaiNAWvc8bTrP47HCZe2hpUNbD83F82fAnsiNyEen OkfIGNfHiVgJzlHm6O3y2Zl9yZfOg5PQGfUBqKEQKw9Gwy9h2xUlZbA60Mn1g6i6lTf4m/70nuuBd l7g9tFQhwhaP+17YJs+Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gp7K7-0005dF-F1; Thu, 31 Jan 2019 08:03:47 +0000 Received: from mail-eopbgr150043.outbound.protection.outlook.com ([40.107.15.43] helo=EUR01-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gp7Jz-0005ZV-9y for linux-arm-kernel@lists.infradead.org; Thu, 31 Jan 2019 08:03:44 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=klJ2GYCzCHxBLG7H+hS3UneMwlpUMVkl6VYssk6RblI=; b=iNNaCx1ll4wBq3goqqYtZ9h7A2TM7kYNWy+fjlbGJbCHKbGyWbko/ouTohEmyIOMLqixJXAzzHuFDuSacRB6++4SP79gjA55KVFKgG1FtWzgwn/93JFsMKCc7yUquc82BPqj4tCnUBjiz0BUyF0/JyKxfaUm2Zn+8gQl1wBEfZ0= Received: from AM0PR04MB4211.eurprd04.prod.outlook.com (52.134.126.21) by AM0PR04MB5298.eurprd04.prod.outlook.com (20.177.42.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1558.21; Thu, 31 Jan 2019 08:03:35 +0000 Received: from AM0PR04MB4211.eurprd04.prod.outlook.com ([fe80::bd44:e001:ab8d:1c51]) by AM0PR04MB4211.eurprd04.prod.outlook.com ([fe80::bd44:e001:ab8d:1c51%2]) with mapi id 15.20.1580.019; Thu, 31 Jan 2019 08:03:35 +0000 From: Aisheng Dong To: "linux-kernel@vger.kernel.org" Subject: [PATCH V3 0/4] irq: imx-irqsteer: add 32 interrupts chan and multi outputs support Thread-Topic: [PATCH V3 0/4] irq: imx-irqsteer: add 32 interrupts chan and multi outputs support Thread-Index: AQHUuTt3gHGMIiTe50SSroR3Hc4rgw== Date: Thu, 31 Jan 2019 08:03:35 +0000 Message-ID: <1548921464-28917-1-git-send-email-aisheng.dong@nxp.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.7.4 x-clientproxiedby: HK2PR02CA0184.apcprd02.prod.outlook.com (2603:1096:201:21::20) To AM0PR04MB4211.eurprd04.prod.outlook.com (2603:10a6:208:66::21) authentication-results: spf=none (sender IP is ) smtp.mailfrom=aisheng.dong@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [119.31.174.66] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; AM0PR04MB5298; 6:KjAuIO60IU9SgG0CkidFCxvpRgIllcvQmrkOsHu4xjRoQK6g2sWIEsqV03R5/jtKmL/YszrCtOfWRh76iknOBzruqBSURdlgXxW2GNiLn3W35wAoRtCzKBSRgF8d/dGdYyxIySNlZRDwX4tx0HPSmV1ojvpeKOZY6hP3Mg1Ntb6GoV34linQbMeXqdHOPNwOg8HIZQzV623C6EluVhlqmz6I7A9xP6CZhnrHa7ALS4vdS9pkf0GGjCwWe3il1qlO4G4u/d0AndIMGI1WcPK+l92PQChTWFCqZ5Pa3lXSwJrgfspWXjY01RjxbzZjsoKutzYjvjxerFi5LJEzYH5pjSQMt96GoCdTSgn3Fs5vRX1z/aDpsnaxlww9dyLt5L80XDgMPlLXtiapfyAZduk9fvAjDPJwdj4MLcCBxtmA4QchPeO75GwC5CQbnFNoBlnBGSQr648L+yFUBfCanaY5sw==; 5:aZagzyv9c61FYG1OsZGuvxyRDyuf7247tAu8Dk2VdO7qLwaCfkhIEt5VbK/0EiqRScU33W72eHKezgcoxaoydhv1GuRIpUPeFNk2dPAEVxKOKHz1lx2e5Zl+4+HonJp7sd9J/X6UkoG+5HUCHdbXGa57krPnroPkcQ6TxMWb1YhBGrcwL56gzEHKxPmgR6rMGfNt78W6ib2Pp6HGoSHXgQ==; 7:r2h25FlKJQliRUAIhwrA4wEj8LZT1zByxrbPEVl8NQHKL/e7RO7sUaUuPqXc65zfqiRn0PJCnD3mn6Q1uiTwRdh3o5hZqLRsN98yjgW8rJPEp//PE+kYF0ZSCk4cPUOeXdfVoMYDLkm98DmLtejurg== x-ms-office365-filtering-correlation-id: 325105ba-4dff-4174-9b22-08d68752994b x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600110)(711020)(4605077)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM0PR04MB5298; x-ms-traffictypediagnostic: AM0PR04MB5298: x-microsoft-antispam-prvs: x-forefront-prvs: 09347618C4 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(136003)(39860400002)(346002)(396003)(376002)(189003)(199004)(97736004)(256004)(102836004)(5640700003)(316002)(6486002)(386003)(6506007)(71200400001)(71190400001)(114624004)(2351001)(36756003)(2501003)(4326008)(54906003)(4744005)(2906002)(6512007)(25786009)(6436002)(99286004)(53936002)(86362001)(305945005)(52116002)(81166006)(44832011)(105586002)(8676002)(486006)(3846002)(7736002)(6116002)(81156014)(2616005)(8936002)(476003)(106356001)(50226002)(478600001)(6916009)(14454004)(186003)(68736007)(66066001)(26005); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR04MB5298; H:AM0PR04MB4211.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: HjohCTGebRUTI360qlsDZZ9iGKKks0EWyb7F2V4/A9uR6v5fuQUj+3aSiR7T2eZsELBx2mj0HLUp5LvNr1ZV/riL2s2UPN4xxwfsy2Yno/4/PSnkrXWrpU0aXQwopbrBnpP+4Xi9R6eBoWzXGKMeBrTMrrrTMYnPorFKIozC6+c5dNq2qniqtqNcJbF+IoC59I9zP8INd7nQsUHMPyf31y+3CflotibRLhaFzFFfLtKJa0V3SBS4bq69RGnTDTgkSGm5kHn+2SFLyEgNH8CdTvP9r5ds8f3tpVrkIfXmSXD0gCxI5xucSjw6r1o08VG9AyFNGE9X+/YiZ1fUnVkncal/WxhSWH728K8+H59kISlOTvQD3bHN+L7ARF1/hxlwyU11wuioRjuR6HXbVuV3Yfl6GzEH17vx3jvwKUDGHB0= MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 325105ba-4dff-4174-9b22-08d68752994b X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Jan 2019 08:03:31.8479 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB5298 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190131_000339_349015_3AB9E836 X-CRM114-Status: UNSURE ( 7.21 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Aisheng Dong , "devicetree@vger.kernel.org" , "robh+dt@kernel.org" , dl-linux-imx , "tglx@linutronix.de" , "shawnguo@kernel.org" , "linux-arm-kernel@lists.infradead.org" , "l.stach@pengutronix.de" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Not all 64 interrupts may be used in one group. e.g. most irqsteer in imx8qxp and imx8qm subsystems supports only 32 interrupts. And one irqsteer channel can support up to 8 output interrupts. This patch series aims to support 32 interrupts chan and multi output interrupts. Tested on: iMX8QXP MEK with MIPI CSI capture and DC Display iMX8MQ EVK with MIPI DSI Display Dong Aisheng (4): dt-binding: irq: imx-irqsteer: use irq number instead of group number dt-bindings: irq: imx-irqsteer: add multi output interrupts support irq: imx-irqsteer: change to use reg_num instead of irq_group irq: imx: irqsteer: add multi output interrupts support .../bindings/interrupt-controller/fsl,irqsteer.txt | 11 +- drivers/irqchip/irq-imx-irqsteer.c | 115 +++++++++++++++------ 2 files changed, 89 insertions(+), 37 deletions(-)