The QCS8300 video clock controller is a derivative of SA8775P, but QCS8300 has minor difference. Hence, reuse the SA8775P videocc bindings for QCS8300 platform. Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Imran Shaik <quic_imrashai@quicinc.com> Link: https://lore.kernel.org/r/20250109-qcs8300-mm-patches-new-v4-5-63e8ac268b02@quicinc.com Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
63 lines
1.5 KiB
YAML
63 lines
1.5 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/clock/qcom,sa8775p-videocc.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Qualcomm Video Clock & Reset Controller on SA8775P
|
|
|
|
maintainers:
|
|
- Taniya Das <quic_tdas@quicinc.com>
|
|
|
|
description: |
|
|
Qualcomm video clock control module provides the clocks, resets and power
|
|
domains on SA8775P.
|
|
|
|
See also: include/dt-bindings/clock/qcom,sa8775p-videocc.h
|
|
|
|
properties:
|
|
compatible:
|
|
enum:
|
|
- qcom,qcs8300-videocc
|
|
- qcom,sa8775p-videocc
|
|
|
|
clocks:
|
|
items:
|
|
- description: Video AHB clock from GCC
|
|
- description: Board XO source
|
|
- description: Board active XO source
|
|
- description: Sleep Clock source
|
|
|
|
power-domains:
|
|
maxItems: 1
|
|
description: MMCX power domain
|
|
|
|
required:
|
|
- compatible
|
|
- clocks
|
|
- power-domains
|
|
- '#power-domain-cells'
|
|
|
|
allOf:
|
|
- $ref: qcom,gcc.yaml#
|
|
|
|
unevaluatedProperties: false
|
|
|
|
examples:
|
|
- |
|
|
#include <dt-bindings/clock/qcom,rpmh.h>
|
|
#include <dt-bindings/power/qcom-rpmpd.h>
|
|
#include <dt-bindings/clock/qcom,sa8775p-gcc.h>
|
|
videocc: clock-controller@abf0000 {
|
|
compatible = "qcom,sa8775p-videocc";
|
|
reg = <0x0abf0000 0x10000>;
|
|
clocks = <&gcc GCC_VIDEO_AHB_CLK>,
|
|
<&rpmhcc RPMH_CXO_CLK>,
|
|
<&rpmhcc RPMH_CXO_CLK_A>,
|
|
<&sleep_clk>;
|
|
power-domains = <&rpmhpd SA8775P_MMCX>;
|
|
#clock-cells = <1>;
|
|
#reset-cells = <1>;
|
|
#power-domain-cells = <1>;
|
|
};
|
|
...
|