Qualcomm Global Clock & Reset Controller on MSM8976

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

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

Maintainers (maintainers): "Stephen Boyd <sboyd@kernel.org>", "Taniya Das <quic_tdas@quicinc.com>"

Qualcomm global clock control module provides the clocks, resets and power domains on MSM8976.

See also: include/dt-bindings/clock/qcom,gcc-msm8976.h

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,gcc-msm8976", "qcom,gcc-msm8976-v1.1"

clocks — required here #

Array item rules (items) #

Item 1

XO source

Item 2

Always-on XO source

Item 3

Pixel clock from DSI PHY0

Item 4

Byte clock from DSI PHY0

Item 5

Pixel clock from DSI PHY1

Item 6

Byte clock from DSI PHY1

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "xo"

Item 2

Exact value (const): "xo_a"

Item 3

Exact value (const): "dsi0pll"

Item 4

Exact value (const): "dsi0pllbyte"

Item 5

Exact value (const): "dsi1pll"

Item 6

Exact value (const): "dsi1pllbyte"

vdd_gfx-supply — required here #

Phandle to voltage regulator providing power to the GX domain.

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

All of these rules must match (allOf) #

Rule 1 #

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@1800000 {
  compatible = "qcom,gcc-msm8976";
  #clock-cells = <1>;
  #reset-cells = <1>;
  #power-domain-cells = <1>;
  reg = <0x1800000 0x80000>;

  clocks = <&xo_board>,
           <&xo_board>,
           <&dsi0_phy 1>,
           <&dsi0_phy 0>,
           <&dsi1_phy 1>,
           <&dsi1_phy 0>;

  clock-names = "xo",
                "xo_a",
                "dsi0pll",
                "dsi0pllbyte",
                "dsi1pll",
                "dsi1pllbyte";

  vdd_gfx-supply = <&pm8004_s5>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page