From 1f035351b70f9713d726adda76f3a8afacabdef7 Mon Sep 17 00:00:00 2001 From: Mike Tipton Date: Fri, 15 Jan 2021 17:40:22 -0800 Subject: [PATCH] dt-bindings: interconnect: Add QCOM_ICC_TAG_PERF_MODE Add binding for QCOM_ICC_TAG_PERF_MODE, which can be used with icc_set_tag() to indicate that the path should use latency-optimized settings for each node in the path if supported. Change-Id: I748df7bdaa79784ade4ad9a135e4f91b92b97513 Signed-off-by: Mike Tipton --- include/dt-bindings/interconnect/qcom,icc.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/include/dt-bindings/interconnect/qcom,icc.h b/include/dt-bindings/interconnect/qcom,icc.h index cd34f36daaaa..710e4839b992 100644 --- a/include/dt-bindings/interconnect/qcom,icc.h +++ b/include/dt-bindings/interconnect/qcom,icc.h @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */ /* - * Copyright (c) 2020, The Linux Foundation. All rights reserved. + * Copyright (c) 2020-2021, The Linux Foundation. All rights reserved. */ #ifndef __DT_BINDINGS_INTERCONNECT_QCOM_ICC_H @@ -23,4 +23,10 @@ #define QCOM_ICC_TAG_ALWAYS (QCOM_ICC_TAG_AMC | QCOM_ICC_TAG_WAKE |\ QCOM_ICC_TAG_SLEEP) +/* + * PERF_MODE indicates that each node in the requested path should use + * performance-optimized settings if supported by the node. + */ +#define QCOM_ICC_TAG_PERF_MODE (1 << 3) + #endif