From 0f89bf3efd15e62e44c994cffa8f16c47540d1ed Mon Sep 17 00:00:00 2001 From: Paul Elder Date: Fri, 21 Oct 2022 23:48:34 +0900 Subject: utils: libtuning: parsers: Add yaml parser Add a parser to libtuning for parsing configuration files in yaml format. At the moment it doesn't parse anything and simply returns an empty config. This is fine for the time being, as the only user of it is the rkisp1 tuning script, which only has an LSC module which doesn't consume anything from the configuration file. When a module comes around that requires the yaml parser, it can be implemented then. Signed-off-by: Paul Elder Reviewed-by: Laurent Pinchart --- utils/tuning/libtuning/parsers/__init__.py | 1 + 1 file changed, 1 insertion(+) (limited to 'utils/tuning/libtuning/parsers/__init__.py') diff --git a/utils/tuning/libtuning/parsers/__init__.py b/utils/tuning/libtuning/parsers/__init__.py index 9d20d2fc..022c1e5d 100644 --- a/utils/tuning/libtuning/parsers/__init__.py +++ b/utils/tuning/libtuning/parsers/__init__.py @@ -3,3 +3,4 @@ # Copyright (C) 2022, Paul Elder from libtuning.parsers.raspberrypi_parser import RaspberryPiParser +from libtuning.parsers.yaml_parser import YamlParser -- cgit v1.2.1