summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Klug <stefan.klug@ideasonboard.com>2024-12-20 17:25:28 +0100
committerKieran Bingham <kieran.bingham@ideasonboard.com>2024-12-23 11:16:08 +0000
commitfa2e8621f5d02b225b2b2d900a0d54df25cec5ac (patch)
tree3442e5165ec95ef6e60bf6b67f09bc4df0d493f0
parent344064a1115d3d14640046d0edea960ba1ede45c (diff)
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>
-rwxr-xr-xutils/gen-debug-controls.py1
1 files changed, 1 insertions, 0 deletions
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