Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2995342imm; Sun, 30 Sep 2018 09:22:52 -0700 (PDT) X-Google-Smtp-Source: ACcGV63e47XpQeqkr3AOyf6InFCb7wZBQQ/5EYtWaLQvrZRtIeJ1WGDwCdRkm15cOurj+MCor6QD X-Received: by 2002:a17:902:934c:: with SMTP id g12-v6mr7880674plp.292.1538324572841; Sun, 30 Sep 2018 09:22:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538324572; cv=none; d=google.com; s=arc-20160816; b=axLLhKIENlvWhOKtfBbUxXMZ/zF9iVBFYNUWowfZq6Nd18sNw3SLMGYdmvEelAuqC9 mvhroWmS6MoQChk3rirp63RM3R8UcpNJyK4AUvFv6XrOYZKpGtIudIxsCmxEWenV3y92 JE9T7qMZPUYyzlMCU2MJm9j8Op72yq7HzUC6REt7fDLFS9plLAqOV4wZRp6wU0lM2/vC 6dED+c2y5z3jxq6Tjbl3/nC3ZxRxc/2eAa+qeg2ddUTi0pJK70WS6oPPipwTD3DSkT5b W0nEHu+0sVdzOQg4yf6ewbdvRnt3824KQ9Mu0OZG6hF3n8InmxJgSzwqN8lKA4bUFYna PG5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from; bh=qASL5jFucyNlOj/bBL0WydcR85q5PUu4WPdp+PCRJHw=; b=aHr8maWpIOh84V4go6Q9iLNMJbrqEevvt9jo7QYlQZJ4ze+w9BY9lNhfCPC9j4SITC 3RFw3xeV0Icig+Ou1BA0e5op6jP3Ul+WqbeHmVhfljgW0mGDZ6mOl93kCfuf8v8HLHvm Mb5Y8oDfn+h5QGQgI8sIkdc60p6HXwzjuzNv8QBLAqH7eDQ4wrV0oGLleeS1LFagGDgO iKP2HtN5Hz3UB16hwgHKEdkwxrT54GHKwhS9Fa5asRgDhuxP3XvYN6rpz/bUJ2Feyd5U PSF3rISuFAtT0AxJVNZjHey/LJybscYobarpBoHN/er9eJH2lT5tGMyd74y01RG7TfbX OnNA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h18-v6si1487481pgk.351.2018.09.30.09.22.38; Sun, 30 Sep 2018 09:22:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728652AbeI3WxS (ORCPT + 99 others); Sun, 30 Sep 2018 18:53:18 -0400 Received: from smtp2200-217.mail.aliyun.com ([121.197.200.217]:57781 "EHLO smtp2200-217.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728612AbeI3WxS (ORCPT ); Sun, 30 Sep 2018 18:53:18 -0400 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.08193825|-1;CH=green;FP=0|0|0|0|0|-1|-1|-1;HT=e01e04486;MF=ren_guo@c-sky.com;NM=1;PH=DS;RN=18;RT=18;SR=0;TI=SMTPD_---.CxwDxWl_1538324363; Received: from localhost(mailfrom:ren_guo@c-sky.com fp:SMTPD_---.CxwDxWl_1538324363) by smtp.aliyun-inc.com(10.147.42.241); Mon, 01 Oct 2018 00:19:23 +0800 From: Guo Ren To: tglx@linutronix.de, jason@lakedaemon.net, marc.zyngier@arm.com, robh+dt@kernel.org, mark.rutland@arm.com, daniel.lezcano@linaro.org, anurup.m@huawei.com, Jonathan.Cameron@huawei.com, will.deacon@arm.com, zhangshaokun@hisilicon.com, jhogan@kernel.org, paul.burton@mips.com, peterz@infradead.org, f.fainelli@gmail.com, arnd@arndb.de, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Guo Ren Subject: [PATCH V7 5/8] dt-bindings: interrupt-controller: C-SKY APB intc Date: Mon, 1 Oct 2018 00:18:46 +0800 Message-Id: <9892f9b24d94857ab489519c19ee43f4c2f9bddd.1538323894.git.ren_guo@c-sky.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <9d68bdd87a8c91f4ee35ff4311e273ea81ab9eb4.1538323894.git.ren_guo@c-sky.com> References: <9d68bdd87a8c91f4ee35ff4311e273ea81ab9eb4.1538323894.git.ren_guo@c-sky.com> In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org - Dt-bindings doc about C-SKY apb bus interrupt controller. Signed-off-by: Guo Ren Reviewed-by: Rob Herring --- .../interrupt-controller/csky,apb-intc.txt | 62 ++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/csky,apb-intc.txt diff --git a/Documentation/devicetree/bindings/interrupt-controller/csky,apb-intc.txt b/Documentation/devicetree/bindings/interrupt-controller/csky,apb-intc.txt new file mode 100644 index 0000000..44286dc --- /dev/null +++ b/Documentation/devicetree/bindings/interrupt-controller/csky,apb-intc.txt @@ -0,0 +1,62 @@ +============================== +C-SKY APB Interrupt Controller +============================== + +C-SKY APB Interrupt Controller is a simple soc interrupt controller +on the apb bus and we only use it as root irq controller. + + - csky,apb-intc is used in a lot of csky fpgas and socs, it support 64 irq nums. + - csky,dual-apb-intc consists of 2 apb-intc and 128 irq nums supported. + - csky,gx6605s-intc is gx6605s soc internal irq interrupt controller, 64 irq nums. + +============================= +intc node bindings definition +============================= + + Description: Describes APB interrupt controller + + PROPERTIES + + - compatible + Usage: required + Value type: + Definition: must be "csky,apb-intc" + "csky,dual-apb-intc" + "csky,gx6605s-intc" + - #interrupt-cells + Usage: required + Value type: + Definition: must be <1> + - reg + Usage: required + Value type: + Definition: in soc from cpu view + - interrupt-controller: + Usage: required + - csky,support-pulse-signal: + Usage: select + Description: to support pulse signal flag + +Examples: +--------- + + intc: interrupt-controller@500000 { + compatible = "csky,apb-intc"; + #interrupt-cells = <1>; + reg = <0x00500000 0x400>; + interrupt-controller; + }; + + intc: interrupt-controller@500000 { + compatible = "csky,dual-apb-intc"; + #interrupt-cells = <1>; + reg = <0x00500000 0x400>; + interrupt-controller; + }; + + intc: interrupt-controller@500000 { + compatible = "csky,gx6605s-intc"; + #interrupt-cells = <1>; + reg = <0x00500000 0x400>; + interrupt-controller; + }; -- 2.7.4