Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp57581ima; Thu, 31 Jan 2019 22:55:37 -0800 (PST) X-Google-Smtp-Source: AHgI3Ia0esB6BY/Wwg/UKse+737pR8sjBz4RLCORWJ0j3akU1Er022XM/ulJOsCGqWu3yAbcvpgI X-Received: by 2002:a63:dc54:: with SMTP id f20mr1131264pgj.410.1549004137141; Thu, 31 Jan 2019 22:55:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549004137; cv=none; d=google.com; s=arc-20160816; b=dGM3e5jSkBf1zwJNrM+wiNKpeASYw3At1Wg0fCoZLlKfBE2w82fksfYxhbzYuXND+j hFt8TGEQqzjpvUv/NRGkKDxPR+haIFzLBAWK4y2/Erd0QX1lsPjbQU/vba6hm4a8rJTp R/S/2Z9jDB5X/3z7/rypHyYQjfycBFlziYHXXpa3KwpZIS1CzJFn0m8V4yVK0rPeBe/d nvNOozbc92HVF6691X4SbvAT8Zw0W10A4zwoTMo1UtPo+rMuq3fKVzQsyZwGOrpyiAIO aNVbFuOKQ1HhwOOP+l+62XfVEAnAoqaYhKY5BKDVc6npHaC8IZrCL+Z+wXGdOsVLpV/L 6p5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ALTjAKukM1Aw16UCP8HKXZJ/PqI9UtcZ2YYK+kCo8HA=; b=ZKvu9hT9BwrH9B8386OijeURZgdG5UN8jdQePU8yiUnQv5+0iUzGFKaUbk5vGcK3pu 9Z7ItbjVLpbRxgysygB26vMQQgwAVBkGIj4WujYaRIVC+n5ZhWI85yxB1T7w/a7gj++y PxoiSATJAgxkyNqBCeOp1OfzBWziMJ8DmLmCnOWaCH1HlWOVyDka+yTthl94X4UJTBCP TU4497+SDl1cAXmFZ+LiD2T0/QFHs1eulmkKAR/bJdobe2MM1lO3Zjk+R9v2PDp1vGA8 NpZddQZMR7MzcnKML9e0PqH/PHQvGe7Ybw6KP51LHhyo898LvxqH7kqOcauqOqJRX0oZ Yhsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@flygoat.com header.s=mail header.b="Xh6Q/oPn"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x61si6846854plb.303.2019.01.31.22.55.21; Thu, 31 Jan 2019 22:55:37 -0800 (PST) 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; dkim=pass header.i=@flygoat.com header.s=mail header.b="Xh6Q/oPn"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727176AbfBAGXM (ORCPT + 99 others); Fri, 1 Feb 2019 01:23:12 -0500 Received: from forward105o.mail.yandex.net ([37.140.190.183]:56138 "EHLO forward105o.mail.yandex.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725763AbfBAGXM (ORCPT ); Fri, 1 Feb 2019 01:23:12 -0500 Received: from mxback15j.mail.yandex.net (mxback15j.mail.yandex.net [IPv6:2a02:6b8:0:1619::91]) by forward105o.mail.yandex.net (Yandex) with ESMTP id 2656B4202B0E; Fri, 1 Feb 2019 09:23:09 +0300 (MSK) Received: from smtp2o.mail.yandex.net (smtp2o.mail.yandex.net [2a02:6b8:0:1a2d::26]) by mxback15j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 6JmBleADWY-N9P49G3u; Fri, 01 Feb 2019 09:23:09 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; s=mail; t=1549002189; bh=ALTjAKukM1Aw16UCP8HKXZJ/PqI9UtcZ2YYK+kCo8HA=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=Xh6Q/oPnzu48P/SexI1seHxpkyN8OL2UqUlqKZFVV4dGoN4LnrKh51W/ufo5ki98p yp/jlZ5O7D45DwKcVR1woDuzRTjmWXKgl0M94IKuz4KNbTp6kTL4tmY/6GE3qHj+b1 aP9QMiXBDldbuiWjxSWQCtcUkDyYASkkno27wMH0= Authentication-Results: mxback15j.mail.yandex.net; dkim=pass header.i=@flygoat.com Received: by smtp2o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 0W2FVbEhhw-N01ebTAB; Fri, 01 Feb 2019 09:23:06 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) From: Jiaxun Yang To: linux-mips@vger.kernel.org Cc: tglx@linutronix.de, jason@lakedaemon.net, marc.zyngier@arm.com, linux-kernel@vger.kernel.org, robh+dt@kernel.org, devicetree@vger.kernel.org, Jiaxun Yang , Rob Herring Subject: [PATCH v6 2/2] dt-bindings: interrupt-controller: loongson ls1x intc Date: Fri, 1 Feb 2019 14:22:36 +0800 Message-Id: <20190201062236.17903-3-jiaxun.yang@flygoat.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190201062236.17903-1-jiaxun.yang@flygoat.com> References: <20190122154557.22689-1-jiaxun.yang@flygoat.com> <20190201062236.17903-1-jiaxun.yang@flygoat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dt-bindings doc about Loongson-1 interrupt controller. Reviewed-by: Rob Herring Signed-off-by: Jiaxun Yang --- .../loongson,ls1x-intc.txt | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/loongson,ls1x-intc.txt diff --git a/Documentation/devicetree/bindings/interrupt-controller/loongson,ls1x-intc.txt b/Documentation/devicetree/bindings/interrupt-controller/loongson,ls1x-intc.txt new file mode 100644 index 000000000000..9385f8b55109 --- /dev/null +++ b/Documentation/devicetree/bindings/interrupt-controller/loongson,ls1x-intc.txt @@ -0,0 +1,25 @@ +Loongson ls1x Interrupt Controller + +Required properties: + +- compatible : should be "loongson,ls1x-intc". Valid strings are: + +- reg : Specifies base physical address and size of the registers. +- interrupt-controller : Identifies the node as an interrupt controller +- #interrupt-cells : Specifies the number of cells needed to encode an + interrupt source. The value shall be 2. +- interrupts : Specifies the CPU interrupt the controller is connected to. + +Example: + +intc: interrupt-controller@1fd01040 { + compatible = "loongson,ls1x-intc"; + reg = <0x1fd01040 0x18>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupt-parent = <&cpu_intc>; + interrupts = <2>; +}; + -- 2.20.1