Qualcomm Video Clock & Reset Controller

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,videocc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Taniya Das <quic_tdas@quicinc.com>"

Qualcomm video clock control module provides the clocks, resets and power 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
  include/dt-bindings/clock/qcom,videocc-sm8150.h
  include/dt-bindings/clock/qcom,videocc-sm8250.h

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "qcom,sc7180-videocc", "qcom,sc7280-videocc", "qcom,sdm845-videocc", "qcom,sm6350-videocc", "qcom,sm8150-videocc", "qcom,sm8250-videocc"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "qcom,sc8180x-videocc"

Item 2

Exact value (const): "qcom,sm8150-videocc"

clocks — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 3

clock-names — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 3

power-domains — not listed as required here #

A phandle and PM domain specifier for the MMCX power domain.

Maximum number of items (maxItems): 1

required-opps — not listed as required here #

A phandle to an OPP node describing required MMCX performance point.

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "clocks", "clock-names", "#power-domain-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Allowed values (enum): "qcom,sc7180-videocc", "qcom,sdm845-videocc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

Board XO source

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "bi_tcxo"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Allowed values (enum): "qcom,sc7280-videocc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

Board XO source

Item 2

Board active XO source

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "bi_tcxo"

Item 2

Exact value (const): "bi_tcxo_ao"

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Allowed values (enum): "qcom,sm6350-videocc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

Video AHB clock from GCC

Item 2

Board XO source

Item 3

Sleep Clock source

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "iface"

Item 2

Exact value (const): "bi_tcxo"

Item 3

Exact value (const): "sleep_clk"

Rule 5 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,sm8150-videocc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

AHB

Item 2

Board XO source

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "iface"

Item 2

Exact value (const): "bi_tcxo"

Rule 6 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Allowed values (enum): "qcom,sm8250-videocc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

AHB

Item 2

Board XO source

Item 3

Board active XO source

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "iface"

Item 2

Exact value (const): "bi_tcxo"

Item 3

Exact value (const): "bi_tcxo_ao"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/power/qcom,rpmhpd.h>
clock-controller@ab00000 {
  compatible = "qcom,sdm845-videocc";
  reg = <0x0ab00000 0x10000>;
  clocks = <&rpmhcc RPMH_CXO_CLK>;
  clock-names = "bi_tcxo";
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
  power-domains = <&rpmhpd RPMHPD_MMCX>;
  required-opps = <&rpmhpd_opp_low_svs>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page