Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp148837ybl; Wed, 21 Aug 2019 16:31:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqxtTo+c5PC834zM4MI7HO1H4NlrhXsPKltAfE1CaMbdrGzZ88lo0Tp0AK9na9LtbikoY0f5 X-Received: by 2002:a63:ee0c:: with SMTP id e12mr31958823pgi.184.1566430316442; Wed, 21 Aug 2019 16:31:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566430316; cv=none; d=google.com; s=arc-20160816; b=Ynr8/Gj49QCPUYLE8hQw0E03o8o8ahAuu864pKQaa91zv1Px0+wb7fx95eG4USp2kV iyE3M67fBCm4RN/tWtnsC8DLnHiGryaYhmZIxcoddLJcLhwUACiCttWXsXCNcPWjcN2W 1HqclX2z+nMO9uLDWfQegIXcZjVMtoNMvhEUXDlBLAI1e2c/npBMUj0bIg8q2jR9gEPa /2Zb56MV2AGBoJlkllGG4pAWx0dEvSMMMeUQmA6v25UZlKjlQFU4Jtws8BAOp1shnbwf QRnsNMb5urhzpX9aPiXMC6G/yBPWUil3UEs/LQryHwPA7bJa+1QVxc89XsmHVp8K9OPH NN3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=WRsSuAZz6QfRjgNZ8P6+tSp6lptZDI8kWZHn7cMGurw=; b=Cq9fHYYIMh4zNilmFQNE9efqA1H0IqmYAvTWyFrT7W3lECABWCyJbtNntx9zKVUNK9 k+CvkooDgKuW2vni01lmL2oJ0kO1w45Xk0INEHVqxC3UnjKx9BHMGakxqmm4w4LtiEEo mCJ+M8bIelZ3J3+xvIutnBjyvujHevd3CxwYits9NfBr/6wqCjv3awa+cPCNdP7glpjO Nm4WGrEThCRmEvhvyLXeQ4ikYeUnTScC2hCYNE/F8FEN1v1BOxXhqsiwgRMXZ2XgTp2V qcdaBzgVJTvITo9QzB6wcE/eSD3E2b+KY92ZIZT6uLu7zaRZKsOAj5nMEny6fNllmcmz ir9A== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d2si13683886pld.265.2019.08.21.16.31.41; Wed, 21 Aug 2019 16:31:56 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730722AbfHUVLG (ORCPT + 99 others); Wed, 21 Aug 2019 17:11:06 -0400 Received: from mail-oi1-f196.google.com ([209.85.167.196]:41192 "EHLO mail-oi1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728433AbfHUVLF (ORCPT ); Wed, 21 Aug 2019 17:11:05 -0400 Received: by mail-oi1-f196.google.com with SMTP id g7so2726575oia.8; Wed, 21 Aug 2019 14:11:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=WRsSuAZz6QfRjgNZ8P6+tSp6lptZDI8kWZHn7cMGurw=; b=n+ISQv0qXFpd58yYWcUbrG0e0MoQ7HIJtg0rMXnzW94EI6zF9gZXM6+gehybL8i39O SnTubL7QV4MtLgfYGzPDunFhRVVzaxVyPAv4JY0k0eGh2QAsnZ4s2MwmGKXUrIlGwwd4 zyRrktMJIA2ApFBUAzuoUQRPlMAlTQPfeIrHGu9XPFrkmIFfk8Gar5G2SZzEB3geCNRV lYrvmzDnVj2gOr5uWem1PAuFrGqT4m9YjCBGaAtKQmURl3mOyM4HMHgDccP1sWv2MaX2 C3ew/iJjfd8OLCntLRvObtIxbtkdE0FvPOUi3OCWVQ+ZZ3bJZ1xvBXWsMsmwj6kqXUC3 Ig+Q== X-Gm-Message-State: APjAAAVHS/fb2yxsz75R0Ar6mvxOcANd+wT7Jec4KAr6VpG6FBlW/xDz e2ww42DThrrGIOzpmmYMiA== X-Received: by 2002:aca:4950:: with SMTP id w77mr1468364oia.28.1566421864593; Wed, 21 Aug 2019 14:11:04 -0700 (PDT) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id v5sm8184684otk.64.2019.08.21.14.11.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Aug 2019 14:11:04 -0700 (PDT) Date: Wed, 21 Aug 2019 16:11:03 -0500 From: Rob Herring To: Lubomir Rintel Cc: Olof Johansson , 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 Subject: Re: [PATCH 03/19] dt-bindings: mrvl,intc: Add a MMP3 interrupt controller Message-ID: <20190821211103.GA32263@bogus> References: <20190809093158.7969-1-lkundrak@v3.sk> <20190809093158.7969-4-lkundrak@v3.sk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190809093158.7969-4-lkundrak@v3.sk> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 09, 2019 at 11:31:42AM +0200, Lubomir Rintel wrote: > 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,intc.txt > index 608fee15a4cfc..41c131d026f94 100644 > --- a/Documentation/devicetree/bindings/interrupt-controller/mrvl,intc.txt > +++ b/Documentation/devicetree/bindings/interrupt-controller/mrvl,intc.txt > @@ -1,13 +1,15 @@ > * Marvell MMP Interrupt controller > > 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" Reformat to 1 valid combination per line. > - reg : Address and length of the register set of the interrupt controller. > If the interrupt controller is intc, address and length means the range > - 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 edge > detection first. > > -Example: > +Examples: > intc: interrupt-controller@d4282000 { > compatible = "mrvl,mmp2-intc"; > interrupt-controller; > @@ -29,6 +31,15 @@ Example: > mrvl,intc-nr-irqs = <64>; > }; > > + intc: interrupt-controller@d4282000 { What's special about this to warrant another example. Examples aren't supposed to be an enumeration of all possible dts entries. > + compatible = "marvell,mmp3-intc"; > + interrupt-controller; > + #interrupt-cells = <1>; > + reg = <0xd4282000 0x1000>, > + <0xd4284000 0x100>; > + mrvl,intc-nr-irqs = <64>; > + }; > + > intcmux4@d4282150 { > compatible = "mrvl,mmp2-mux-intc"; > interrupts = <4>; > -- > 2.21.0 >