aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mul.c
diff options
context:
space:
mode:
authorJeremy Kerr <[email protected]>2023-03-31 17:14:59 +0800
committerAlexandre Belloni <[email protected]>2023-04-28 08:18:53 +0200
commitd782188cbb05a196e46a4838484f020ceeb889ec (patch)
treed491cf6924e40a862ca3bf9138ad2395111dfe5f /lib/mpi/mpi-mul.c
parent66b32e3d2c6daeeafb80fa41f3a41e4c0ab85cc6 (diff)
i3c: dw: Add infrastructure for platform-specific implementations
The dw i3c core can be integrated into various SoC devices. Platforms that use this core may need a little configuration that is specific to that platform. Add some infrastructure to allow platform-specific behaviour: common probe/remove functions, a set of platform hook operations, and a pointer for platform-specific data in struct dw_i3c_master. Move the common api into a new (i3c local) header file. Platforms will provide their own struct platform_driver, which allocates struct dw_i3c_master, does any platform-specific probe behaviour, and calls into the common probe. A future change will add new platform support that uses this infrastructure. Signed-off-by: Jeremy Kerr <[email protected]> Reviewed-by: Joel Stanley <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions