2020-02-03 11:31:35 -07:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
%YAML 1.2
|
|
|
|
---
|
|
|
|
$id: http://devicetree.org/schemas/clock/qcom,sdm845-dispcc.yaml#
|
|
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
|
2022-11-02 09:31:53 -07:00
|
|
|
title: Qualcomm Display Clock & Reset Controller on SDM845
|
2020-02-03 11:31:35 -07:00
|
|
|
|
|
|
|
maintainers:
|
2023-06-27 10:31:23 -07:00
|
|
|
- Taniya Das <quic_tdas@quicinc.com>
|
2020-02-03 11:31:35 -07:00
|
|
|
|
|
|
|
description: |
|
2022-11-02 09:31:53 -07:00
|
|
|
Qualcomm display clock control module provides the clocks, resets and power
|
|
|
|
domains on SDM845.
|
2020-02-03 11:31:35 -07:00
|
|
|
|
2022-11-02 09:31:53 -07:00
|
|
|
See also:: include/dt-bindings/clock/qcom,dispcc-sdm845.h
|
2020-02-03 11:31:35 -07:00
|
|
|
|
|
|
|
properties:
|
|
|
|
compatible:
|
|
|
|
const: qcom,sdm845-dispcc
|
|
|
|
|
|
|
|
# NOTE: sdm845.dtsi existed for quite some time and specified no clocks.
|
|
|
|
# The code had to use hardcoded mechanisms to find the input clocks.
|
|
|
|
# New dts files should have these clocks.
|
|
|
|
clocks:
|
|
|
|
items:
|
|
|
|
- description: Board XO source
|
|
|
|
- description: GPLL0 source from GCC
|
|
|
|
- description: GPLL0 div source from GCC
|
|
|
|
- description: Byte clock from DSI PHY0
|
|
|
|
- description: Pixel clock from DSI PHY0
|
|
|
|
- description: Byte clock from DSI PHY1
|
|
|
|
- description: Pixel clock from DSI PHY1
|
|
|
|
- description: Link clock from DP PHY
|
|
|
|
- description: VCO DIV clock from DP PHY
|
|
|
|
|
|
|
|
clock-names:
|
|
|
|
items:
|
|
|
|
- const: bi_tcxo
|
|
|
|
- const: gcc_disp_gpll0_clk_src
|
|
|
|
- const: gcc_disp_gpll0_div_clk_src
|
|
|
|
- const: dsi0_phy_pll_out_byteclk
|
|
|
|
- const: dsi0_phy_pll_out_dsiclk
|
|
|
|
- const: dsi1_phy_pll_out_byteclk
|
|
|
|
- const: dsi1_phy_pll_out_dsiclk
|
|
|
|
- const: dp_link_clk_divsel_ten
|
|
|
|
- const: dp_vco_divided_clk_src_mux
|
|
|
|
|
|
|
|
required:
|
|
|
|
- compatible
|
|
|
|
- clocks
|
|
|
|
- clock-names
|
|
|
|
- '#power-domain-cells'
|
|
|
|
|
2024-06-05 01:09:39 -07:00
|
|
|
allOf:
|
|
|
|
- $ref: qcom,gcc.yaml#
|
|
|
|
|
|
|
|
unevaluatedProperties: false
|
2020-03-25 15:05:41 -07:00
|
|
|
|
2020-02-03 11:31:35 -07:00
|
|
|
examples:
|
|
|
|
- |
|
|
|
|
#include <dt-bindings/clock/qcom,gcc-sdm845.h>
|
|
|
|
#include <dt-bindings/clock/qcom,rpmh.h>
|
|
|
|
clock-controller@af00000 {
|
|
|
|
compatible = "qcom,sdm845-dispcc";
|
2020-05-12 13:45:43 -07:00
|
|
|
reg = <0x0af00000 0x10000>;
|
2020-02-03 11:31:35 -07:00
|
|
|
clocks = <&rpmhcc RPMH_CXO_CLK>,
|
|
|
|
<&gcc GCC_DISP_GPLL0_CLK_SRC>,
|
|
|
|
<&gcc GCC_DISP_GPLL0_DIV_CLK_SRC>,
|
|
|
|
<&dsi0_phy 0>,
|
|
|
|
<&dsi0_phy 1>,
|
|
|
|
<&dsi1_phy 0>,
|
|
|
|
<&dsi1_phy 1>,
|
|
|
|
<&dp_phy 0>,
|
|
|
|
<&dp_phy 1>;
|
|
|
|
clock-names = "bi_tcxo",
|
|
|
|
"gcc_disp_gpll0_clk_src",
|
|
|
|
"gcc_disp_gpll0_div_clk_src",
|
|
|
|
"dsi0_phy_pll_out_byteclk",
|
|
|
|
"dsi0_phy_pll_out_dsiclk",
|
|
|
|
"dsi1_phy_pll_out_byteclk",
|
|
|
|
"dsi1_phy_pll_out_dsiclk",
|
|
|
|
"dp_link_clk_divsel_ten",
|
|
|
|
"dp_vco_divided_clk_src_mux";
|
|
|
|
#clock-cells = <1>;
|
|
|
|
#reset-cells = <1>;
|
|
|
|
#power-domain-cells = <1>;
|
|
|
|
};
|
|
|
|
...
|