Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp431640imu; Tue, 22 Jan 2019 22:31:56 -0800 (PST) X-Google-Smtp-Source: ALg8bN4jvy2EtoKNMYQioLLUOWWkTDj/N40l0NH/mj0vCuH/Jm3zb0JokJG1goIzfW1s45hIvwOP X-Received: by 2002:a63:a553:: with SMTP id r19mr913057pgu.53.1548225116039; Tue, 22 Jan 2019 22:31:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548225116; cv=none; d=google.com; s=arc-20160816; b=UZllEFyiPWJRbCBT036RKndc9omNNYt4Acq8SUtNfVOsR3TqMfpwt03C6pzxT8QL4L M4xM+wBqgDhCUD1RrX1pvYhVk5RLcWHnPpbPtRm2fOHLdyf1c7JKq8jkTzuauvIvWxTS Lh2G3COhCxMlCCllQm7DXGHyIiFdRsh9XsNze8l3FDqORE+VPNGf6ypSY4RIonNHsL13 kskPyhKhE33cdQ9j5wqaLasR/YpssE5Nrb/QS1MmPmeoPm+zZHdmYnDLrhjjZB7E2srf Wjj6iUiceHOvLiMgyvPRatEanSeLCBnGCev4tZzBJB397/ga1A4qiJQ4bJrdgzMKWlk3 PwyA== 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=Cy3YfTKVedlMOPcvsbreKGh2HuxKAuYCCTP2n4egK9M=; b=zzRNyDx9pmfnmbtGgYuSxXrOL6sSgJ9HecniYOysybBY6TPm4oje5+gRN31GXfr/dL Upv/SW9Dx7RWf3eXYoAhbzcNIIeCiQrjcADmGOdLO8MlCqF0kPm3caiEdKRuaSiPGqDD DBVKDGb5eDrF01lsm1bJG1PKJTSTVINUqOkPGVSCYPK8ZSfNV+HxuaZIlxbD6qF+Pl+i viXRgWaIzUy5eKqt7dcO5h2Q8RNasKzHiGTRo7oDLDS10knKaaUZLZvlBsN/rIfYPUrf ivAfC6Dp3kFCieauCuFMhMuLZErAqeSsm+YeEufW88EBT+pmoc6guyTyqVpFaJCt4T9B bIlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@flygoat.com header.s=mail header.b=DLIbR9h5; 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 r12si17615730pgf.22.2019.01.22.22.31.40; Tue, 22 Jan 2019 22:31:55 -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=DLIbR9h5; 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 S1726140AbfAWGag (ORCPT + 99 others); Wed, 23 Jan 2019 01:30:36 -0500 Received: from forward101j.mail.yandex.net ([5.45.198.241]:50307 "EHLO forward101j.mail.yandex.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725945AbfAWGaf (ORCPT ); Wed, 23 Jan 2019 01:30:35 -0500 X-Greylist: delayed 376 seconds by postgrey-1.27 at vger.kernel.org; Wed, 23 Jan 2019 01:30:34 EST Received: from mxback3j.mail.yandex.net (mxback3j.mail.yandex.net [IPv6:2a02:6b8:0:1619::10c]) by forward101j.mail.yandex.net (Yandex) with ESMTP id D5D251BE2B77; Wed, 23 Jan 2019 09:24:16 +0300 (MSK) Received: from smtp1o.mail.yandex.net (smtp1o.mail.yandex.net [2a02:6b8:0:1a2d::25]) by mxback3j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 9UkbvXeKt9-OGbC6YYn; Wed, 23 Jan 2019 09:24:16 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; s=mail; t=1548224656; bh=Cy3YfTKVedlMOPcvsbreKGh2HuxKAuYCCTP2n4egK9M=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=DLIbR9h5f8jdGehQ0Z1Wj84eRl4Ij+DkJvcT/zQfxFBcW/1pU4MTWQlR7gvXbhmSa wki5066+2MeLspx30SiKpUpYz4/gntkELHdUq7IsWjFAuVQGZlZNd/hHZS/Ohet4QD t9fg/iVMGZnUrC0Q0hZXZGfSln36vRxki3+/pUQo= Authentication-Results: mxback3j.mail.yandex.net; dkim=pass header.i=@flygoat.com Received: by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id uW0qtCYwDN-O9Pi3Uqw; Wed, 23 Jan 2019 09:24:13 +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: Jiaxun Yang , Thomas Gleixner , Jason Cooper , Marc Zyngier , Rob Herring , Mark Rutland , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v2 2/2] dt-bindings: interrupt-controller: loongson ls1x intc Date: Wed, 23 Jan 2019 14:23:35 +0800 Message-Id: <20190123062341.8957-2-jiaxun.yang@flygoat.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190123062341.8957-1-jiaxun.yang@flygoat.com> References: <20190122154557.22689-1-jiaxun.yang@flygoat.com> <20190123062341.8957-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 | 28 +++++++++++++++++++ 1 file changed, 28 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..afa8fec45f88 --- /dev/null +++ b/Documentation/devicetree/bindings/interrupt-controller/loongson,ls1x-intc.txt @@ -0,0 +1,28 @@ +Loongson ls1x Interrupt Controller + +Required properties: + +- compatible : should be "ingenic,-intc". Valid strings are: + loongson,ls1b-intc + loongson,ls1c-intc + +- 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, + - For ls1b, it must have 4 interrupts. + - For ls1c, it must have 5 interrupts. + +Example: + +intc: interrupt-controller@1fd01040 { + compatible = "loongson,ls1c-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