From fa2e8621f5d02b225b2b2d900a0d54df25cec5ac Mon Sep 17 00:00:00 2001 From: Stefan Klug <stefan.klug@ideasonboard.com> Date: Fri, 20 Dec 2024 17:25:28 +0100 Subject: utils: gen-debug-controls: Output direction flag The yaml definitions for controls now require a direction attribute which is not auto generated by gen-debug-controls.py. Fix that. Signed-off-by: Stefan Klug <stefan.klug@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com> --- utils/gen-debug-controls.py | 1 + 1 file changed, 1 insertion(+) (limited to 'utils') diff --git a/utils/gen-debug-controls.py b/utils/gen-debug-controls.py index 02585073..272597f4 100755 --- a/utils/gen-debug-controls.py +++ b/utils/gen-debug-controls.py @@ -106,6 +106,7 @@ def main(argv): p = m.file.relative_to(root_dir) desc = {'type': m.type, + 'direction': 'out', 'description': f'Debug control {m.name} found in {p}:{m.line}'} if m.size is not None: desc['size'] = m.size -- cgit v1.2.1