All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Warren <swarren@wwwdotorg.org>
To: Viresh Kumar <viresh.kumar@linaro.org>
Cc: rob.herring@calxeda.com, grant.likely@secretlab.ca,
	spear-devel@list.st.com, devicetree-discuss@lists.ozlabs.org,
	linux-kernel@vger.kernel.org, andriy.shevchenko@intel.com,
	linaro-dev@lists.linaro.org, patches@linaro.org
Subject: Re: [PATCH] dt: add helper function to read u8 & u16 variables & arrays
Date: Tue, 20 Nov 2012 10:21:40 -0700	[thread overview]
Message-ID: <50ABBC24.5000707@wwwdotorg.org> (raw)
In-Reply-To: <0ee5b74534a09d75c14b22c2d9330c4971ab30fb.1353386646.git.viresh.kumar@linaro.org>

On 11/19/2012 09:45 PM, Viresh Kumar wrote:
> This adds following helper routines:
> - of_property_read_u8_array()
> - of_property_read_u16_array()
> - of_property_read_u8()
> - of_property_read_u16()
> 
> This expects arrays from DT to be passed as:
> - u8 array:
> 	property = /bits/ 8 <0x50 0x60 0x70>;
> - u16 array:
> 	property = /bits/ 16 <0x5000 0x6000 0x7000>;

Reviewed-by: Stephen Warren <swarren@nvidia.com>

  parent reply	other threads:[~2012-11-20 17:21 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-20  4:45 [PATCH] dt: add helper function to read u8 & u16 variables & arrays Viresh Kumar
2012-11-20  4:45 ` Viresh Kumar
2012-11-20  8:21 ` Shevchenko, Andriy
2012-11-20  8:21   ` Shevchenko, Andriy
2012-11-20  8:25   ` Viresh Kumar
2012-11-20 17:21 ` Stephen Warren [this message]
     [not found] ` <0ee5b74534a09d75c14b22c2d9330c4971ab30fb.1353386646.git.viresh.kumar-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2012-11-21  4:24   ` Rob Herring
2012-11-21  4:24     ` Rob Herring
  -- strict thread matches above, loose matches on Subject: below --
2012-10-12 18:01 Viresh Kumar
2012-10-15  7:56 ` Shevchenko, Andriy
2012-10-15  7:56   ` Shevchenko, Andriy
2012-10-15  8:06   ` Viresh Kumar
2012-10-25  7:03 ` Viresh Kumar
2012-10-25 13:19   ` Rob Herring
2012-10-25 14:18     ` Viresh Kumar
2012-10-26  4:17       ` Viresh Kumar

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=50ABBC24.5000707@wwwdotorg.org \
    --to=swarren@wwwdotorg.org \
    --cc=andriy.shevchenko@intel.com \
    --cc=devicetree-discuss@lists.ozlabs.org \
    --cc=grant.likely@secretlab.ca \
    --cc=linaro-dev@lists.linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=patches@linaro.org \
    --cc=rob.herring@calxeda.com \
    --cc=spear-devel@list.st.com \
    --cc=viresh.kumar@linaro.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.