mbox series

[v2,0/2] soc: ti: Convert K3 SoC info driver to module

Message ID 20221010131538.7333-1-nfrayer@baylibre.com (mailing list archive)
Headers show
Series soc: ti: Convert K3 SoC info driver to module | expand

Message

Nicolas Frayer Oct. 10, 2022, 1:15 p.m. UTC
In order for the TI K3 SoC info driver to be built as a module, the
following 2 changes have been made:
- Convert memory allocations to devm and added the remove callback
- Added necessary code to build the driver as a module

v1->v2:
- Some drivers using socinfo do not handle deferred probe when socinfo
is built as a module. So defaulting socinfo to built-in until the deferred
probe is handled correctly by those drivers.

Nicolas Frayer (2):
  soc: ti: Convert allocations to devm
  soc: ti: Add module build support

 arch/arm64/Kconfig.platforms |  1 -
 drivers/soc/ti/Kconfig       |  3 ++-
 drivers/soc/ti/k3-socinfo.c  | 47 +++++++++++++++++++-----------------
 3 files changed, 27 insertions(+), 24 deletions(-)