summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/i3c
diff options
context:
space:
mode:
authorJeremy Kerr <jk@codeconstruct.com.au>2023-03-31 12:14:59 +0300
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2023-04-28 09:18:53 +0300
commitd782188cbb05a196e46a4838484f020ceeb889ec (patch)
treed491cf6924e40a862ca3bf9138ad2395111dfe5f /Documentation/devicetree/bindings/i3c
parent66b32e3d2c6daeeafb80fa41f3a41e4c0ab85cc6 (diff)
downloadlinux-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 'Documentation/devicetree/bindings/i3c')
0 files changed, 0 insertions, 0 deletions