Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp144246imm; Thu, 27 Sep 2018 17:53:34 -0700 (PDT) X-Google-Smtp-Source: ACcGV61TCrQKCnJQfvkPhHAeeGnwhgQo/evvntFz1c/2KRO/f6DL7IvJkyzzwCQZ7CCJxVWURQxD X-Received: by 2002:a17:902:9047:: with SMTP id w7-v6mr13549617plz.291.1538096014708; Thu, 27 Sep 2018 17:53:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538096014; cv=none; d=google.com; s=arc-20160816; b=u8eidwnVYBf6YX15+m6ldJl+FtBPR5o0/+UXcVZNEWi1GEUpQat9OybqDb4L5tvCH3 HXqi9PsYzTtZHfTGrrHjPngNme8LMcpga6RBd9revbp0LYzgYddqlGDy+8Pbrb9ZhCyH 5ASb+b0lu4aEcnnIEs4C5HhRaAhKDLVk4zfQ1zUZ/KDz755ZarzpjWrl8NUWdlvyiE1O zY8jkgV1rqAekZZTtR0qgtrEHZNS88qm0vCLROYrHrsMBFH0CAlLZz/axVIMKrb1hj3T x0tS1iFKQZQ0dxELegtJj+ULsmjFFP06PqhuhWB5awSJnooop75r5Y6HwWA8iI+Thbnf mTdw== 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=pyK2a3JCYRnVfR/kfIqrEPbO8MZRfEgD0/+0qht+9aQ=; b=A9Gx3odBJJFeAKBEtu5SUgGU6td9arq3jrkx3FT9JYpotUUKKeIBbp3fse99LQm+vT SKuVK5QdsjszddcBuNCIUAr6ub4QowI3GiVrg2PnLIxZNW8okncEU05t/Jq8mfSrbh+m GYKKVUn3uI9JFj1YC5mHYgmCpHPb2Pl5NWMqGTCY7sDKOf6gRb8YgZMCVbikoiGyEdQm koXOjuys/iyHdjv+/6u6EXw7Sj+hma2vnm9hst+C2sT+1MDBng2bFzHqSXwIDtbuU+Tc NKE7ULANH8v5gGSoyhNj7+pQvur5zfQw5n7HhUBdg2yWeut8Jj9mXm7Npvouuuoms9AU fzKQ== 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 78-v6si3636451pfm.264.2018.09.27.17.53.18; Thu, 27 Sep 2018 17:53:34 -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 S1728883AbeI1HNz (ORCPT + 99 others); Fri, 28 Sep 2018 03:13:55 -0400 Received: from smtp2200-217.mail.aliyun.com ([121.197.200.217]:51707 "EHLO smtp2200-217.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726100AbeI1HNx (ORCPT ); Fri, 28 Sep 2018 03:13:53 -0400 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.213161|-1;CH=blue;FP=7430822270164874737|1|1|12|0|-1|-1|-1;HT=e01l07423;MF=ren_guo@c-sky.com;NM=1;PH=DS;RN=18;RT=18;SR=0;TI=SMTPD_---.CwkfdzC_1538095936; Received: from localhost(mailfrom:ren_guo@c-sky.com fp:SMTPD_---.CwkfdzC_1538095936) by smtp.aliyun-inc.com(10.147.41.231); Fri, 28 Sep 2018 08:52:16 +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 23/33] dt-bindings: interrupt-controller: C-SKY SMP intc Date: Fri, 28 Sep 2018 08:51:20 +0800 Message-Id: <7ec4c96e3ea578488f143b966f76fa16f402eaf0.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 Multi-processors interrupt controller. Signed-off-by: Guo Ren --- .../bindings/interrupt-controller/csky,mpintc.txt | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/csky,mpintc.txt diff --git a/Documentation/devicetree/bindings/interrupt-controller/csky,mpintc.txt b/Documentation/devicetree/bindings/interrupt-controller/csky,mpintc.txt new file mode 100644 index 0000000..9cdad74 --- /dev/null +++ b/Documentation/devicetree/bindings/interrupt-controller/csky,mpintc.txt @@ -0,0 +1,40 @@ +=========================================== +C-SKY Multi-processors Interrupt Controller +=========================================== + +C-SKY Multi-processors Interrupt Controller is designed for ck807/ck810/ck860 +SMP soc, and it also could be used in non-SMP system. + +Interrupt number definition: + + 0-15 : software irq, and we use 15 as our IPI_IRQ. + 16-31 : private irq, and we use 16 as the co-processor timer. + 31-1024: common irq for soc ip. + +============================= +intc node bindings definition +============================= + + Description: Describes SMP interrupt controller + + PROPERTIES + + - compatible + Usage: required + Value type: + Definition: must be "csky,mpintc" + - interrupt-cells + Usage: required + Value type: + Definition: must be <1> + - interrupt-controller: + Usage: required + +Examples: +--------- + + intc: interrupt-controller { + compatible = "csky,mpintc"; + #interrupt-cells = <1>; + interrupt-controller; + }; -- 2.7.4