From patchwork Fri Dec 20 16:25:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Klug X-Patchwork-Id: 22439 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 20CE8C327D for ; Fri, 20 Dec 2024 16:26:11 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 1D1D5684AE; Fri, 20 Dec 2024 17:26:10 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="bnAHzkTs"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 08BD76808F for ; Fri, 20 Dec 2024 17:26:07 +0100 (CET) Received: from ideasonboard.com (unknown [IPv6:2a00:6020:448c:6c00:4eeb:7fa7:1fd0:c13d]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 60572B2B; Fri, 20 Dec 2024 17:25:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1734711928; bh=r4f4CBVZDZgJ4wpCGnhDa/Ny8CmcZ8z8C/8Qer6d9xw=; h=From:To:Cc:Subject:Date:From; b=bnAHzkTseAxPS7XRMjYGiZcZ2Vlt9m6ljUcqo/Y3gBieffSrzTuqlaky0cXxK7qi2 oVh7VCzl+AsJe+7kBibqdMsl+/WJFUyUNtEwEFLpDcYexMus2Hz34hybyGVoeqh3Ax nXpY0ySVjNo5c59Tlp2OyPNsGg+Zej8t7cNDgkig= From: Stefan Klug To: libcamera-devel@lists.libcamera.org Cc: Stefan Klug Subject: [PATCH] utils: gen-debug-controls: Output direction flag Date: Fri, 20 Dec 2024 17:25:28 +0100 Message-ID: <20241220162601.755377-1-stefan.klug@ideasonboard.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" 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 Reviewed-by: Laurent Pinchart Reviewed-by: Kieran Bingham --- utils/gen-debug-controls.py | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/gen-debug-controls.py b/utils/gen-debug-controls.py index 025850731c0b..272597f4874f 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