diff options
author | Daniel Scally <djrscally@gmail.com> | 2021-01-07 16:28:30 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-01-26 21:26:49 +0300 |
commit | 529b56a854c5a8bd5e6f045cdcbbcd21a1616fbd (patch) | |
tree | 9fd10f2dfefbacf809a75e258afc036428fa475d /tools/iio | |
parent | fc002f0f23e28026bb680fa34e3797de9edefdbb (diff) | |
download | linux-529b56a854c5a8bd5e6f045cdcbbcd21a1616fbd.tar.xz |
media: device property: Define format macros for ports and endpoints
OF, ACPI and software_nodes all implement graphs including nodes for ports
and endpoints. These are all intended to be named with a common schema,
as "port@n" and "endpoint@n" where n is an unsigned int representing the
index of the node. To ensure commonality across the subsystems, provide a
set of macros to define the format.
Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Daniel Scally <djrscally@gmail.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/iio')
0 files changed, 0 insertions, 0 deletions