Skip to content

soc: ti: k3-socinfo: Add module build support to the k3 socinfo driver

Nicolas Frayer linux-arm-kernel lkml 8 versions – Applied

Status from this message: I have applied the following to branch ti-drivers-soc-next on [1].

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest2 patches 4 repliesApplied
  2. v52 patches 2 repliesSuperseded
  3. v44 patches 8 repliesSuperseded
Earlier versions · 5
VersionPostedPatchesRepliesStatus
v31 patch2 repliesSuperseded
v2 posting 2/21 patch0 repliesSuperseded
v2 posting 1/22 patches6 repliesSuperseded
v1 posting 2/22 patches0 repliesSuperseded
v1 posting 1/22 patches0 repliesSuperseded

Changes in v6 from the cover letter

Add k3-socinfo to the subject

Patches in v6 Applied

#Subject and filesSizeRepliesApplied
1/2soc: ti: k3-socinfo: Convert allocations to devmdrivers/soc/ti/k3-socinfo.c+19 -170 replies
2/2soc: ti: k3-socinfo: Add module build supportarch/arm64/Kconfig.platforms drivers/soc/ti/Kconfig drivers/soc/ti/k3-socinfo.c+13 -20 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchKevin Hilman
SeriesR-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

Cover letter [PATCH v6 0/2] soc: ti: k3-socinfo: Add module build support to the k3 socinfo driver

In order for the TI K3 SoC info driver to be built as a module, the following changes have been made:
- Converted memory allocations to devm and added the remove callback
- Added necessary code to build the driver as a module

v2->v3:
dropped module conversion part of this series while other driver dependencies on socinfo are worked out.
A dependency issue is introduced by changing subsys_initcall() to module_platform_driver(). Some drivers using the socinfo information probe before the socinfo driver itself and it makes their probe fail.

v3->v4:
reintegrated the module build support and added patches for udma and mdio drivers to allow for deferred probe if socinfo hasn't probed yet.

v4->v5:
Remove the k3 udma and mdio patches from this series and sent them individually

v5->v6:
Add k3-socinfo to the subject

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

 arch/arm64/Kconfig.platforms |  1 -
 drivers/soc/ti/Kconfig       |  3 ++-
 drivers/soc/ti/k3-socinfo.c  | 47 +++++++++++++++++++++++-------------
 3 files changed, 32 insertions(+), 19 deletions(-)
Signature · 1 line
2.25.1