Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1520119imu; Wed, 23 Jan 2019 19:30:55 -0800 (PST) X-Google-Smtp-Source: ALg8bN7cHXgST/uU6p1Htt1+pMxKnLLotK99mFGbVw9YNXpE45OLAQ8C9jO/72icFQjowCDe/Uji X-Received: by 2002:a62:2c81:: with SMTP id s123mr4728479pfs.174.1548300654947; Wed, 23 Jan 2019 19:30:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548300654; cv=none; d=google.com; s=arc-20160816; b=Rlt457cgLNHLjJWQUsZE6SodXwl3rtziK4izQcgqQs4pzAALS+P5ivCLkzbXqBa41R AnkeocD5ik3Js7BqDMyZZOSzGa60ZLc8cVaN6LklTVlNqaYUQ+7Tlf1zDob+dQEdn88o Qr7CY2icWQwUF7JsS/dci/s5fjLW3HOZgEPlk41EfLZ5k51DzZje6rGGdoeIx3Drpo+H c/bxqzYLTwiTdJk5eRElswDJ3gIIbZxt62V7Z/6joHBsZ6zcOuU/C10UxAydB4Zk8jvh 00VWjFpG6SIQwJRdp2sZxDhd7i1cbtxAg57+77eeE96s1obtsE14fHsQ5NFKQgFqmnRj pKDw== 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=AW/WTWMWjUsy1R9RIy0PiV+hXhuMumEGJ3qndrZwix8=; b=GCVhwA0nXeJS2BN1rihhpEdwnluAWbabQmIvKepQIsCj7DbVYK5pxW9lb6dBrrc7Eh Pkeo70nFZfU8Pk/W/CMYdXgeNGZ+iAUbCwGl/ah1A0NOlSTRMfGXnFvabATNxZ3JzsdR 59jsHsJGHdjgfgPGKl+KkTuPAmDekdL2SllPxFSUN5TRULudw7Z2JanfOMwbBy/2Bkc7 9QVDeinHgS5bKqorMWBFMNS0b7L+MHADn9gnURiIpPULFh+u8eBXQmFuQmavWimznn5b iBkk90fetTQptgOsspaYJu3YP1qU0b1ccOZuCqC8eoLulC8S+7O6g/jxb3e35qImg/b6 9eXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@flygoat.com header.s=mail header.b=dRvd2Z5F; 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 t61si20867076plb.339.2019.01.23.19.30.38; Wed, 23 Jan 2019 19:30:54 -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=dRvd2Z5F; 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 S1727281AbfAXD2Y (ORCPT + 99 others); Wed, 23 Jan 2019 22:28:24 -0500 Received: from forward101j.mail.yandex.net ([5.45.198.241]:41927 "EHLO forward101j.mail.yandex.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726309AbfAXD2Y (ORCPT ); Wed, 23 Jan 2019 22:28:24 -0500 Received: from mxback6g.mail.yandex.net (mxback6g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:167]) by forward101j.mail.yandex.net (Yandex) with ESMTP id 733651BE0EBF; Thu, 24 Jan 2019 06:28:21 +0300 (MSK) Received: from smtp1p.mail.yandex.net (smtp1p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:6]) by mxback6g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 9aeowjpSqV-SLrGblhr; Thu, 24 Jan 2019 06:28:21 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; s=mail; t=1548300501; bh=AW/WTWMWjUsy1R9RIy0PiV+hXhuMumEGJ3qndrZwix8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=dRvd2Z5FMFxz8EKQqLmoIk9CAfiq1Kogcz8W5kHE3jhGWgHk1PX9GI6/9hsS0BdUF KhRUkHR65p5UKCTV6Ms/R6ZH7i4s0IabiSfNJ34TZ4cnxtZuHtv74RM0RDZ5J0XosH UaHzzy342Dpjkh/5EZe1ilO28y+xXwbynLoYl5Oc= Authentication-Results: mxback6g.mail.yandex.net; dkim=pass header.i=@flygoat.com Received: by smtp1p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 2lgYSlYsqG-S9XGJafS; Thu, 24 Jan 2019 06:28:18 +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, robh+dt@kernel.org, mark.rutland@arm.com, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Jiaxun Yang Subject: [PATCH v3 2/2] dt-bindings: interrupt-controller: loongson ls1x intc Date: Thu, 24 Jan 2019 11:27:30 +0800 Message-Id: <20190124032730.18237-3-jiaxun.yang@flygoat.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190124032730.18237-1-jiaxun.yang@flygoat.com> References: <20190122154557.22689-1-jiaxun.yang@flygoat.com> <20190124032730.18237-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..a4e17c3f5f93 --- /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 1. +- interrupts : Specifies the CPU interrupts the controller is connected to. + +Example: + +intc: interrupt-controller@1fd01040 { + compatible = "loongson,ls1x-intc"; + reg = <0x1fd01040 0x78>; + + interrupt-controller; + #interrupt-cells = <1>; + + interrupt-parent = <&cpu_intc>; + interrupts = <2>, <3>, <4>, <5>, <6>; +}; \ No newline at end of file -- 2.20.1