From fa2e8621f5d02b225b2b2d900a0d54df25cec5ac Mon Sep 17 00:00:00 2001 From: Stefan Klug 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 Reviewed-by: Laurent Pinchart Reviewed-by: Kieran Bingham Signed-off-by: Kieran Bingham --- utils/gen-debug-controls.py | 1 + 1 file changed, 1 insertion(+) 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