]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
nvmem: add QTI SDAM driver
authorAnirudh Ghayal <aghayal@codeaurora.org>
Thu, 16 Jan 2020 16:11:00 +0000 (16:11 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Jan 2020 19:56:49 +0000 (20:56 +0100)
commit40ce9798794f972961b5a1c54773ae3daf42cf29
tree9ebb4d9c064a1d9ca67d32269f8d513f8d6c4391
parent9664a6b54c57c920e345a621f42d1eb006a7fb73
nvmem: add QTI SDAM driver

QTI SDAM driver allows PMIC peripherals to access the shared memory
that is available on QTI PMICs.

Use subsys_initcall as PMIC SDAM NV memory is accessed by multiple PMIC
drivers (charger, fuel gauge) to store/restore data across reboots
required during their initialization.

Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
Signed-off-by: Shyam Kumar Thella <sthella@codeaurora.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20200116161100.30637-4-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/nvmem/Kconfig
drivers/nvmem/Makefile
drivers/nvmem/qcom-spmi-sdam.c [new file with mode: 0644]