From patchwork Thu Sep 3 12:05:02 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Leizhen \(ThunderTown\)" X-Patchwork-Id: 249000 Delivered-To: patch@linaro.org Received: by 2002:a92:5b9c:0:0:0:0:0 with SMTP id c28csp381483ilg; Thu, 3 Sep 2020 05:07:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwNL3ZmgBNGZi9eQUScTGSUkaEijczWmsYMTVLyEVQkRwMHWxgOKYoV6nRB7CDnyMlJBIfD X-Received: by 2002:a17:906:c001:: with SMTP id e1mr1871465ejz.390.1599134866870; Thu, 03 Sep 2020 05:07:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599134866; cv=none; d=google.com; s=arc-20160816; b=JBc65aTEad9M77cRh1yPFkpNUIGPQkmsI6FpafYug3cQtoGV57c0xAMmIpwPyO/tBG nYx7D0L6ZuO0z4EUiZuR8DGA/9K/rGIjn3pBlh2NU6Qvz3RYzVKEiu3AkPE1iYtMLtci F5A6ISWrg8Tq4jmxxuekCSiYGKd4PgyPsk4RkcoJzju11+2fDLwOZdEPcrNNN3UAb+UZ E85dIIfnBLmymft4ipMF9SCikHXfBIxxx7Abv6BlVNCVd1xsudiPSFbAInwrEIr6E4N1 zueQM5s3MLRp3My7UVNv4uqLlggRuIk3E+2cx64vLKiH9TQ7U08T60B4x42aYyC4utgn 143g== 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=V9/HwHfaE9EZo3pTjWtjD/dI37HWXJ8RA0yd4F56gsQ=; b=r+GJraJemOJZRkDtVl45MxvfQaUsirU5QxhnldaiPLEyADQb8F0qk130eAm0dxeG7e UUf6T+91JrVsFWtf6yqgI4hN110q4EC60BxcMIb62ej7TwUaJTCgQEz++HlZts3LU+Ro 4wxcgBkSQaRN6mbjSfeO7HA0TpW8DsukAv4QEd+KM/Zj/2MQb4VLvaANmW8if1ac8ZEN xmS9XldvXWyyTZkvT/Yp1BTj9/n764ChaYiMRK6xl/9l3Z97bc+sOO2PALvUuIRRC2ZC ArapO+6oyUNFzkTOEauGansWDJiiITZ9El0NjxvS0/B2fqOUXlCtED2ybsvQpttNJtqL pNzg== 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 k3si1636113ejv.560.2020.09.03.05.07.46; Thu, 03 Sep 2020 05:07:46 -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 S1728661AbgICMHk (ORCPT + 6 others); Thu, 3 Sep 2020 08:07:40 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:57304 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728806AbgICMGu (ORCPT ); Thu, 3 Sep 2020 08:06:50 -0400 Received: from DGGEMS403-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 3994CD8AFAE9B2A858E0; Thu, 3 Sep 2020 20:05:27 +0800 (CST) Received: from thunder-town.china.huawei.com (10.174.177.253) by DGGEMS403-HUB.china.huawei.com (10.3.19.203) with Microsoft SMTP Server id 14.3.487.0; Thu, 3 Sep 2020 20:05:19 +0800 From: Zhen Lei To: Thomas Gleixner , Jason Cooper , Marc Zyngier , Rob Herring , devicetree , linux-kernel CC: Zhen Lei , Kefeng Wang Subject: [PATCH 0/2] add support for Hisilicon SD5203 vector interrupt controller Date: Thu, 3 Sep 2020 20:05:02 +0800 Message-ID: <20200903120504.2308-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 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". Kefeng Wang (1): irqchip: add Hisilicon SD5203 vector interrupt controller Zhen Lei (1): dt-bindings: interrupt-controller: add Hisilicon SD5203 vector interrupt controller .../hisilicon,sd5203-vic.txt | 27 ++++ drivers/irqchip/Kconfig | 5 + drivers/irqchip/Makefile | 1 + drivers/irqchip/irq-sd5203-vic.c | 128 ++++++++++++++++++ 4 files changed, 161 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/hisilicon,sd5203-vic.txt create mode 100644 drivers/irqchip/irq-sd5203-vic.c -- 2.26.0.106.g9fadedd