From patchwork Tue Sep 8 07:11:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Leizhen \(ThunderTown\)" X-Patchwork-Id: 249273 Delivered-To: patch@linaro.org Received: by 2002:a92:5b9c:0:0:0:0:0 with SMTP id c28csp4303889ilg; Tue, 8 Sep 2020 00:12:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJydk0OK5OyiC09OlH7BTL5MQojwKoycvxo8Y2+LY+5I32kfhBPuWdiNxatF+JfHm5DAPPW2 X-Received: by 2002:a50:fa81:: with SMTP id w1mr24691856edr.122.1599549160692; Tue, 08 Sep 2020 00:12:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599549160; cv=none; d=google.com; s=arc-20160816; b=X7hlk5sg9E28cWRz4EGXK60YlRxu5wbaDRx8VsNV/C9IX305+iwm+s89xGNzCb0Efa r4+E2+Zfos4B+0Kyz50XGTPxOSDGxTrr0j7YleuG8ZTXm35PCWLd42cJmhoz84dt53P5 ooSZEweQ1Rtmz5VsxRUasqiLcgpLZnAqvQoy6BCzO4vq8ztumNSkYtPhXo2sK+qghu5v O7jpFvQObiE5dpcpIrU4ds2aOXx4CnDmaPu1ZZW36R3lgMZSfcjkfTOrQb0w88LdnfdK fOjph+Vd3p4VTIB7YJwK+39n9k1hs+MtjvtzILLRJLIEln50kOHMQ1T9lcVHo4X/QMZr h68g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=GNrEQfkASmXWFL8LDt6g7xsFgUHIvY0JaimM7+uGnRY=; b=etdxRLziLbF4yMXO4KYFEAbhs3lUf3EM+1IbgtvnGPsxLGjCgvtVeuAIjE5MWmV7Ua tvSMqlb2PitoD0YIzuNBDLu7Tm01GHC/kY3HYlwLdy85PMDtamkp+o638FS+3b7QMVpg 30AX+VVlGnhKNkECLcOyJWHy9ADp8YPhKmVAJ5+eZAgI240B5fER9XmzHIUEap99RjUJ t0lICBKJDC9aP5UunU5utw9Vxg6n5aVycxOuEuVvTukI/YyfpLRLDQBYkjW2+R82J72t SRglw3KNzgq/0RHKLMpEi2M8wkUwB+PLxjRwfOTAuuH3xEejCazwFHgA1IgXw5Q9fqoG 4ZIA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x15si11069566eje.180.2020.09.08.00.12.40; Tue, 08 Sep 2020 00:12:40 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729103AbgIHHMj (ORCPT + 6 others); Tue, 8 Sep 2020 03:12:39 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:57900 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729077AbgIHHMj (ORCPT ); Tue, 8 Sep 2020 03:12:39 -0400 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 74C229336373F58813A6; Tue, 8 Sep 2020 15:12:36 +0800 (CST) Received: from thunder-town.china.huawei.com (10.174.177.253) by DGGEMS413-HUB.china.huawei.com (10.3.19.213) with Microsoft SMTP Server id 14.3.487.0; Tue, 8 Sep 2020 15:12:27 +0800 From: Zhen Lei To: Thomas Gleixner , Jason Cooper , Marc Zyngier , Rob Herring , devicetree , linux-kernel CC: Zhen Lei , Sebastian Hesselbarth , Haoyu Lv , Libin , Kefeng Wang Subject: [PATCH v2 0/3] irqchip: dw-apb-ictl: support hierarchy irq domain Date: Tue, 8 Sep 2020 15:11:31 +0800 Message-ID: <20200908071134.2578-1-thunder.leizhen@huawei.com> X-Mailer: git-send-email 2.26.0.windows.1 MIME-Version: 1.0 X-Originating-IP: [10.174.177.253] X-CFilter-Loop: Reflected Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org v1 --> v2: According to Marc Zyngier's suggestion, discard adding an independent SD5203-VIC driver, but make the dw-apb-ictl irqchip driver to support hierarchy irq domain. It was originally available only for secondary interrupt controller, now it can also be used as primary interrupt controller. The related dt-bindings is updated appropriately. Add "Suggested-by: Marc Zyngier ". Add "Tested-by: Haoyu Lv ". v1: The interrupt controller of SD5203 SoC is VIC(vector interrupt controller), it's based on Synopsys DesignWare APB interrupt controller (dw_apb_ictl) IP, but it can not directly use dw_apb_ictl driver. The main reason is that VIC is used as primary interrupt controller and dw_apb_ictl driver worked for secondary interrupt controller. So add a new driver: "hisilicon,sd5203-vic". Zhen Lei (3): irqchip: dw-apb-ictl: prepare for support hierarchy irq domain irqchip: dw-apb-ictl: support hierarchy irq domain dt-bindings: dw-apb-ictl: support hierarchy irq domain .../interrupt-controller/snps,dw-apb-ictl.txt | 14 ++- drivers/irqchip/Kconfig | 2 +- drivers/irqchip/irq-dw-apb-ictl.c | 91 +++++++++++++++++-- 3 files changed, 95 insertions(+), 12 deletions(-) -- 2.26.0.106.g9fadedd