Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp687880imm; Fri, 12 Oct 2018 05:13:32 -0700 (PDT) X-Google-Smtp-Source: ACcGV61+1YnR55MaXKYbs4oVy87pmVtdoJHwqAybNmr0Tj3aL7x2mBLygo7he2ozXdbl5Hm9JVqf X-Received: by 2002:a63:cf0e:: with SMTP id j14-v6mr5305533pgg.195.1539346412575; Fri, 12 Oct 2018 05:13:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539346412; cv=none; d=google.com; s=arc-20160816; b=0Xu6fMznyDekIaDceDjBzcRLnbRoqOLxgfXBUhuP5ScOjVfwduqwmLLORBi5isqgvt t+/DzFr+oJPLzfF+W2op6zFHGDXTs2VIajSHitvx3SUyeZk6XZoXSli+zD4ghUL5fFQ3 MgyczmrUxnKbEcdzW9sUwzbCLrxHj254pxYz+Y2pY1g5oIyPO1NapBRFOOnfFpC/kH/n H8nBASjx40XNla056+UXGPiG/1arSXa+Fz3H5Y/6CHZe6xh+i4gO/vhv4Ohc60/wRgO5 eX2Sscp8vSGYQ1rRhFjjSvc6xQ8trZoLIzY9DY0wQctu9UUoSovNKpsaAdM4BPXZlhw9 YkAg== 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:message-id:date :subject:cc:to:from; bh=qASL5jFucyNlOj/bBL0WydcR85q5PUu4WPdp+PCRJHw=; b=ZqssfEZyAbBdCaxcAuZTnUB0h/i7CekA+ItjnQvPBk8Rilzn/EiEXKgQbqnG97+ave rJ4ryEeMkuVQyQmySyn4qdW2F/hKMKfhzuazVBI/nEUId8+nKvMJ0A3yfJlHvBwsRc0I I0GtbjMHyDIgc39OZo7PJI6FfSSW6Jq0Yrx69k/sRTDnM5Yuqd9SePlnxTVFgsR3v48L gWtpEjqL3pvJkDAynbGBpyJ24WDUlp0hZ8GBON8NkBRh8/xjbmiXosiadEBupslJnR5c CEBJws7X7zz2LHkH7kAOv5IXHRzWlXH8PQU+MkJDsyv0r7vxNtTaCwrSMoUuCwgEdNqx K5Iw== 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 31-v6si1190341plc.423.2018.10.12.05.13.16; Fri, 12 Oct 2018 05:13:32 -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 S1728599AbeJLTo5 (ORCPT + 99 others); Fri, 12 Oct 2018 15:44:57 -0400 Received: from smtp2200-217.mail.aliyun.com ([121.197.200.217]:52600 "EHLO smtp2200-217.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728145AbeJLTo5 (ORCPT ); Fri, 12 Oct 2018 15:44:57 -0400 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.08127265|-1;CH=green;FP=0|0|0|0|0|-1|-1|-1;HT=e02c03278;MF=ren_guo@c-sky.com;NM=1;PH=DS;RN=14;RT=14;SR=0;TI=SMTPD_---.D16CbYn_1539346355; Received: from localhost(mailfrom:ren_guo@c-sky.com fp:SMTPD_---.D16CbYn_1539346355) by smtp.aliyun-inc.com(10.147.40.26); Fri, 12 Oct 2018 20:12:35 +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, will.deacon@arm.com, jhogan@kernel.org, paul.burton@mips.com, peterz@infradead.org, arnd@arndb.de Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Guo Ren Subject: [PATCH V12 4/8] dt-bindings: interrupt-controller: C-SKY APB intc Date: Fri, 12 Oct 2018 20:12:17 +0800 Message-Id: X-Mailer: git-send-email 2.7.4 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