Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp143979imm; Thu, 27 Sep 2018 17:53:11 -0700 (PDT) X-Google-Smtp-Source: ACcGV60J3knehhe14xiGfhisRMhGokVPQzwnepuJZVTFVZbJVXKXal7OIHnP6U2CvW9NJcnLi2c/ X-Received: by 2002:a17:902:1e2:: with SMTP id b89-v6mr4291929plb.296.1538095991801; Thu, 27 Sep 2018 17:53:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538095991; cv=none; d=google.com; s=arc-20160816; b=nU/i8g+TJR+7kRBm6dZ0H+oGK7ZC+TMq9FQ72tJChVnFEE8+mSx4gV7FFeXQ2NGUzn aPc/6OoAfxvvFlcVAcvA0fXGmEdJAFMU79LMkRDiijSDlsdhc5YK0hY8BcfoYxttNB8k aNKrXEJKeumMYVxNiNbQWzAxPcLAO90/KLT80PgsURyoroWdW+atGO8w8nEHe0y6hABF s4pcjVU8oiHnrLTrZgSdf8MPKUr+/BRvDavszEcAju0yhHjKqDSYROacmBcLMhD4pZh9 h+xseODr9nLQMW71wJMM5z2nEiM4QdSWOpagNhNaGK2tK3lDZ6fess+akgMjFLtKu8cX Hr3A== 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=GaQPCqwgJHap4RKgb0hTLN0nSvm+JhuCLOnd8aSCwn5hwUn7ZE8Kv1jx5D1WPDiqH6 F+crdvft4VXTdM1QCmPs12nPd9jek37PH7bakcwNEXiKsWN9aDogFYoi9qoKQ7EqDM5P 1awS+1/AfxXAzq5/+w9Cf6qYlg8FMFxFAfCJhmsOOj1ycPdQq/cNU0fGs1KYfUnffPgo H00kS7r2pcGI1U4Ge9yAKmbpdYZO0XSJz+dAIyWjh0KbURrQ5fV+cXiD2BSZuZQL2cpt iEVmQKzn2Vo3GsABdTeMmjWlff2tyveCtW7PiYJfZ6pmQ/8aWUEezeFA9BRgV6UTvnIi NsbA== 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 2-v6si3438800pfd.39.2018.09.27.17.52.55; Thu, 27 Sep 2018 17:53:11 -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 S1728672AbeI1HNi (ORCPT + 99 others); Fri, 28 Sep 2018 03:13:38 -0400 Received: from smtp2200-217.mail.aliyun.com ([121.197.200.217]:59912 "EHLO smtp2200-217.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726100AbeI1HNh (ORCPT ); Fri, 28 Sep 2018 03:13:37 -0400 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.08162771|-1;CH=blue;FP=7352009551781901759|1|1|12|0|-1|-1|-1;HT=e02c03290;MF=ren_guo@c-sky.com;NM=1;PH=DS;RN=18;RT=18;SR=0;TI=SMTPD_---.CwknZZT_1538095942; Received: from localhost(mailfrom:ren_guo@c-sky.com fp:SMTPD_---.CwknZZT_1538095942) by smtp.aliyun-inc.com(10.147.42.197); Fri, 28 Sep 2018 08:52:23 +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, Guo Ren Subject: [PATCH V6 27/33] dt-bindings: interrupt-controller: C-SKY APB intc Date: Fri, 28 Sep 2018 08:51:24 +0800 Message-Id: <78ff18cae7dd7fb543ec46935c523f12fb04337e.1538058840.git.ren_guo@c-sky.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <62098e7d0a7fbdd09f44d7e23333dad258a01bd2.1538058840.git.ren_guo@c-sky.com> References: <62098e7d0a7fbdd09f44d7e23333dad258a01bd2.1538058840.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 --- .../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