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>
This commit is contained in:
committed by
Kieran Bingham
parent
344064a111
commit
fa2e8621f5
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user