summaryrefslogtreecommitdiffstats
path: root/include/dt-bindings
diff options
context:
space:
mode:
authorAbel Vesa <abel.vesa@linaro.org>2023-01-04 11:34:47 +0200
committerBjorn Andersson <andersson@kernel.org>2023-01-06 11:10:37 -0600
commitd8aa375bd70681b76c6bd5fe93bab6011e16a0fb (patch)
tree600debbd2895cfdbf840b75c40d2db8b65b19fcb /include/dt-bindings
parentcae04c4425e374ed10dc8a8c1f3bd369934945d7 (diff)
downloadlinux-d8aa375bd70681b76c6bd5fe93bab6011e16a0fb.tar.gz
linux-d8aa375bd70681b76c6bd5fe93bab6011e16a0fb.tar.bz2
linux-d8aa375bd70681b76c6bd5fe93bab6011e16a0fb.zip
dt-bindings: clock: Add SM8550 TCSR CC clocks
Add bindings documentation for clock TCSR driver on SM8550. Signed-off-by: Abel Vesa <abel.vesa@linaro.org> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20230104093450.3150578-2-abel.vesa@linaro.org
Diffstat (limited to 'include/dt-bindings')
-rw-r--r--include/dt-bindings/clock/qcom,sm8550-tcsr.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/dt-bindings/clock/qcom,sm8550-tcsr.h b/include/dt-bindings/clock/qcom,sm8550-tcsr.h
new file mode 100644
index 000000000000..091cb76f953a
--- /dev/null
+++ b/include/dt-bindings/clock/qcom,sm8550-tcsr.h
@@ -0,0 +1,18 @@
+/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
+/*
+ * Copyright (c) 2022, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2022, Linaro Limited
+ */
+
+#ifndef _DT_BINDINGS_CLK_QCOM_TCSR_CC_SM8550_H
+#define _DT_BINDINGS_CLK_QCOM_TCSR_CC_SM8550_H
+
+/* TCSR CC clocks */
+#define TCSR_PCIE_0_CLKREF_EN 0
+#define TCSR_PCIE_1_CLKREF_EN 1
+#define TCSR_UFS_CLKREF_EN 2
+#define TCSR_UFS_PAD_CLKREF_EN 3
+#define TCSR_USB2_CLKREF_EN 4
+#define TCSR_USB3_CLKREF_EN 5
+
+#endif