summaryrefslogtreecommitdiffstats
path: root/lib/fdt_empty_tree.c
diff options
context:
space:
mode:
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>2015-07-27 12:13:45 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-08-05 13:43:44 -0700
commite2a5402ec7c6d0442cca370a0097e75750f81398 (patch)
treef52d6cbb6926345bb556c0b14d4a639abc4f9cec /lib/fdt_empty_tree.c
parent69aba7948cbe53f2f1827e84e9dd0ae470a5072e (diff)
downloadop-kernel-dev-e2a5402ec7c6d0442cca370a0097e75750f81398.zip
op-kernel-dev-e2a5402ec7c6d0442cca370a0097e75750f81398.tar.gz
nvmem: Add nvmem_device based consumer apis.
This patch adds read/write apis which are based on nvmem_device. It is common that the drivers like omap cape manager or qcom cpr driver to access bytes directly at particular offset in the eeprom and not from nvmem cell info in DT. These driver would need to get access to the nvmem directly, which is what these new APIS provide. These wrapper apis would help such users to avoid code duplication in there drivers and also avoid them reading a big eeprom blob and parsing it internally in there driver. Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Tested-by: Stefan Wahren <stefan.wahren@i2se.com> Tested-by: Philipp Zabel <p.zabel@pengutronix.de> Tested-by: Rajendra Nayak <rnayak@codeaurora.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/fdt_empty_tree.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud