diff options
author | Jeremy Kerr <jk@codeconstruct.com.au> | 2023-03-31 12:14:59 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2023-04-28 09:18:53 +0300 |
commit | d782188cbb05a196e46a4838484f020ceeb889ec (patch) | |
tree | d491cf6924e40a862ca3bf9138ad2395111dfe5f /tools/perf/scripts/python/stackcollapse.py | |
parent | 66b32e3d2c6daeeafb80fa41f3a41e4c0ab85cc6 (diff) | |
download | linux-d782188cbb05a196e46a4838484f020ceeb889ec.tar.xz |
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 <jk@codeconstruct.com.au>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20230331091501.3800299-2-jk@codeconstruct.com.au
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions