aboutsummaryrefslogtreecommitdiff
path: root/drivers/nvmem/mxs-ocotp.c
diff options
context:
space:
mode:
authorGravatar Carlo Caione <ccaione@baylibre.com> 2019-07-31 09:23:39 +0100
committerGravatar Kevin Hilman <khilman@baylibre.com> 2019-10-03 08:43:33 -0700
commit8cde3c2153e8f57be884c0e73f18bc4de150e870 (patch)
tree1a1ab4553a4218150903420c586bfd9c6b4184dd /drivers/nvmem/mxs-ocotp.c
parentnvmem: meson-efuse: bindings: Add secure-monitor phandle (diff)
downloadlinux-8cde3c2153e8f57be884c0e73f18bc4de150e870.tar.gz
linux-8cde3c2153e8f57be884c0e73f18bc4de150e870.tar.bz2
linux-8cde3c2153e8f57be884c0e73f18bc4de150e870.zip
firmware: meson_sm: Rework driver as a proper platform driver
The secure monitor driver is currently a frankenstein driver which is registered as a platform driver but its functionality goes through a global struct accessed by the consumer drivers using exported helper functions. Try to tidy up the driver moving the firmware struct into the driver data and make the consumer drivers referencing the secure-monitor using a new property in the DT. Currently only the nvmem driver is using this API so we can fix it in the same commit. Reviewed-by: Jerome Brunet <jbrunet@baylibre.com> Signed-off-by: Carlo Caione <ccaione@baylibre.com> Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Diffstat (limited to 'drivers/nvmem/mxs-ocotp.c')
0 files changed, 0 insertions, 0 deletions