From e1c13aed4a1641550e8c9518c96f016e1d52d09b Mon Sep 17 00:00:00 2001 From: Yijie Yang Date: Tue, 11 Aug 2026 16:46:47 +0800 Subject: dt-bindings: interconnect: qcom-bwmon: Add Maili cpu-bwmon compatible Add the Qualcomm Maili SoC compatible string for the CPU bandwidth monitor (BWMONv4). This falls back to the sdm845-bwmon compatible, consistent with the existing pattern used by other recent SoCs such as sm8750 and kaanapali. Signed-off-by: Yijie Yang Acked-by: Krzysztof Kozlowski Reviewed-by: Jingyi Wang Link: https://patch.msgid.link/20260811-bwmon-v2-1-80f7f150ab9e@oss.qualcomm.com Signed-off-by: Rob Herring (Arm) --- tools/build/feature/test-libopencsd.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 tools/build/feature/test-libopencsd.c (limited to 'tools/build/feature/test-libopencsd.c') diff --git a/tools/build/feature/test-libopencsd.c b/tools/build/feature/test-libopencsd.c new file mode 100644 index 000000000..4cfcef9da --- /dev/null +++ b/tools/build/feature/test-libopencsd.c @@ -0,0 +1,16 @@ +// SPDX-License-Identifier: GPL-2.0 +#include + +/* + * Check OpenCSD library version is sufficient to provide required features + */ +#define OCSD_MIN_VER ((1 << 16) | (2 << 8) | (1)) +#if !defined(OCSD_VER_NUM) || (OCSD_VER_NUM < OCSD_MIN_VER) +#error "OpenCSD >= 1.2.1 is required" +#endif + +int main(void) +{ + (void)ocsd_get_version(); + return 0; +} -- cgit v1.3.1