| # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | |
| %YAML 1.2 | |
| --- | |
| $id: http://devicetree.org/schemas/clock/qcom,glymur-evacc.yaml# | |
| $schema: http://devicetree.org/meta-schemas/core.yaml# | |
| title: Qualcomm EVA Clock & Reset Controller on Glymur SoC | |
| maintainers: | |
| - Taniya Das <taniya.das@oss.qualcomm.com> | |
| description: | | |
| Qualcomm EVA clock control module which supports the clocks, resets and | |
| power domains for the EVA instances on Glymur SoC. | |
| See also: | |
| - include/dt-bindings/clock/qcom,glymur-evacc.h | |
| properties: | |
| compatible: | |
| const: qcom,glymur-evacc | |
| clocks: | |
| items: | |
| - description: Interface clock from GCC | |
| - description: Board XO source | |
| - description: Sleep clock source | |
| power-domains: | |
| items: | |
| - description: MMCX power domain | |
| - description: MXC power domain | |
| required-opps: | |
| description: | |
| Required OPP nodes for the MMCX and MXC power domains. | |
| items: | |
| - description: MMCX performance point | |
| - description: MXC performance point | |
| required: | |
| - compatible | |
| - clocks | |
| - power-domains | |
| - required-opps | |
| - '#power-domain-cells' | |
| allOf: | |
| - $ref: qcom,gcc.yaml# | |
| unevaluatedProperties: false | |
| examples: | |
| - | | |
| #include <dt-bindings/clock/qcom,glymur-gcc.h> | |
| #include <dt-bindings/clock/qcom,rpmh.h> | |
| #include <dt-bindings/power/qcom,rpmhpd.h> | |
| clock-controller@ab00000 { | |
| compatible = "qcom,glymur-evacc"; | |
| reg = <0x0ab00000 0x10000>; | |
| clocks = <&gcc GCC_EVA_AHB_CLK>, | |
| <&rpmhcc RPMH_CXO_CLK>, | |
| <&sleep_clk>; | |
| power-domains = <&rpmhpd RPMHPD_MMCX>, | |
| <&rpmhpd RPMHPD_MXC>; | |
| required-opps = <&rpmhpd_opp_low_svs>, | |
| <&rpmhpd_opp_low_svs>; | |
| #clock-cells = <1>; | |
| #reset-cells = <1>; | |
| #power-domain-cells = <1>; | |
| }; | |
| ... |