summaryrefslogtreecommitdiff
path: root/utils/tuning/libtuning/parsers/yaml_parser.py
diff options
context:
space:
mode:
Diffstat (limited to 'utils/tuning/libtuning/parsers/yaml_parser.py')
-rw-r--r--utils/tuning/libtuning/parsers/yaml_parser.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/utils/tuning/libtuning/parsers/yaml_parser.py b/utils/tuning/libtuning/parsers/yaml_parser.py
new file mode 100644
index 00000000..5c1673a5
--- /dev/null
+++ b/utils/tuning/libtuning/parsers/yaml_parser.py
@@ -0,0 +1,17 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+#
+# Copyright (C) 2022, Paul Elder <paul.elder@ideasonboard.com>
+#
+# yaml_parser.py - Parser for YAML format config file
+
+from .parser import Parser
+
+
+class YamlParser(Parser):
+ def __init__(self):
+ super().__init__()
+
+ # \todo Implement this (it's fine for now as we don't need a config for
+ # rkisp1 LSC, which is the only user of this so far)
+ def parse(self, config_file: str, modules: list) -> (dict, list):
+ return {}, []