linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] nvmem: core: Support to get nvmem cell using index
@ 2016-12-23 10:59 Vivek Gautam
  2016-12-23 10:59 ` [PATCH 1/2] nvmem: core: Allow getting cell by index in phandle Vivek Gautam
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Vivek Gautam @ 2016-12-23 10:59 UTC (permalink / raw)
  To: srinivas.kandagatla, maxime.ripard
  Cc: robh, sboyd, linux-kernel, linux-arm-msm, Vivek Gautam

Couple of patches to support getting nvmem cell using cell index.
Usually when we have only one nvmem cell for a device, we may not
want to add a nvmem-cell-names property to the device node.
With these patches, we can now get a cell using phandle and the cell
index.

 - Based on torvald's master branch.
 - Tested with next-20161223 tag and a revert to patch [1], to fix
   build issue on arm64, on db410c target. Able to read temperatures
   from thermal sensors.

Vivek Gautam (2):
  nvmem: core: Allow getting cell by index in phandle
  nvmem: core: Add a resource managed API to get cell by index

 drivers/nvmem/core.c           | 68 +++++++++++++++++++++++++++++++++++++-----
 include/linux/nvmem-consumer.h | 19 +++++++++++-
 2 files changed, 79 insertions(+), 8 deletions(-)

-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-12-23 11:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-23 10:59 [PATCH 0/2] nvmem: core: Support to get nvmem cell using index Vivek Gautam
2016-12-23 10:59 ` [PATCH 1/2] nvmem: core: Allow getting cell by index in phandle Vivek Gautam
2016-12-23 10:59 ` [PATCH 2/2] nvmem: core: Add a resource managed API to get cell by index Vivek Gautam
2016-12-23 11:06 ` [PATCH RESEND 0/2] nvmem: core: Support to get nvmem cell using index Vivek Gautam

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).