2021-07-13 08:12:22 -07:00
|
|
|
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
2019-12-26 23:38:32 -07:00
|
|
|
%YAML 1.2
|
|
|
|
---
|
2020-09-23 09:06:27 -07:00
|
|
|
$id: http://devicetree.org/schemas/clock/qcom,videocc.yaml#
|
2019-12-26 23:38:32 -07:00
|
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
|
2022-11-02 09:31:53 -07:00
|
|
|
title: Qualcomm Video Clock & Reset Controller
|
2019-12-26 23:38:32 -07:00
|
|
|
|
|
|
|
maintainers:
|
2023-06-27 10:31:23 -07:00
|
|
|
- Taniya Das <quic_tdas@quicinc.com>
|
2019-12-26 23:38:32 -07:00
|
|
|
|
|
|
|
description: |
|
2022-11-02 09:31:53 -07:00
|
|
|
Qualcomm video clock control module provides the clocks, resets and power
|
|
|
|
domains on Qualcomm SoCs.
|
2020-02-03 11:31:44 -07:00
|
|
|
|
2022-11-02 09:31:53 -07:00
|
|
|
See also::
|
|
|
|
include/dt-bindings/clock/qcom,videocc-sc7180.h
|
|
|
|
include/dt-bindings/clock/qcom,videocc-sc7280.h
|
|
|
|
include/dt-bindings/clock/qcom,videocc-sdm845.h
|
|
|
|
include/dt-bindings/clock/qcom,videocc-sm8150.h
|
|
|
|
include/dt-bindings/clock/qcom,videocc-sm8250.h
|
2019-12-26 23:38:32 -07:00
|
|
|
|
|
|
|
properties:
|
|
|
|
compatible:
|
2020-09-23 09:06:27 -07:00
|
|
|
enum:
|
|
|
|
- qcom,sc7180-videocc
|
2021-07-13 08:12:22 -07:00
|
|
|
- qcom,sc7280-videocc
|
2020-09-23 09:06:27 -07:00
|
|
|
- qcom,sdm845-videocc
|
2020-09-23 09:06:28 -07:00
|
|
|
- qcom,sm8150-videocc
|
2020-09-23 09:06:29 -07:00
|
|
|
- qcom,sm8250-videocc
|
2019-12-26 23:38:32 -07:00
|
|
|
|
|
|
|
clocks:
|
2022-12-24 08:41:52 -07:00
|
|
|
minItems: 1
|
|
|
|
maxItems: 3
|
2019-12-26 23:38:32 -07:00
|
|
|
|
|
|
|
clock-names:
|
2022-12-24 08:41:52 -07:00
|
|
|
minItems: 1
|
|
|
|
maxItems: 3
|
2019-12-26 23:38:32 -07:00
|
|
|
|
2021-08-29 08:47:51 -07:00
|
|
|
power-domains:
|
|
|
|
description:
|
|
|
|
A phandle and PM domain specifier for the MMCX power domain.
|
|
|
|
maxItems: 1
|
|
|
|
|
|
|
|
required-opps:
|
|
|
|
description:
|
|
|
|
A phandle to an OPP node describing required MMCX performance point.
|
|
|
|
maxItems: 1
|
|
|
|
|
2019-12-26 23:38:32 -07:00
|
|
|
required:
|
|
|
|
- compatible
|
|
|
|
- clocks
|
|
|
|
- clock-names
|
|
|
|
- '#power-domain-cells'
|
|
|
|
|
2022-12-24 08:41:52 -07:00
|
|
|
allOf:
|
2024-06-05 01:09:29 -07:00
|
|
|
- $ref: qcom,gcc.yaml#
|
|
|
|
|
2022-12-24 08:41:52 -07:00
|
|
|
- if:
|
|
|
|
properties:
|
|
|
|
compatible:
|
|
|
|
enum:
|
|
|
|
- qcom,sc7180-videocc
|
|
|
|
- qcom,sdm845-videocc
|
|
|
|
then:
|
|
|
|
properties:
|
|
|
|
clocks:
|
|
|
|
items:
|
|
|
|
- description: Board XO source
|
|
|
|
clock-names:
|
|
|
|
items:
|
|
|
|
- const: bi_tcxo
|
|
|
|
|
|
|
|
- if:
|
|
|
|
properties:
|
|
|
|
compatible:
|
|
|
|
enum:
|
|
|
|
- qcom,sc7280-videocc
|
|
|
|
then:
|
|
|
|
properties:
|
|
|
|
clocks:
|
|
|
|
items:
|
|
|
|
- description: Board XO source
|
|
|
|
- description: Board active XO source
|
|
|
|
clock-names:
|
|
|
|
items:
|
|
|
|
- const: bi_tcxo
|
|
|
|
- const: bi_tcxo_ao
|
|
|
|
|
2024-05-09 03:24:03 -07:00
|
|
|
- if:
|
|
|
|
properties:
|
|
|
|
compatible:
|
|
|
|
enum:
|
|
|
|
- qcom,sm8150-videocc
|
|
|
|
then:
|
|
|
|
properties:
|
|
|
|
clocks:
|
|
|
|
items:
|
|
|
|
- description: AHB
|
|
|
|
- description: Board XO source
|
|
|
|
clock-names:
|
|
|
|
items:
|
|
|
|
- const: iface
|
|
|
|
- const: bi_tcxo
|
|
|
|
|
2022-12-24 08:41:52 -07:00
|
|
|
- if:
|
|
|
|
properties:
|
|
|
|
compatible:
|
|
|
|
enum:
|
|
|
|
- qcom,sm8250-videocc
|
|
|
|
then:
|
|
|
|
properties:
|
|
|
|
clocks:
|
|
|
|
items:
|
|
|
|
- description: AHB
|
|
|
|
- description: Board XO source
|
|
|
|
- description: Board active XO source
|
|
|
|
clock-names:
|
|
|
|
items:
|
|
|
|
- const: iface
|
|
|
|
- const: bi_tcxo
|
|
|
|
- const: bi_tcxo_ao
|
|
|
|
|
2024-06-05 01:09:29 -07:00
|
|
|
unevaluatedProperties: false
|
2020-03-25 15:05:41 -07:00
|
|
|
|
2019-12-26 23:38:32 -07:00
|
|
|
examples:
|
|
|
|
- |
|
2020-02-03 11:31:44 -07:00
|
|
|
#include <dt-bindings/clock/qcom,rpmh.h>
|
2023-07-27 05:43:33 -07:00
|
|
|
#include <dt-bindings/power/qcom,rpmhpd.h>
|
2019-12-26 23:38:32 -07:00
|
|
|
clock-controller@ab00000 {
|
|
|
|
compatible = "qcom,sdm845-videocc";
|
2020-05-12 13:45:43 -07:00
|
|
|
reg = <0x0ab00000 0x10000>;
|
2020-02-03 11:31:44 -07:00
|
|
|
clocks = <&rpmhcc RPMH_CXO_CLK>;
|
|
|
|
clock-names = "bi_tcxo";
|
2019-12-26 23:38:32 -07:00
|
|
|
#clock-cells = <1>;
|
|
|
|
#reset-cells = <1>;
|
|
|
|
#power-domain-cells = <1>;
|
2023-07-27 05:43:33 -07:00
|
|
|
power-domains = <&rpmhpd RPMHPD_MMCX>;
|
2021-08-29 08:47:51 -07:00
|
|
|
required-opps = <&rpmhpd_opp_low_svs>;
|
2020-02-03 11:31:44 -07:00
|
|
|
};
|
2019-12-26 23:38:32 -07:00
|
|
|
...
|