Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2993215imm; Sun, 30 Sep 2018 09:20:15 -0700 (PDT) X-Google-Smtp-Source: ACcGV60UuBgo13GQmkRiY75tob2VxqTwf3mvCs2NAHeaoBEvFV2geM9z8A8IErxcrVaMK1rjYsig X-Received: by 2002:a65:5bc1:: with SMTP id o1-v6mr6928790pgr.391.1538324415545; Sun, 30 Sep 2018 09:20:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538324415; cv=none; d=google.com; s=arc-20160816; b=zQzbJV/X0gAubGDvW+poFBlHpvmZuPlV8ZwRegdeB4t9LmTW/Cgmiy/zxnjyQvy/Zl TZEhUrukQ8r55lerCBeOIRqmvCfwPszGDElD7n93/RVBTFPFRVpOiQVXWuDCQ0FF+g0x 2Zjn0KuJlpBVI01Y9H4mhJb58tEeY4NKL2U4UQT6baZtN2x2bEvizP9VgjZ0/+kNR5tW c/qtWNM3CcHkVql0xmWRby+nh3+2gUzij3D0+XyRwzv2TrC5w9SbNhCVK36mZpnvQhVY L7sXbcaORvVxYeMz+747hGEbW+NtMPytP6vfB+/22bhGV8zCpBBITVs3yd1yp2Lv2kfX PsTw== 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=gl0Zhrl76ns324bBzRXNJv5d53xN9cn1hkG93tyYIa0=; b=LVD0I+DL26H3CzhVH3R3EDta+R9atVcwZ+lX4UJaOIKOwvotHj7vzK0m0IZik+1QKd nd1hps+2Ji00J1qyW35Vbs2fHoB/4XTjNhZzd7L7Z4tEYDrTQwxU/5GPV7in+zRRTIRX uL1M6UswzIvu48Yx3LUV2h9eFdQr54LIqG8F2tdCCrRGkFl5jcvviPcUeDLok97s0VI6 Ewfw5fYiiHMa8wu8MEJbiUsq/s5znxkBIqYuaH7z3zsC36rYKDbSm1gVPwvI/nso86Ya dYte9oFfFDUyfEeFAmW2AJNJUPdeffrMTkQZD2zE17W1PcBrculkM6UJBgx6AaD65pXE 5fqQ== 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 e7-v6si9974991pls.366.2018.09.30.09.19.33; Sun, 30 Sep 2018 09:20:15 -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 S1728599AbeI3WxH (ORCPT + 99 others); Sun, 30 Sep 2018 18:53:07 -0400 Received: from smtp2200-217.mail.aliyun.com ([121.197.200.217]:49020 "EHLO smtp2200-217.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728469AbeI3WxH (ORCPT ); Sun, 30 Sep 2018 18:53:07 -0400 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.2454613|-1;CH=green;FP=0|0|0|0|0|-1|-1|-1;HT=e02c03310;MF=ren_guo@c-sky.com;NM=1;PH=DS;RN=18;RT=18;SR=0;TI=SMTPD_---.CxwF8ay_1538324354; Received: from localhost(mailfrom:ren_guo@c-sky.com fp:SMTPD_---.CxwF8ay_1538324354) by smtp.aliyun-inc.com(10.147.41.199); Mon, 01 Oct 2018 00:19:14 +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 2/8] dt-bindings: interrupt-controller: C-SKY SMP intc Date: Mon, 1 Oct 2018 00:18:43 +0800 Message-Id: <4f6de4c6290c408d13902d8c1922514d06201bc2.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 Multi-processors interrupt controller. Changelog: - Should be: '#interrupt-cells' not 'interrupt-cells' 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..ab921f1 --- /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