[PATCH v3] bus: add platform bus

Thomas Monjalon thomas at monjalon.net
Mon Feb 20 11:51:40 CET 2023


15/02/2023 12:10, Tomasz Duszynski:
> Platform bus is a software bus under Linux that manages devices which
> generally do not have built-in discovery mechanisms. Linux normally
> learns about platform devices directly from device-tree during
> boot-up phase.
> 
> Up to this point, whenever some userspace app needed control over
> platform device or a range of thereof some sort of driver being
> a mixture of vdev/rawdev was required.
> 
> In order to simplify this task, provide an auto-probe
> experience and separate bus logic from the driver itself,
> add platform bus support.
> 
> Currently devices backed up by vfio-platform kernel driver
> are supported.
> 
> Signed-off-by: Tomasz Duszynski <tduszynski at marvell.com>

I would like to better understand how to use it.
Please could you add some doc in doc/guides/linux_gsg/ ?





More information about the dev mailing list