]> git.dujemihanovic.xyz Git - u-boot.git/commit
pmu: stpmic1: change specific NVM api to MISC
authorPatrick Delaunay <patrick.delaunay@st.com>
Fri, 2 Aug 2019 11:08:03 +0000 (13:08 +0200)
committerPatrice Chotard <patrice.chotard@st.com>
Tue, 27 Aug 2019 09:19:23 +0000 (11:19 +0200)
commit234a60244c62ffce5c5c1d5b80d200f4568c5cfd
tree1cb48f4de3abda3055c59a67b89f97447be40008
parent0c8620d2ffe1440165156c7a0d95424c7eabe60b
pmu: stpmic1: change specific NVM api to MISC

Use MISC u-class to export the NVM register (starting at 0xF8 offset)
and avoid specific API.
- SHADOW have offset < 0.
- NVM have register > 0

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
drivers/misc/stm32mp_fuse.c
drivers/power/pmic/stpmic1.c
include/power/stpmic1.h