From: Varka Bhadram <varkabhadram-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>
Cc: "devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
Varka Bhadram <varkab-If5XQcfNmg0@public.gmane.org>,
"netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
"linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
"linux-zigbee-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org"
<linux-zigbee-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>,
"davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org"
<davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
Subject: Re: [PATCH net-next v2 3/3] devicetree: add devicetree bindings for cc2520 driver
Date: Wed, 18 Jun 2014 14:41:10 +0530 [thread overview]
Message-ID: <53A157AE.8070606@gmail.com> (raw)
In-Reply-To: <20140618090500.GA26461@leverpostej>
Hi,
On 06/18/2014 02:35 PM, Mark Rutland wrote:
> On Wed, Jun 18, 2014 at 06:16:05AM +0100, Varka Bhadram wrote:
>> devicetree bindings for cc2520 radio driver.
>>
>> Signed-off-by: Varka Bhadram <varkab-If5XQcfNmg0@public.gmane.org>
>> ---
>> .../devicetree/bindings/net/ieee802154/cc2520.txt | 26 ++++++++++++++++++++
>> 1 file changed, 26 insertions(+)
>> create mode 100644 Documentation/devicetree/bindings/net/ieee802154/cc2520.txt
>>
>> diff --git a/Documentation/devicetree/bindings/net/ieee802154/cc2520.txt b/Documentation/devicetree/bindings/net/ieee802154/cc2520.txt
>> new file mode 100644
>> index 0000000..f0a749d
>> --- /dev/null
>> +++ b/Documentation/devicetree/bindings/net/ieee802154/cc2520.txt
>> @@ -0,0 +1,26 @@
>> +CC2520 IEEE 802.15.4 Compatible Radio
>> +
>> +Required properties:
>> + - compatible: should be "ti,cc2520"
>> + - spi-max-frequency: maximal bus speed (8000000), should be set to 4000000 depends
>> + sync or async operation mode
>> + - reg: the chipselect index
>> + - mode: SPI mode
> What exactly is this property? It doesn't seem to be used by the driver,
> the example is opaque, and this doesn't seem to match any existing
> bindings (a grep for "mode" in Documentation/devicetree/bindings/spi
> only found me a string "mode" property).
>
> The example has several properties (the GPIOs and pinctrl) not listed
> here...
Previously is used this 'mode' property to set the SPI mode. but i am not using now. I will remove it.
And also i will add the optional properties GPIO and pinctrl in next version.
Thanks for comments.
-Varka Bhadram.
>
> Mark.
>
>> +Example:
>> +
>> + cc2520@0 {
>> + compatible = "ti,cc2520";
>> + reg = <0>;
>> + spi-max-frequency = <4000000>;
>> + mode = <1>;
>> +
>> + pinctrl-names = "default";
>> + pinctrl-0 = <&cc2520_cape_pins>; /*GPIO pin muxing details*/
>> +
>> + fifo-gpio = <&gpio1 18 0>;
>> + fifop-gpio = <&gpio1 19 0>;
>> + sfd-gpio = <&gpio1 13 0>;
>> + cca-gpio = <&gpio1 16 0>;
>> + vreg-gpio = <&gpio0 31 0>;
>> + reset-gpio = <&gpio1 12 0>;
>> + };
>> --
>> 1.7.9.5
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe devicetree" in
>> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
prev parent reply other threads:[~2014-06-18 9:11 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-18 5:16 [PATCH net-next v2 0/3] Driver fir TI CC2520 Radio Varka Bhadram
2014-06-18 5:16 ` [PATCH net-next v2 1/3] ieee802154: cc2520: adds driver for TI CC2520 radio Varka Bhadram
2014-06-18 9:10 ` Mark Rutland
2014-06-18 9:26 ` Varka Bhadram
[not found] ` <53A15B38.6060404-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-06-18 9:55 ` Mark Rutland
2014-06-18 11:13 ` Varka Bhadram
2014-06-18 13:39 ` Mark Rutland
[not found] ` <1403068565-32224-1-git-send-email-varkab-If5XQcfNmg0@public.gmane.org>
2014-06-18 5:16 ` [PATCH net-next v2 2/3] ieee802154: cc2520: add driver to kernel build system Varka Bhadram
2014-06-18 5:16 ` [PATCH net-next v2 3/3] devicetree: add devicetree bindings for cc2520 driver Varka Bhadram
2014-06-18 9:05 ` Mark Rutland
2014-06-18 9:11 ` Varka Bhadram [this message]
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=53A157AE.8070606@gmail.com \
--to=varkabhadram-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-zigbee-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=mark.rutland-5wv7dgnIgG8@public.gmane.org \
--cc=netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=varkab-If5XQcfNmg0@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).