Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp65454ybl; Fri, 9 Aug 2019 02:33:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqwAUi9CORyNH0RDeuCjxWovTXgy5m3+INmJpO5dBsJlCC0ypkbeEa9yRbHp50SVRx7DojSF X-Received: by 2002:a63:fc09:: with SMTP id j9mr16084051pgi.377.1565343238568; Fri, 09 Aug 2019 02:33:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565343238; cv=none; d=google.com; s=arc-20160816; b=ht/ZTDZSQt8vBfvEPotR+M3YS689ARsYi3zXS8nLiHDCGg2bq6zBDGC4NhBuRdGQb9 Mxc9LKQB0+LQ40NNDkdCSUy9cL/rgGgch/VJzjf6lI+n0W/jzYi1zv6Ksw2vqshnWk5s bpnNygjajazXZxdILoWjkJLZjRar0OqPf7K6kV2GiXDywSZOt2VUe44HvLVkt17i9CAg fmiNn8Q2I8Y1g+MzFMHXxvhqFQAV1kWh4GP6EEH17swV+WGGkUmg0nV79Ncpc39g3Q3i a1p7gMSbDHcg5M6cQEM5VrFRnVT8th+fZWHPr6VcspnPy2geXy3Yzq5EWhlAzQv7EpHL oz2A== 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; bh=D0zeHa9Z4f96W+lPnxp/nOFHhoPQyALue0DAxdFy4oE=; b=QHVhb6Vu+J6EoDe1uubxNRPeZV0kyYzkZ0+Yep5XJ4tHwn4FkOd0cUzyGs4GCi0vGS 1eXxN/5mu4dYX3t4ne69PZAu5TgLRaQT+wr5aXFksUvCXHB2tjdovipcXVUvDssuC1jU xRB+kL0H5gfG13I40tW14KmarLzk6iEbl5ThTcV/8H8tXoajLlI7SjFxXX57Z8l3lNrv TAD5/xSFq9ABC6gQ860RtfRxucG7pPrsxv1OpsAg6yp+m+U4vtHfzgNxNRCkqWj6CAlA Uja3Y/3CcaAaAxYiwdIoZheRmpBItuO5msfYFAMyGn2H2qlu3zIkjW8VlU/xPQQUswhb xq2Q== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m15si55956773pff.267.2019.08.09.02.33.42; Fri, 09 Aug 2019 02:33:58 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2406239AbfHIJc7 (ORCPT + 99 others); Fri, 9 Aug 2019 05:32:59 -0400 Received: from shell.v3.sk ([90.176.6.54]:51845 "EHLO shell.v3.sk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2406209AbfHIJcv (ORCPT ); Fri, 9 Aug 2019 05:32:51 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id ED447D63D0; Fri, 9 Aug 2019 11:32:41 +0200 (CEST) Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id Ot8nMOCSuZGo; Fri, 9 Aug 2019 11:32:17 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 84DC2D63BF; Fri, 9 Aug 2019 11:32:15 +0200 (CEST) X-Virus-Scanned: amavisd-new at zimbra.v3.sk Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 3IHxjYBNVwjk; Fri, 9 Aug 2019 11:32:11 +0200 (CEST) Received: from furthur.local (ip-37-188-137-236.eurotel.cz [37.188.137.236]) by zimbra.v3.sk (Postfix) with ESMTPSA id 861A8D63BD; Fri, 9 Aug 2019 11:32:10 +0200 (CEST) From: Lubomir Rintel To: Olof Johansson Cc: Rob Herring , Mark Rutland , Thomas Gleixner , Jason Cooper , Marc Zyngier , Kishon Vijay Abraham I , Russell King , Michael Turquette , Stephen Boyd , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, Lubomir Rintel Subject: [PATCH 03/19] dt-bindings: mrvl,intc: Add a MMP3 interrupt controller Date: Fri, 9 Aug 2019 11:31:42 +0200 Message-Id: <20190809093158.7969-4-lkundrak@v3.sk> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190809093158.7969-1-lkundrak@v3.sk> References: <20190809093158.7969-1-lkundrak@v3.sk> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Similar to MMP2 one, but has an extra range for the other core. The muxes stay the same. Signed-off-by: Lubomir Rintel --- .../interrupt-controller/mrvl,intc.txt | 23 ++++++++++++++----- 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/interrupt-controller/mrvl,= intc.txt b/Documentation/devicetree/bindings/interrupt-controller/mrvl,in= tc.txt index 608fee15a4cfc..41c131d026f94 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/mrvl,intc.tx= t +++ b/Documentation/devicetree/bindings/interrupt-controller/mrvl,intc.tx= t @@ -1,13 +1,15 @@ * Marvell MMP Interrupt controller =20 Required properties: -- compatible : Should be "mrvl,mmp-intc", "mrvl,mmp2-intc" or - "mrvl,mmp2-mux-intc" +- compatible : Should be "mrvl,mmp-intc", "mrvl,mmp2-intc", + "marvell,mmp3-intc", "mrvl,mmp2-mux-intc" - reg : Address and length of the register set of the interrupt controll= er. If the interrupt controller is intc, address and length means the rang= e - of the whole interrupt controller. If the interrupt controller is mux-= intc, - address and length means one register. Since address of mux-intc is in= the - range of intc. mux-intc is secondary interrupt controller. + of the whole interrupt controller. The "marvell,mmp3-intc" controller + also has a secondary range for the second CPU core. If the interrupt + controller is mux-intc, address and length means one register. Since + address of mux-intc is in the range of intc. mux-intc is secondary + interrupt controller. - reg-names : Name of the register set of the interrupt controller. It's only required in mux-intc interrupt controller. - interrupts : Should be the port interrupt shared by mux interrupts. It= 's @@ -20,7 +22,7 @@ Required properties: - mrvl,clr-mfp-irq : Specifies the interrupt that needs to clear MFP edg= e detection first. =20 -Example: +Examples: intc: interrupt-controller@d4282000 { compatible =3D "mrvl,mmp2-intc"; interrupt-controller; @@ -29,6 +31,15 @@ Example: mrvl,intc-nr-irqs =3D <64>; }; =20 + intc: interrupt-controller@d4282000 { + compatible =3D "marvell,mmp3-intc"; + interrupt-controller; + #interrupt-cells =3D <1>; + reg =3D <0xd4282000 0x1000>, + <0xd4284000 0x100>; + mrvl,intc-nr-irqs =3D <64>; + }; + intcmux4@d4282150 { compatible =3D "mrvl,mmp2-mux-intc"; interrupts =3D <4>; --=20 2.21.0