Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2509951imm; Tue, 4 Sep 2018 05:49:30 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZLGuWN/a03LQG/PxK+B3GAgshy9iYCNPIXntjwVvdzmoa8XmSRqaRiVfDuh1Rhf5W54w4A X-Received: by 2002:a17:902:9a83:: with SMTP id w3-v6mr34300407plp.75.1536065370009; Tue, 04 Sep 2018 05:49:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536065369; cv=none; d=google.com; s=arc-20160816; b=g3573kZgNRqySh8XsZDHGFe3o/bIn/xRVW3KzfpiNeG0k991BCxEVJWbaXb4xOLDJH V5pi/ZZA4gwFgq6lQmV555siZE7hKhSA/n9Q1dyWAju9ZNb9Z5XerpV0tDqxalNLB3aa w0/sxhiYvleDXcoyhe+rcY7quiGeYv2VeLOTt1Z5JFDYY2uEVpFyr2F8r9ALGBxempFU aRZwWJQ1BHi6V4gqkYu2MJYMzbHSpzgkMEOppveTaow9bF5SRucEEyoRDq/x2JPMbOWu H9QmYbM3y98NSpSzNH9tGcyVAFsAWnUppEewgtgB+EVpS9GbpUIProS+u4LAUoOWzoyB zaGg== 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:subject:cc:to:from:date :arc-authentication-results; bh=L6l22ZHzHI/ra/8WihdMqrrJV608lqlT2ETbSizeQmA=; b=ag/ej16O9raYUcxJNEzxIKiSDgzEeromcSpK3hBU/ju2EU+/avm2uUL9unHfFG3WiL ZVHzPi+XXZPH59oCszJfJ9ro0xHAI5paY4QVsreCFQtk/Ff/pXrfDNtVFVXEYE0XJ7Rc 4aNfi6xV8rASM+7Za7XJCDe1o7+s0HRStBn//eMFXsdUh0WR6jA6HYcOh+zHgjARK8jo kEeOkwIky7E/eTDH/plNmoW0tES1hb3JnCmIAJSMLz9p7Fnbw6fCKJtJGFIH7QparpZ8 BzswE8K3c3Vr+Mw7QcJkrORJNJqI1Hb/mXiWKggeGYJE2hfiNdNseIpH/Er2DixpzRfb gO0w== 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 x69-v6si22439625pfe.318.2018.09.04.05.49.14; Tue, 04 Sep 2018 05:49:29 -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 S1727502AbeIDRL3 (ORCPT + 99 others); Tue, 4 Sep 2018 13:11:29 -0400 Received: from mail.bootlin.com ([62.4.15.54]:39052 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727043AbeIDRL2 (ORCPT ); Tue, 4 Sep 2018 13:11:28 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id A9A90207B4; Tue, 4 Sep 2018 14:46:28 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from bbrezillon (AAubervilliers-681-1-92-107.w90-88.abo.wanadoo.fr [90.88.33.107]) by mail.bootlin.com (Postfix) with ESMTPSA id 37E57204AE; Tue, 4 Sep 2018 14:46:28 +0200 (CEST) Date: Tue, 4 Sep 2018 14:46:27 +0200 From: Boris Brezillon To: Prabhakar Kushwaha Cc: Yogesh Narayan Gaur , "linux-mtd@lists.infradead.org" , "marek.vasut@gmail.com" , "linux-spi@vger.kernel.org" , "devicetree@vger.kernel.org" , "robh@kernel.org" , "mark.rutland@arm.com" , "shawnguo@kernel.org" , "linux-arm-kernel@lists.infradead.org" , "computersforpeace@gmail.com" , "frieder.schrempf@exceet.de" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH 4/7] dt-bindings: spi: add binding file for NXP FlexSPI driver Message-ID: <20180904144627.1de264b6@bbrezillon> In-Reply-To: References: <1535711404-29528-1-git-send-email-yogeshnarayan.gaur@nxp.com> <1535711404-29528-5-git-send-email-yogeshnarayan.gaur@nxp.com> X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 3 Sep 2018 09:54:08 +0000 Prabhakar Kushwaha wrote: > Dear Yogesh, > > > -----Original Message----- > > From: linux-kernel-owner@vger.kernel.org > owner@vger.kernel.org> On Behalf Of Yogesh Gaur > > Sent: Friday, August 31, 2018 4:00 PM > > To: linux-mtd@lists.infradead.org; boris.brezillon@bootlin.com; > > marek.vasut@gmail.com; linux-spi@vger.kernel.org; > > devicetree@vger.kernel.org > > Cc: robh@kernel.org; mark.rutland@arm.com; shawnguo@kernel.org; linux- > > arm-kernel@lists.infradead.org; computersforpeace@gmail.com; > > frieder.schrempf@exceet.de; linux-kernel@vger.kernel.org; Yogesh > > Narayan Gaur > > Subject: [PATCH 4/7] dt-bindings: spi: add binding file for NXP FlexSPI driver > > > > Add binding file for NXP FlexSPI driver. > > > > Signed-off-by: Yogesh Gaur > > --- > > .../devicetree/bindings/spi/spi-nxp-fspi.txt | 42 > > ++++++++++++++++++++++ > > 1 file changed, 42 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/spi/spi-nxp- > > fspi.txt > > > > diff --git a/Documentation/devicetree/bindings/spi/spi-nxp-fspi.txt > > b/Documentation/devicetree/bindings/spi/spi-nxp-fspi.txt > > new file mode 100644 > > index 0000000..9f07116 > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/spi/spi-nxp-fspi.txt > > @@ -0,0 +1,42 @@ > > +* NXP Flex Serial Peripheral Interface (FSPI) > > + > > +Required properties: > > + - compatible : Should be "nxp,lx2160a-fspi" > > + - reg : First contains the register location and length, > > + Second contains the memory mapping address and length > > Why are we overriding reg property. Is there any special requirement. > > Can we use "reg" and "ranges" property in device tree. > Here "reg" represents controller registers and "ranges" represent the memory address of flash. No, ranges is not used for that. It's used when you need to convert from one address space to another, which is not what you're describing here. Check section 2.38 of this document [1] for more details. [1]https://elinux.org/images/c/cf/Power_ePAPR_APPROVED_v1.1.pdf