linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] soc: ti: Convert K3 SoC info driver to module
@ 2022-10-10 13:15 Nicolas Frayer
  2022-10-10 13:15 ` [PATCH v2 1/2] soc: ti: Convert allocations to devm Nicolas Frayer
  2022-10-10 13:15 ` [PATCH v2 2/2] soc: ti: Add module build support Nicolas Frayer
  0 siblings, 2 replies; 9+ messages in thread
From: Nicolas Frayer @ 2022-10-10 13:15 UTC (permalink / raw)
  To: nm, ssantosh
  Cc: linux-arm-kernel, khilman, glaroque, granquet, Nicolas Frayer

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(-)

-- 
2.25.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-10-19 17:59 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-10 13:15 [PATCH v2 0/2] soc: ti: Convert K3 SoC info driver to module Nicolas Frayer
2022-10-10 13:15 ` [PATCH v2 1/2] soc: ti: Convert allocations to devm Nicolas Frayer
2022-10-17 22:15   ` Nishanth Menon
2022-10-19 17:50     ` Nicolas Frayer
2022-10-19 17:58       ` Nicolas Frayer
2022-10-10 13:15 ` [PATCH v2 2/2] soc: ti: Add module build support Nicolas Frayer
2022-10-10 16:40   ` Nicolas Frayer
2022-10-17 22:16   ` Nishanth Menon
2022-10-19 17:57     ` Nicolas Frayer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).