diff options
author | Marek Vasut <[email protected]> | 2022-05-24 03:05:12 +0200 |
---|---|---|
committer | Marek Vasut <[email protected]> | 2022-06-12 12:22:22 +0200 |
commit | fc801750b197d0f00c09e01e59a7dcd240fddcb5 (patch) | |
tree | 8ae8a55ca50bc4623f35973415faec5717fa58d7 /tools/perf/scripts/python/sched-migration.py | |
parent | 7d188c521d9ec3650136e9b9c81c61b22a544ab3 (diff) |
drm: of: Add drm_of_get_data_lanes_count and drm_of_get_data_lanes_ep
Add helper function to count and sanitize DT "data-lanes" property
and return either error or the data-lanes count. This is useful for
both DSI and (e)DP "data-lanes" property. The later version of the
function is an extra wrapper which handles the endpoint look up by
regs, that's what majority of the drivers duplicate too, but not all
of them.
Reviewed-by: Andrzej Hajda <[email protected]>
Signed-off-by: Marek Vasut <[email protected]>
Cc: Andrzej Hajda <[email protected]>
Cc: Laurent Pinchart <[email protected]>
Cc: Lucas Stach <[email protected]>
Cc: Maxime Ripard <[email protected]>
Cc: Robert Foss <[email protected]>
Cc: Sam Ravnborg <[email protected]>
To: [email protected]
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions