Qualcomm Multimedia Clock & Reset Controller
Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,mmcc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jeffrey Hugo <quic_jhugo@quicinc.com>", "Taniya Das <quic_tdas@quicinc.com>"
Qualcomm multimedia clock control module provides the clocks, resets and power domains.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "qcom,mmcc-apq8064", "qcom,mmcc-apq8084", "qcom,mmcc-msm8226", "qcom,mmcc-msm8660", "qcom,mmcc-msm8960", "qcom,mmcc-msm8974", "qcom,mmcc-msm8992", "qcom,mmcc-msm8994", "qcom,mmcc-msm8996", "qcom,mmcc-msm8998", "qcom,mmcc-sdm630", "qcom,mmcc-sdm660"
clocks — not listed as required here #
Minimum number of items (minItems): 7
Maximum number of items (maxItems): 13
clock-names — not listed as required here #
Minimum number of items (minItems): 7
Maximum number of items (maxItems): 13
vdd-gfx-supply — not listed as required here #
Regulator supply for the GPU_GX GDSC
Required in this object (required): "compatible", "#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 hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,mmcc-apq8064","qcom,mmcc-msm8960"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):8Array item rules (
items)Item 1
Board PXO source
Item 2
PLL 3 clock
Item 3
PLL 3 Vote clock
Item 4
DSI phy instance 1 dsi clock
Item 5
DSI phy instance 1 byte clock
Item 6
DSI phy instance 2 dsi clock
Item 7
DSI phy instance 2 byte clock
Item 8
HDMI phy PLL clock
Item 9
LVDS PLL clock
clock-names— not listed as required hereMinimum number of items (
minItems):8Array item rules (
items)Item 1
Exact value (
const):"pxo"Item 2
Exact value (
const):"pll3"Item 3
Exact value (
const):"pll8_vote"Item 4
Exact value (
const):"dsi1pll"Item 5
Exact value (
const):"dsi1pllbyte"Item 6
Exact value (
const):"dsi2pll"Item 7
Exact value (
const):"dsi2pllbyte"Item 8
Exact value (
const):"hdmipll"Item 9
Exact value (
const):"lvdspll"
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereArray item rules (
items)Item 1
Board XO source
Item 2
MMSS GPLL0 voted clock
Item 3
GPLL0 voted clock
Item 4
GPLL1 voted clock
Item 5
GFX3D clock source
Item 6
DSI phy instance 0 dsi clock
Item 7
DSI phy instance 0 byte clock
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"xo"Item 2
Exact value (
const):"mmss_gpll0_vote"Item 3
Exact value (
const):"gpll0_vote"Item 4
Exact value (
const):"gpll1_vote"Item 5
Exact value (
const):"gfx3d_clk_src"Item 6
Exact value (
const):"dsi0pll"Item 7
Exact value (
const):"dsi0pllbyte"
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereArray item rules (
items)Item 1
Board XO source
Item 2
MMSS GPLL0 voted clock
Item 3
GPLL0 voted clock
Item 4
GPLL1 voted clock
Item 5
GFX3D clock source
Item 6
DSI phy instance 0 dsi clock
Item 7
DSI phy instance 0 byte clock
Item 8
DSI phy instance 1 dsi clock
Item 9
DSI phy instance 1 byte clock
Item 10
HDMI phy PLL clock
Item 11
eDP phy PLL link clock
Item 12
eDP phy PLL vco clock
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"xo"Item 2
Exact value (
const):"mmss_gpll0_vote"Item 3
Exact value (
const):"gpll0_vote"Item 4
Exact value (
const):"gpll1_vote"Item 5
Exact value (
const):"gfx3d_clk_src"Item 6
Exact value (
const):"dsi0pll"Item 7
Exact value (
const):"dsi0pllbyte"Item 8
Exact value (
const):"dsi1pll"Item 9
Exact value (
const):"dsi1pllbyte"Item 10
Exact value (
const):"hdmipll"Item 11
Exact value (
const):"edp_link_clk"Item 12
Exact value (
const):"edp_vco_div"
Rule 5 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereArray item rules (
items)Item 1
Board XO source
Item 2
Board sleep source
Item 3
MMSS GPLL0 voted clock
Item 4
GPLL0 clock
Item 5
GPLL0 voted clock
Item 6
GPLL1 clock
Item 7
DSI phy instance 0 dsi clock
Item 8
DSI phy instance 0 byte clock
Item 9
DSI phy instance 1 dsi clock
Item 10
DSI phy instance 1 byte clock
Item 11
HDMI phy PLL clock
Item 12
eDP phy PLL link clock
Item 13
eDP phy PLL vco clock
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"xo"Item 2
Exact value (
const):"sleep_clk"Item 3
Exact value (
const):"mmss_gpll0_vote"Item 4
Exact value (
const):"gpll0"Item 5
Exact value (
const):"gpll0_vote"Item 6
Exact value (
const):"gpll1"Item 7
Exact value (
const):"dsi0pll"Item 8
Exact value (
const):"dsi0pllbyte"Item 9
Exact value (
const):"dsi1pll"Item 10
Exact value (
const):"dsi1pllbyte"Item 11
Exact value (
const):"hdmipll"Item 12
Exact value (
const):"edp_link_clk"Item 13
Exact value (
const):"edp_vco_div"
Rule 6 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,mmcc-msm8994","qcom,mmcc-msm8998","qcom,mmcc-sdm630","qcom,mmcc-sdm660"When the condition matches (
then) #
Rule 7 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"qcom,mmcc-msm8994"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereArray item rules (
items)Item 1
Board XO source
Item 2
Global PLL 0 clock
Item 3
MMSS NoC AHB clock
Item 4
GFX3D clock
Item 5
DSI phy instance 0 dsi clock
Item 6
DSI phy instance 0 byte clock
Item 7
DSI phy instance 1 dsi clock
Item 8
DSI phy instance 1 byte clock
Item 9
HDMI phy PLL clock
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"xo"Item 2
Exact value (
const):"gpll0"Item 3
Exact value (
const):"mmssnoc_ahb"Item 4
Exact value (
const):"oxili_gfx3d_clk_src"Item 5
Exact value (
const):"dsi0pll"Item 6
Exact value (
const):"dsi0pllbyte"Item 7
Exact value (
const):"dsi1pll"Item 8
Exact value (
const):"dsi1pllbyte"Item 9
Exact value (
const):"hdmipll"
Rule 8 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"qcom,mmcc-msm8996"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereArray item rules (
items)Item 1
Board XO source
Item 2
Global PLL 0 clock
Item 3
MMSS NoC AHB clock
Item 4
DSI phy instance 0 dsi clock
Item 5
DSI phy instance 0 byte clock
Item 6
DSI phy instance 1 dsi clock
Item 7
DSI phy instance 1 byte clock
Item 8
HDMI phy PLL clock
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"xo"Item 2
Exact value (
const):"gpll0"Item 3
Exact value (
const):"gcc_mmss_noc_cfg_ahb_clk"Item 4
Exact value (
const):"dsi0pll"Item 5
Exact value (
const):"dsi0pllbyte"Item 6
Exact value (
const):"dsi1pll"Item 7
Exact value (
const):"dsi1pllbyte"Item 8
Exact value (
const):"hdmipll"
Rule 9 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"qcom,mmcc-msm8998"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereArray item rules (
items)Item 1
Board XO source
Item 2
Global PLL 0 clock
Item 3
DSI phy instance 0 dsi clock
Item 4
DSI phy instance 0 byte clock
Item 5
DSI phy instance 1 dsi clock
Item 6
DSI phy instance 1 byte clock
Item 7
HDMI phy PLL clock
Item 8
DisplayPort phy PLL link clock
Item 9
DisplayPort phy PLL vco clock
Item 10
Global PLL 0 DIV clock
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"xo"Item 2
Exact value (
const):"gpll0"Item 3
Exact value (
const):"dsi0dsi"Item 4
Exact value (
const):"dsi0byte"Item 5
Exact value (
const):"dsi1dsi"Item 6
Exact value (
const):"dsi1byte"Item 7
Exact value (
const):"hdmipll"Item 8
Exact value (
const):"dplink"Item 9
Exact value (
const):"dpvco"Item 10
Exact value (
const):"gpll0_div"
Rule 10 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,mmcc-sdm630","qcom,mmcc-sdm660"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereArray item rules (
items)Item 1
Board XO source
Item 2
Board sleep source
Item 3
Global PLL 0 clock
Item 4
Global PLL 0 DIV clock
Item 5
DSI phy instance 0 dsi clock
Item 6
DSI phy instance 0 byte clock
Item 7
DSI phy instance 1 dsi clock
Item 8
DSI phy instance 1 byte clock
Item 9
DisplayPort phy PLL link clock
Item 10
DisplayPort phy PLL vco clock
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"xo"Item 2
Exact value (
const):"sleep_clk"Item 3
Exact value (
const):"gpll0"Item 4
Exact value (
const):"gpll0_div"Item 5
Exact value (
const):"dsi0pll"Item 6
Exact value (
const):"dsi0pllbyte"Item 7
Exact value (
const):"dsi1pll"Item 8
Exact value (
const):"dsi1pllbyte"Item 9
Exact value (
const):"dp_link_2x_clk_divsel_five"Item 10
Exact value (
const):"dp_vco_divided_clk_src_mux"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
clock-controller@4000000 {
compatible = "qcom,mmcc-msm8960";
reg = <0x4000000 0x1000>;
#clock-cells = <1>;
#reset-cells = <1>;
#power-domain-cells = <1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only
Line 337: Example for MMCC for MSM8960: