nvmem: core: Support to get nvmem cell using index
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v1 Latest posting 2/20 of 2 patches 0 repliesNew
- v1 posting 1/22 patches 0 repliesSuperseded
Patches in v1 posting 2/2 No applies recorded yet
None of the 2 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH RESEND 0/2] nvmem: core: Support to get nvmem cell using index
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.
Updated the links to patch and thread in [1] and [2]. Missed them earlier. The patches 1/2 and 2/2 remain unchanged.
- Based on torvald's master branch.
- Tested with next-20161223 tag and a revert to patch [1], to fix build issue on arm64 (as indicated in the thread [2]), on db410c target. Able to read temperatures from thermal sensors.
[1] 1a339a14b1f2 arm64: setup: introduce kaslr_offset()
[2] https://lkml.org/lkml/2016/12/22/217
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(-)
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project