summaryrefslogtreecommitdiff
path: root/utils/codegen/gen-controls.py
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-08-08 02:16:19 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-08-16 00:28:32 +0300
commit5c1cb5e5bcc279a38b3947e9050ef4cd9e4ae0fd (patch)
tree6315f57da01e27c749cf502a95667073f611f9d3 /utils/codegen/gen-controls.py
parent6a96113107a9cf29b24f50b81f930508c0748fcd (diff)
py: gen-py-controls: Use Control class
Replace manual extraction of data from YAML with the Control helper class. This centralizes YAML parsing and avoids manual mistakes. In order to import the controls module, add the utils/codegen/ directory to the PYTHONPATH through the Python build environment. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Diffstat (limited to 'utils/codegen/gen-controls.py')
0 files changed, 0 insertions, 0 deletions