xref: /freebsd/sys/contrib/device-tree/Bindings/clock/qcom,sm6115-dispcc.yaml (revision 0e8011faf58b743cc652e3b2ad0f7671227610df)
17ef62cebSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
27ef62cebSEmmanuel Vadot%YAML 1.2
37ef62cebSEmmanuel Vadot---
47ef62cebSEmmanuel Vadot$id: http://devicetree.org/schemas/clock/qcom,sm6115-dispcc.yaml#
57ef62cebSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
67ef62cebSEmmanuel Vadot
77ef62cebSEmmanuel Vadottitle: Qualcomm Display Clock Controller for SM6115
87ef62cebSEmmanuel Vadot
97ef62cebSEmmanuel Vadotmaintainers:
107ef62cebSEmmanuel Vadot  - Bjorn Andersson <andersson@kernel.org>
117ef62cebSEmmanuel Vadot
127ef62cebSEmmanuel Vadotdescription: |
138bab661aSEmmanuel Vadot  Qualcomm display clock control module provides the clocks and power domains
148bab661aSEmmanuel Vadot  on SM6115.
157ef62cebSEmmanuel Vadot
168bab661aSEmmanuel Vadot  See also:: include/dt-bindings/clock/qcom,sm6115-dispcc.h
177ef62cebSEmmanuel Vadot
187ef62cebSEmmanuel Vadotproperties:
197ef62cebSEmmanuel Vadot  compatible:
207ef62cebSEmmanuel Vadot    enum:
217ef62cebSEmmanuel Vadot      - qcom,sm6115-dispcc
227ef62cebSEmmanuel Vadot
237ef62cebSEmmanuel Vadot  clocks:
247ef62cebSEmmanuel Vadot    items:
257ef62cebSEmmanuel Vadot      - description: Board XO source
267ef62cebSEmmanuel Vadot      - description: Board sleep clock
277ef62cebSEmmanuel Vadot      - description: Byte clock from DSI PHY0
287ef62cebSEmmanuel Vadot      - description: Pixel clock from DSI PHY0
297ef62cebSEmmanuel Vadot      - description: GPLL0 DISP DIV clock from GCC
307ef62cebSEmmanuel Vadot
317ef62cebSEmmanuel Vadotrequired:
327ef62cebSEmmanuel Vadot  - compatible
337ef62cebSEmmanuel Vadot  - clocks
347ef62cebSEmmanuel Vadot  - '#power-domain-cells'
357ef62cebSEmmanuel Vadot
36*0e8011faSEmmanuel VadotallOf:
37*0e8011faSEmmanuel Vadot  - $ref: qcom,gcc.yaml#
38*0e8011faSEmmanuel Vadot
39*0e8011faSEmmanuel VadotunevaluatedProperties: false
407ef62cebSEmmanuel Vadot
417ef62cebSEmmanuel Vadotexamples:
427ef62cebSEmmanuel Vadot  - |
437ef62cebSEmmanuel Vadot    #include <dt-bindings/clock/qcom,rpmcc.h>
447ef62cebSEmmanuel Vadot    #include <dt-bindings/clock/qcom,gcc-sm6115.h>
457ef62cebSEmmanuel Vadot    clock-controller@5f00000 {
467ef62cebSEmmanuel Vadot      compatible = "qcom,sm6115-dispcc";
477ef62cebSEmmanuel Vadot      reg = <0x5f00000 0x20000>;
487ef62cebSEmmanuel Vadot      clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>,
497ef62cebSEmmanuel Vadot               <&sleep_clk>,
507ef62cebSEmmanuel Vadot               <&dsi0_phy 0>,
517ef62cebSEmmanuel Vadot               <&dsi0_phy 1>,
527ef62cebSEmmanuel Vadot               <&gcc GCC_DISP_GPLL0_DIV_CLK_SRC>;
537ef62cebSEmmanuel Vadot      #clock-cells = <1>;
547ef62cebSEmmanuel Vadot      #reset-cells = <1>;
557ef62cebSEmmanuel Vadot      #power-domain-cells = <1>;
567ef62cebSEmmanuel Vadot    };
577ef62cebSEmmanuel Vadot...
58