Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4170359imu; Mon, 28 Jan 2019 19:06:41 -0800 (PST) X-Google-Smtp-Source: ALg8bN73mNuS/xLQkEWUwCSDj7vqKhP4DzQyX3RTrDPsCQzJDnSU2Aih/gX7XsByqPiQNc7ZCM1a X-Received: by 2002:a17:902:820f:: with SMTP id x15mr23476071pln.224.1548731201452; Mon, 28 Jan 2019 19:06:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548731201; cv=none; d=google.com; s=arc-20160816; b=wRyPaphMVpavXI2zO1ajgATosHTw2yAAAIxSbbUMdDnL6Ou3L2GXIJiiJhy/6illGE R7bjS1Af8wEicnCozjEPohhB6iYca2WHvFmcms1t9zOxkdA1oMKxlIxa7Vdx+QcnhNFX ikMGW7mWSGiKYC6Itd9LhjmdNaorW/526kclzEdpCwGPxGtebGnuBiccwHGMDRC0mBKI wIqHXhZI5RoCJSHRLtkK13nQPF7mzvu1AzoXEqhFc+uko248pdpHEDirAUHoRg6OEXWW 1LBcX3sq2VQWBxcJbKV/teYdnF1/Ib17us20ZKReZOlrAhWBdJsHh4rc1I5r0dW2au6H fu5g== 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=8u1oeL2Vyb7VWqI8PW5ctvZIFSRiLJZM62UiOHad4d4=; b=p6q59/HLWZIseWsey/Q1zk3ltKPizygnbAkMsd/guhU7jkyKPCMx5nYj3uzwW0xxbb dpn93QURoG2IJtq88gGcKWz/xRB7Qcn7mIG3h9xcGFsiOdH68vD6GuzxNW8ifH8ZHbAk qRO3rFqMDp56+j8Jej/qrEQIpZya/0BURzq8IjcQ9UXGxZNy7DfZgBA25sRUG6ZTV+jW Z63nKJaabBqAJfM3zqO7AcRdasFvf60Ixwi0JMRzV9PWj8slE4VLJP7c7K678i7CLobg vSal+TYoeTL+jwKsqlWckF7JklcL/HuY6t1Pdz9TnUvZ33iobaaX/TRFTyMfgrHGCC2V lm5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@flygoat.com header.s=mail header.b=bsEb3EEb; 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 i66si7694392pfb.91.2019.01.28.19.06.25; Mon, 28 Jan 2019 19:06:41 -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=bsEb3EEb; 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 S1727417AbfA2DFZ (ORCPT + 99 others); Mon, 28 Jan 2019 22:05:25 -0500 Received: from forward103p.mail.yandex.net ([77.88.28.106]:34984 "EHLO forward103p.mail.yandex.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727065AbfA2DFX (ORCPT ); Mon, 28 Jan 2019 22:05:23 -0500 Received: from mxback9j.mail.yandex.net (mxback9j.mail.yandex.net [IPv6:2a02:6b8:0:1619::112]) by forward103p.mail.yandex.net (Yandex) with ESMTP id 7753818C0B57; Tue, 29 Jan 2019 06:05:21 +0300 (MSK) Received: from smtp3o.mail.yandex.net (smtp3o.mail.yandex.net [2a02:6b8:0:1a2d::27]) by mxback9j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 5CZoZ9cEAH-5LBmS9en; Tue, 29 Jan 2019 06:05:21 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; s=mail; t=1548731121; bh=8u1oeL2Vyb7VWqI8PW5ctvZIFSRiLJZM62UiOHad4d4=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=bsEb3EEbVPMqtO06ms3zCW16DJvqVUzT/AatvCl3d4T7ouF6wnea6yVkkqIdcnx3S 2wSkTgSt9kbDUYkR+XyDYo/EwLOw/L09HsjKDaG/W1B+Bmv8iGhdF1V3w/J6RltOu+ FUmHlhXF83gpqxwlms6CHOrLIEuvMOnqJ2+nk5jM= Authentication-Results: mxback9j.mail.yandex.net; dkim=pass header.i=@flygoat.com Received: by smtp3o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id xt9oXyCTqZ-5GweeD16; Tue, 29 Jan 2019 06:05:19 +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, Jiaxun Yang Subject: [PATCH v5 2/2] dt-bindings: interrupt-controller: loongson ls1x intc Date: Tue, 29 Jan 2019 11:05:01 +0800 Message-Id: <20190129030501.29791-3-jiaxun.yang@flygoat.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190129030501.29791-1-jiaxun.yang@flygoat.com> References: <20190122154557.22689-1-jiaxun.yang@flygoat.com> <20190129030501.29791-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. Signed-off-by: Jiaxun Yang --- .../loongson,ls1x-intc.txt | 24 +++++++++++++++++++ 1 file changed, 24 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..a63ed9fcb535 --- /dev/null +++ b/Documentation/devicetree/bindings/interrupt-controller/loongson,ls1x-intc.txt @@ -0,0 +1,24 @@ +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