Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3546825imu; Mon, 28 Jan 2019 06:48:08 -0800 (PST) X-Google-Smtp-Source: ALg8bN7DetgnMBoO/7i/vwWM4jX5oS2sjESMOVSsOgzIXB8Z/1g4AFHp252dLcaLaSYRICh88I5r X-Received: by 2002:a17:902:fa2:: with SMTP id 31mr22236590plz.75.1548686888540; Mon, 28 Jan 2019 06:48:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548686888; cv=none; d=google.com; s=arc-20160816; b=DjA8m99g9gnr0y4HsTi7LQPCIkrQqLisx3P95DrqSgEiYoc1+zFX7QhC1KR+3qqbhX FHV+jyXPk3ZLGOvDSOTxEt7u5ZIEEm5y5DSvgPtujHtFFkVHgUxzhcAw6r7oB0TaVLvi pF+LK/k5pnULOsp5bRaHxqn+8846fMt6A/MLk8N3+tz0/9O73am9hiw/FhEZGywOCXjq aKIVvmOHUphtRlGEFpfqOYPGmt95e1nX1JguA/dR36lfB2Fg3PpdGfEuLM7Ee5DGrL9o BCyQFfzvAsDwhK+ll4N2EiV0wRb07Nqz6+KQrLoI4+Wc/UjJpXlXspWJLCcx7IOf7dWR jRxQ== 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=vbg08MemU13t5huHLaaZwc3N8fOf19NPYtMS1/ImRtgskHmVBt8w5geOEaCUw4fpDN a4kVyAD5HlcOG4RZte3OrHxPh5I+lc6o5BEZ7DFHYN68e2RMDVNAUHPUExWtoOVuecGM MBRBpY1Zy85OLWJpGilk30AKXpOc+coQ9fmeK5TAkcZPCddtmXPLXeAG4Q4APAkSEow5 TOrLL/0ZrhL/P+/wDZu286tifG1gsFXvC6o8dMI22yUJkyVhibKVeDa73DRGKRAxkyXn Bax426xoqIke1Aft0JeA0ZQuef+7gISRHX5tRNriIPc7CRSW7NLgwM5MKF3+Y6Xs82Eq f/qg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@flygoat.com header.s=mail header.b=g9HbdMuw; 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 m7si7278916pfc.118.2019.01.28.06.47.53; Mon, 28 Jan 2019 06:48:08 -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=g9HbdMuw; 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 S1727029AbfA1OrQ (ORCPT + 99 others); Mon, 28 Jan 2019 09:47:16 -0500 Received: from forward106o.mail.yandex.net ([37.140.190.187]:57995 "EHLO forward106o.mail.yandex.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726678AbfA1OrP (ORCPT ); Mon, 28 Jan 2019 09:47:15 -0500 Received: from mxback15j.mail.yandex.net (mxback15j.mail.yandex.net [IPv6:2a02:6b8:0:1619::91]) by forward106o.mail.yandex.net (Yandex) with ESMTP id 47D8850605A0; Mon, 28 Jan 2019 17:47:13 +0300 (MSK) Received: from smtp3p.mail.yandex.net (smtp3p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:8]) by mxback15j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id bcGlUm4jby-lCAa3TVW; Mon, 28 Jan 2019 17:47:13 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; s=mail; t=1548686833; bh=8u1oeL2Vyb7VWqI8PW5ctvZIFSRiLJZM62UiOHad4d4=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=g9HbdMuwmMPKY5wKV3UfJuGykZvHHPcyBbZPTl6RoGBYTgANTDInCuTlK5QnD01lt IBDIiisqDyBcuIrG2kCd9QKXeZ4a1/VFkmb8nHB3k6n1JHjjEfsbPWN1iEDFbCXmVr BSk9Q7eqpseTZwF1Mc88lnh+e15+uFjUI4mCf8a4= Authentication-Results: mxback15j.mail.yandex.net; dkim=pass header.i=@flygoat.com Received: by smtp3p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id F7ornvIEEQ-l2kagpe0; Mon, 28 Jan 2019 17:47:10 +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 v4 2/2] dt-bindings: interrupt-controller: loongson ls1x intc Date: Mon, 28 Jan 2019 22:46:31 +0800 Message-Id: <20190128144631.31289-3-jiaxun.yang@flygoat.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190128144631.31289-1-jiaxun.yang@flygoat.com> References: <20190122154557.22689-1-jiaxun.yang@flygoat.com> <20190128144631.31289-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