Merge branch '20250324-sm6350-videocc-v2-2-cc22386433f4@fairphone.com' into clk-for-6.16

Merge SM6350 video clock controller binding through topic branch to
make it available for DeviceTree branch as well.
This commit is contained in:
Bjorn Andersson 2025-05-10 11:50:38 -05:00
commit a4e07ddeb8
2 changed files with 47 additions and 0 deletions

View file

@ -14,6 +14,7 @@ description: |
domains on Qualcomm SoCs.
See also::
include/dt-bindings/clock/qcom,sm6350-videocc.h
include/dt-bindings/clock/qcom,videocc-sc7180.h
include/dt-bindings/clock/qcom,videocc-sc7280.h
include/dt-bindings/clock/qcom,videocc-sdm845.h
@ -26,6 +27,7 @@ properties:
- qcom,sc7180-videocc
- qcom,sc7280-videocc
- qcom,sdm845-videocc
- qcom,sm6350-videocc
- qcom,sm8150-videocc
- qcom,sm8250-videocc
@ -87,6 +89,24 @@ allOf:
- const: bi_tcxo
- const: bi_tcxo_ao
- if:
properties:
compatible:
enum:
- qcom,sm6350-videocc
then:
properties:
clocks:
items:
- description: Video AHB clock from GCC
- description: Board XO source
- description: Sleep Clock source
clock-names:
items:
- const: iface
- const: bi_tcxo
- const: sleep_clk
- if:
properties:
compatible:

View file

@ -0,0 +1,27 @@
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
/*
* Copyright (c) 2021, The Linux Foundation. All rights reserved.
* Copyright (c) 2021, Konrad Dybcio <konrad.dybcio@somainline.org>
*/
#ifndef _DT_BINDINGS_CLK_QCOM_VIDEO_CC_SM6350_H
#define _DT_BINDINGS_CLK_QCOM_VIDEO_CC_SM6350_H
/* VIDEO_CC clocks */
#define VIDEO_PLL0 0
#define VIDEO_PLL0_OUT_EVEN 1
#define VIDEO_CC_IRIS_AHB_CLK 2
#define VIDEO_CC_IRIS_CLK_SRC 3
#define VIDEO_CC_MVS0_AXI_CLK 4
#define VIDEO_CC_MVS0_CORE_CLK 5
#define VIDEO_CC_MVSC_CORE_CLK 6
#define VIDEO_CC_MVSC_CTL_AXI_CLK 7
#define VIDEO_CC_SLEEP_CLK 8
#define VIDEO_CC_SLEEP_CLK_SRC 9
#define VIDEO_CC_VENUS_AHB_CLK 10
/* GDSCs */
#define MVSC_GDSC 0
#define MVS0_GDSC 1
#endif