From: Sekhar Nori <nsekhar-l0cyMroinI0@public.gmane.org>
To: "Manjunathappa, Prakash" <prakash.pm-l0cyMroinI0@public.gmane.org>
Cc: <davinci-linux-open-source-VycZQUHpC/PFrsHnngEfi1aTQe2KTcn/@public.gmane.org>,
<linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org>,
<linux-doc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
<devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org>,
<rob.herring-bsGFqQB8/DxBDgjK7y7TUQ@public.gmane.org>,
<grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org>,
<rob-VoJi6FS/r0vR7s880joybQ@public.gmane.org>,
<spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>,
<hs-ynQEQJNshbs@public.gmane.org>,
<linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org>
Subject: Re: [PATCH v3 2/5] spi/davinci: add DT binding documentation
Date: Thu, 14 Mar 2013 14:46:54 +0530 [thread overview]
Message-ID: <51419586.7090703@ti.com> (raw)
In-Reply-To: <1363075827-31053-3-git-send-email-prakash.pm-l0cyMroinI0@public.gmane.org>
On 3/12/2013 1:40 PM, Manjunathappa, Prakash wrote:
> From: Murali Karicheri <m-karicheri2-l0cyMroinI0@public.gmane.org>
>
> Get back missed out binding documentation submitted along
> with below patch:
> "spi/davinci: add OF support for the spi controller"
This is not really the correct description of this patch. Years later
its mostly irrelevant that binding documentation did not get applied
along with the actual usage.
>
> [prakash.pm-l0cyMroinI0@public.gmane.org: Follow DT naming convention for compatible property]
> Signed-off-by: Murali Karicheri <m-karicheri2-l0cyMroinI0@public.gmane.org>
> Reviewed-by: Grant Likely <grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org>
> Signed-off-by: Manjunathappa, Prakash <prakash.pm-l0cyMroinI0@public.gmane.org>
> ---
> .../devicetree/bindings/spi/spi-davinci.txt | 51 ++++++++++++++++++++
> 1 files changed, 51 insertions(+), 0 deletions(-)
> create mode 100644 Documentation/devicetree/bindings/spi/spi-davinci.txt
>
> diff --git a/Documentation/devicetree/bindings/spi/spi-davinci.txt b/Documentation/devicetree/bindings/spi/spi-davinci.txt
> new file mode 100644
> index 0000000..75ad9ac
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/spi/spi-davinci.txt
> @@ -0,0 +1,51 @@
> +Davinci SPI controller device bindings
> +
> +Required properties:
> +- #address-cells: number of cells required to define a chip select
> + address on the SPI bus. Should be set to 1.
> +- #size-cells: should be zero.
> +- compatible:
> + - "ti,dm6441-spi" for SPI used similar to that on DM644x SoC family
> + - "ti,da830-spi" for SPI used similar to that on DA8xx SoC family
> +- reg: Offset and length of SPI controller register space
> +- num-cs: Number of chip selects
> +- ti,davinci-spi-intr-line: interrupt line used to connect the SPI
> + IP to the interrupt controller withn the SoC. Possible values
> + are 0 and 1. Manual says one of the two possible interrupt
> + lines can be tied to the interrupt controller. Set this
> + based on a specifc SoC configuration.
> +- interrupts: interrupt number mapped to CPU.
> +- clocks: spi clk phandle
> +
> +Example of a NOR flash slave device (n25q032) connected to DaVinci
> +SPI controller device over the SPI bus.
> +
> +spi0:spi@20BF0000 {
> + #address-cells = <1>;
> + #size-cells = <0>;
> + compatible = "ti,dm6446-spi";
> + reg = <0x20BF0000 0x1000>;
> + num-cs = <4>;
> + ti,davinci-spi-intr-line = <0>;
> + interrupts = <338>;
> + clocks = <&clkspi>;
> +
> + flash: n25q032@0 {
> + #address-cells = <1>;
> + #size-cells = <1>;
> + compatible = "st,m25p32";
> + spi-max-frequency = <25000000>;
> + reg = <0>;
> +
> + partition@0 {
> + label = "u-boot-spl";
> + reg = <0x0 0x80000>;
> + read-only;
> + };
> +
> + partition@1 {
> + label = "test";
> + reg = <0x80000 0x380000>;
> + };
> + };
Looks like the tabs were messed up when you took Murali's patch.
Thanks,
Sekhar
next prev parent reply other threads:[~2013-03-14 9:16 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-12 8:10 [PATCH v3 0/5] Enable SPI flash support on da850-evm DT kernel Manjunathappa, Prakash
[not found] ` <1363075827-31053-1-git-send-email-prakash.pm-l0cyMroinI0@public.gmane.org>
2013-03-12 8:10 ` [PATCH v3 1/5] spi/davinci: no wildcards in DT compatible property Manjunathappa, Prakash
2013-03-12 8:10 ` [PATCH v3 2/5] spi/davinci: add DT binding documentation Manjunathappa, Prakash
[not found] ` <1363075827-31053-3-git-send-email-prakash.pm-l0cyMroinI0@public.gmane.org>
2013-03-14 9:16 ` Sekhar Nori [this message]
[not found] ` <51419586.7090703-l0cyMroinI0@public.gmane.org>
2013-03-14 10:23 ` Manjunathappa, Prakash
2013-03-12 8:10 ` [PATCH v3 3/5] ARM: davinci: da850: add SPI1 DT node Manjunathappa, Prakash
2013-03-12 8:10 ` [PATCH v3 4/5] ARM: davinci: da850: override SPI DT node device name Manjunathappa, Prakash
2013-03-12 8:10 ` [PATCH v3 5/5] ARM: davinci: da850-evm: add SPI flash support Manjunathappa, Prakash
2013-03-14 10:24 ` [PATCH v3 0/5] Enable SPI flash support on da850-evm DT kernel Sekhar Nori
[not found] ` <5141A55A.9060708-l0cyMroinI0@public.gmane.org>
2013-03-14 13:42 ` Manjunathappa, Prakash
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=51419586.7090703@ti.com \
--to=nsekhar-l0cymroini0@public.gmane.org \
--cc=davinci-linux-open-source-VycZQUHpC/PFrsHnngEfi1aTQe2KTcn/@public.gmane.org \
--cc=devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org \
--cc=grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org \
--cc=hs-ynQEQJNshbs@public.gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=linux-doc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org \
--cc=prakash.pm-l0cyMroinI0@public.gmane.org \
--cc=rob-VoJi6FS/r0vR7s880joybQ@public.gmane.org \
--cc=rob.herring-bsGFqQB8/DxBDgjK7y7TUQ@public.gmane.org \
--cc=spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
/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;
as well as URLs for NNTP newsgroup(s).