diff options
| author | Heikki Krogerus <[email protected]> | 2021-01-07 13:28:31 +0000 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2021-01-26 18:27:56 +0000 |
| commit | 000c08fda62cbb5fcee9d2c60b5ecff3ef4c2267 (patch) | |
| tree | 567ef25d3bec3c03cf75ce87829cd6f2efdb7267 /drivers/media/v4l2-core/v4l2-async.c | |
| parent | media: device property: Define format macros for ports and endpoints (diff) | |
| download | kernel-000c08fda62cbb5fcee9d2c60b5ecff3ef4c2267.tar.gz kernel-000c08fda62cbb5fcee9d2c60b5ecff3ef4c2267.zip | |
media: software_node: Add support for fwnode_graph*() family of functions
This implements the remaining .graph_*() callbacks in the fwnode
operations structure for the software nodes. That makes the
fwnode_graph_*() functions available in the drivers also when software
nodes are used.
The implementation tries to mimic the "OF graph" as much as possible, but
there is no support for the "reg" device property. The ports will need to
have the index in their name which starts with "port@" (for example
"port@0", "port@1", ...) and endpoints will use the index of the software
node that is given to them during creation. The port nodes can also be
grouped under a specially named "ports" subnode, just like in DT, if
necessary.
The remote-endpoints are reference properties under the endpoint nodes
that are named "remote-endpoint".
Reviewed-by: Laurent Pinchart <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Signed-off-by: Heikki Krogerus <[email protected]>
Co-developed-by: Daniel Scally <[email protected]>
Signed-off-by: Daniel Scally <[email protected]>
Acked-by: Greg Kroah-Hartman <[email protected]>
Acked-by: Rafael J. Wysocki <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-async.c')
0 files changed, 0 insertions, 0 deletions
