From: Rob Herring <robh@kernel.org>
To: Vignesh R <vigneshr@ti.com>
Cc: Tony Lindgren <tony@atomide.com>,
Brian Norris <computersforpeace@gmail.com>,
Mark Brown <broonie@kernel.org>,
Russell King <linux@arm.linux.org.uk>,
hramrach@gmail.com, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-mtd@lists.infradead.org, linux-spi@vger.kernel.org
Subject: Re: [PATCH v5 4/5] ARM: dts: DRA7: add entry for qspi mmap region
Date: Fri, 11 Dec 2015 09:09:35 -0600 [thread overview]
Message-ID: <20151211150935.GA15654@rob-hp-laptop> (raw)
In-Reply-To: <1449807000-6457-5-git-send-email-vigneshr@ti.com>
On Fri, Dec 11, 2015 at 09:39:59AM +0530, Vignesh R wrote:
> Add qspi memory mapped region entries for DRA7xx based SoCs. Also,
> update the binding documents for the controller to document this change.
>
> Signed-off-by: Vignesh R <vigneshr@ti.com>
Acked-by: Rob Herring <robh@kernel.org>
> ---
>
> v5: use syscon to access scm register.
>
> Documentation/devicetree/bindings/spi/ti_qspi.txt | 17 +++++++++++++++++
> arch/arm/boot/dts/dra7.dtsi | 6 ++++--
> 2 files changed, 21 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/spi/ti_qspi.txt b/Documentation/devicetree/bindings/spi/ti_qspi.txt
> index 601a360531a5..809c3f334316 100644
> --- a/Documentation/devicetree/bindings/spi/ti_qspi.txt
> +++ b/Documentation/devicetree/bindings/spi/ti_qspi.txt
> @@ -15,6 +15,10 @@ Recommended properties:
> - spi-max-frequency: Definition as per
> Documentation/devicetree/bindings/spi/spi-bus.txt
>
> +Optional properties:
> +- syscon-chipselects: Handle to system control region contains QSPI
> + chipselect register and offset of that register.
> +
> Example:
>
> qspi: qspi@4b300000 {
> @@ -26,3 +30,16 @@ qspi: qspi@4b300000 {
> spi-max-frequency = <25000000>;
> ti,hwmods = "qspi";
> };
> +
> +For dra7xx:
> +qspi: qspi@4b300000 {
> + compatible = "ti,dra7xxx-qspi";
> + reg = <0x4b300000 0x100>,
> + <0x5c000000 0x4000000>,
> + reg-names = "qspi_base", "qspi_mmap";
> + syscon-chipselects = <&scm_conf 0x558>;
> + #address-cells = <1>;
> + #size-cells = <0>;
> + spi-max-frequency = <48000000>;
> + ti,hwmods = "qspi";
> +};
> diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi
> index fe99231cbde5..be91c7781c07 100644
> --- a/arch/arm/boot/dts/dra7.dtsi
> +++ b/arch/arm/boot/dts/dra7.dtsi
> @@ -1153,8 +1153,10 @@
>
> qspi: qspi@4b300000 {
> compatible = "ti,dra7xxx-qspi";
> - reg = <0x4b300000 0x100>;
> - reg-names = "qspi_base";
> + reg = <0x4b300000 0x100>,
> + <0x5c000000 0x4000000>;
> + reg-names = "qspi_base", "qspi_mmap";
> + syscon-chipselects = <&scm_conf 0x558>;
> #address-cells = <1>;
> #size-cells = <0>;
> ti,hwmods = "qspi";
> --
> 2.6.3
>
next prev parent reply other threads:[~2015-12-11 15:09 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-11 4:09 [PATCH v5 0/5] Add memory mapped read support for ti-qspi Vignesh R
2015-12-11 4:09 ` [PATCH v5 1/5] spi: introduce accelerated read support for spi flash devices Vignesh R
[not found] ` <1449807000-6457-1-git-send-email-vigneshr-l0cyMroinI0@public.gmane.org>
2015-12-11 4:09 ` [PATCH v5 2/5] spi: spi-ti-qspi: add mmap mode read support Vignesh R
[not found] ` <1449807000-6457-3-git-send-email-vigneshr-l0cyMroinI0@public.gmane.org>
2016-02-09 19:43 ` Applied "spi: spi-ti-qspi: add mmap mode read support" to the spi tree Mark Brown
2015-12-11 4:09 ` [PATCH v5 3/5] mtd: devices: m25p80: add support for mmap read request Vignesh R
[not found] ` <1449807000-6457-4-git-send-email-vigneshr-l0cyMroinI0@public.gmane.org>
2016-02-09 19:36 ` Mark Brown
[not found] ` <20160209193616.GN13270-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2016-02-11 5:33 ` Vignesh R
2016-02-12 22:37 ` Mark Brown
[not found] ` <20160212223711.GD18988-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2016-02-16 8:00 ` Vignesh R
[not found] ` <56C2D731.6050306-l0cyMroinI0@public.gmane.org>
2016-02-16 12:38 ` Mark Brown
[not found] ` <20160216123854.GJ18327-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2016-02-17 16:11 ` R, Vignesh
2016-02-24 12:21 ` Vignesh R
2015-12-11 4:09 ` [PATCH v5 4/5] ARM: dts: DRA7: add entry for qspi mmap region Vignesh R
2015-12-11 15:09 ` Rob Herring [this message]
2015-12-17 18:45 ` Tony Lindgren
2015-12-18 5:50 ` Vignesh R
[not found] ` <56739EB4.6040804-l0cyMroinI0@public.gmane.org>
2015-12-18 16:42 ` Tony Lindgren
2015-12-11 4:10 ` [PATCH v5 5/5] ARM: dts: AM4372: " Vignesh R
2015-12-21 12:03 ` [PATCH v5 0/5] Add memory mapped read support for ti-qspi Vignesh R
2016-01-05 5:20 ` Vignesh R
2016-01-05 18:19 ` Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151211150935.GA15654@rob-hp-laptop \
--to=robh@kernel.org \
--cc=broonie@kernel.org \
--cc=computersforpeace@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=hramrach@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=linux-omap@vger.kernel.org \
--cc=linux-spi@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=tony@atomide.com \
--cc=vigneshr@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox