Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3132382imm; Mon, 24 Sep 2018 16:45:17 -0700 (PDT) X-Google-Smtp-Source: ACcGV62sk+tFy4XUwfzcwGjgCnxsZ1IozJIRyRApDx61iMnD7cdJsJ6j73UJg1r7ufBwxw6fquyP X-Received: by 2002:a63:991a:: with SMTP id d26-v6mr831282pge.159.1537832717549; Mon, 24 Sep 2018 16:45:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537832717; cv=none; d=google.com; s=arc-20160816; b=yU2ZcmaGw5bayJ/CbL6JRXqxhwUCMtvSikO4vlA04hPCunpi0bwjdGmuvSS8/PcDWL HhuUUEZ5ew784G8hIy9imOERtNNfi5+DW8466G0hVd388qifLgoEWXnnADqk+0MEVu0K gU32pe+Mio7IRT3P9Gfx0SltEWRk3YNl20h9PIMycbO37pXrsEu411sVIGsOCsh4wJne IeGJSIJVyIj/DXtO2H2ck9T/XPOK2z7RiOn7CbUGzf8HauE3QCqG+fLkdFksIhXnAzZ9 1WlDSVXs1ael4IO0KZx7hebqL4PDkM6OEbbl2+fFHeD4Hpk3R4xb3Qc1NQDZeH+c+N5R jt+Q== 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=kv0aC0hb8aPR+LeGmR5lLhPOCERjJ5Mx+7hgSxbBENM=; b=rAkw/YsxJMm/Nal8NgqkqYetmI+UQMAnL58T421gEf5XpKidD92goDYJaD+4MuyBCv Kox72K4ikkfrPYZYbmLLA8cKmopTiY2mapI5BtEFwbBUPVBqhenz1XrhDNnu1pGj/NzY JRDkNxlEzyWdo14e8aXUS54MMLeIJgbBwCVPp6DmdWYffXPLEI7WLpVHc4esQ/6RpmbB 02kJ8+XGNtCh4r/ogvvFyjrk9BGKo71T+KXGz+32WnUY92q07tBFb/3J6L4rYT10o/ng QudEToNTBAMFo+uWXVFJGuXxfKMW5HIj/B+J7weOLgts1h2uE5EhOrQar6MniUo9fuOq 121g== 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 i13-v6si617575pgq.426.2018.09.24.16.45.02; Mon, 24 Sep 2018 16:45:17 -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 S1728585AbeIYFtI (ORCPT + 99 others); Tue, 25 Sep 2018 01:49:08 -0400 Received: from smtp2200-217.mail.aliyun.com ([121.197.200.217]:56707 "EHLO smtp2200-217.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726435AbeIYFtI (ORCPT ); Tue, 25 Sep 2018 01:49:08 -0400 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.08185153|-1;CH=blue;FP=7352009551781901759|1|1|14|0|-1|-1|-1;HT=e02c03312;MF=ren_guo@c-sky.com;NM=1;PH=DS;RN=19;RT=19;SR=0;TI=SMTPD_---.CvMN6wm_1537832630; Received: from localhost(mailfrom:ren_guo@c-sky.com fp:SMTPD_---.CvMN6wm_1537832630) by smtp.aliyun-inc.com(10.147.40.233); Tue, 25 Sep 2018 07:43:51 +0800 From: Guo Ren To: akpm@linux-foundation.org, arnd@arndb.de, daniel.lezcano@linaro.org, davem@davemloft.net, gregkh@linuxfoundation.org, jason@lakedaemon.net, marc.zyngier@arm.com, mark.rutland@arm.com, mchehab+samsung@kernel.org, peterz@infradead.org, robh@kernel.org, robh+dt@kernel.org, tglx@linutronix.de Cc: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, devicetree@vger.kernel.org, green.hu@gmail.com, palmer@sifive.com, Guo Ren Subject: [PATCH V5 27/30] dt-bindings: interrupt-controller: C-SKY APB intc Date: Tue, 25 Sep 2018 07:39:30 +0800 Message-Id: <962274d8ec61f3900b19c07bbe8923674c94d044.1537789737.git.ren_guo@c-sky.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: 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 --- .../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