xref: /linux/Documentation/devicetree/bindings/clock/qcom,sc7280-lpasscorecc.yaml (revision a1c613ae4c322ddd58d5a8539dbfba2a0380a8c0)
14185b27bSTaniya Das# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
24185b27bSTaniya Das%YAML 1.2
34185b27bSTaniya Das---
44185b27bSTaniya Das$id: http://devicetree.org/schemas/clock/qcom,sc7280-lpasscorecc.yaml#
54185b27bSTaniya Das$schema: http://devicetree.org/meta-schemas/core.yaml#
64185b27bSTaniya Das
7ece3c319SKrzysztof Kozlowskititle: Qualcomm LPASS Core & Audio Clock Controller on SC7280
84185b27bSTaniya Das
94185b27bSTaniya Dasmaintainers:
10*60838878STaniya Das  - Taniya Das <quic_tdas@quicinc.com>
114185b27bSTaniya Das
124185b27bSTaniya Dasdescription: |
13ece3c319SKrzysztof Kozlowski  Qualcomm LPASS core and audio clock control module provides the clocks and
14ece3c319SKrzysztof Kozlowski  power domains on SC7280.
154185b27bSTaniya Das
16ece3c319SKrzysztof Kozlowski  See also::
17ece3c319SKrzysztof Kozlowski    include/dt-bindings/clock/qcom,lpasscorecc-sc7280.h
18ece3c319SKrzysztof Kozlowski    include/dt-bindings/clock/qcom,lpassaudiocc-sc7280.h
194185b27bSTaniya Das
204185b27bSTaniya Dasproperties:
214185b27bSTaniya Das  clocks: true
224185b27bSTaniya Das
234185b27bSTaniya Das  clock-names: true
244185b27bSTaniya Das
2542801e61STaniya Das  reg: true
2642801e61STaniya Das
274185b27bSTaniya Das  compatible:
284185b27bSTaniya Das    enum:
294185b27bSTaniya Das      - qcom,sc7280-lpassaoncc
304185b27bSTaniya Das      - qcom,sc7280-lpassaudiocc
314185b27bSTaniya Das      - qcom,sc7280-lpasscorecc
324185b27bSTaniya Das      - qcom,sc7280-lpasshm
334185b27bSTaniya Das
344185b27bSTaniya Das  power-domains:
354185b27bSTaniya Das    maxItems: 1
364185b27bSTaniya Das
374185b27bSTaniya Das  '#clock-cells':
384185b27bSTaniya Das    const: 1
394185b27bSTaniya Das
404185b27bSTaniya Das  '#power-domain-cells':
414185b27bSTaniya Das    const: 1
424185b27bSTaniya Das
4342801e61STaniya Das  '#reset-cells':
4442801e61STaniya Das    const: 1
454185b27bSTaniya Das
4605c23128STaniya Das  qcom,adsp-pil-mode:
4705c23128STaniya Das    description:
4805c23128STaniya Das      Indicates if the LPASS would be brought out of reset using
4905c23128STaniya Das      peripheral loader.
5005c23128STaniya Das    type: boolean
5105c23128STaniya Das
524185b27bSTaniya Dasrequired:
534185b27bSTaniya Das  - compatible
544185b27bSTaniya Das  - reg
554185b27bSTaniya Das  - clocks
564185b27bSTaniya Das  - clock-names
574185b27bSTaniya Das  - '#clock-cells'
584185b27bSTaniya Das  - '#power-domain-cells'
594185b27bSTaniya Das
604185b27bSTaniya DasadditionalProperties: false
614185b27bSTaniya Das
624185b27bSTaniya DasallOf:
634185b27bSTaniya Das  - if:
644185b27bSTaniya Das      properties:
654185b27bSTaniya Das        compatible:
664185b27bSTaniya Das          contains:
674185b27bSTaniya Das            const: qcom,sc7280-lpassaudiocc
684185b27bSTaniya Das
694185b27bSTaniya Das    then:
704185b27bSTaniya Das      properties:
714185b27bSTaniya Das        clocks:
724185b27bSTaniya Das          items:
734185b27bSTaniya Das            - description: Board XO source
744185b27bSTaniya Das            - description: LPASS_AON_CC_MAIN_RCG_CLK_SRC
754185b27bSTaniya Das
764185b27bSTaniya Das        clock-names:
774185b27bSTaniya Das          items:
784185b27bSTaniya Das            - const: bi_tcxo
794185b27bSTaniya Das            - const: lpass_aon_cc_main_rcg_clk_src
8042801e61STaniya Das
8142801e61STaniya Das        reg:
8242801e61STaniya Das          items:
8342801e61STaniya Das            - description: lpass core cc register
8442801e61STaniya Das            - description: lpass audio csr register
854185b27bSTaniya Das  - if:
864185b27bSTaniya Das      properties:
874185b27bSTaniya Das        compatible:
884185b27bSTaniya Das          contains:
894185b27bSTaniya Das            enum:
904185b27bSTaniya Das              - qcom,sc7280-lpassaoncc
914185b27bSTaniya Das
924185b27bSTaniya Das    then:
934185b27bSTaniya Das      properties:
944185b27bSTaniya Das        clocks:
954185b27bSTaniya Das          items:
964185b27bSTaniya Das            - description: Board XO source
974185b27bSTaniya Das            - description: Board XO active only source
984185b27bSTaniya Das            - description: LPASS_AON_CC_MAIN_RCG_CLK_SRC
994185b27bSTaniya Das
1004185b27bSTaniya Das        clock-names:
1014185b27bSTaniya Das          items:
1024185b27bSTaniya Das            - const: bi_tcxo
1034185b27bSTaniya Das            - const: bi_tcxo_ao
1044185b27bSTaniya Das            - const: iface
1054185b27bSTaniya Das
10642801e61STaniya Das        reg:
10742801e61STaniya Das          maxItems: 1
1084185b27bSTaniya Das  - if:
1094185b27bSTaniya Das      properties:
1104185b27bSTaniya Das        compatible:
1114185b27bSTaniya Das          contains:
1124185b27bSTaniya Das            enum:
1134185b27bSTaniya Das              - qcom,sc7280-lpasshm
1144185b27bSTaniya Das              - qcom,sc7280-lpasscorecc
1154185b27bSTaniya Das
1164185b27bSTaniya Das    then:
1174185b27bSTaniya Das      properties:
1184185b27bSTaniya Das        clocks:
1194185b27bSTaniya Das          items:
1204185b27bSTaniya Das            - description: Board XO source
1214185b27bSTaniya Das
1224185b27bSTaniya Das        clock-names:
1234185b27bSTaniya Das          items:
1244185b27bSTaniya Das            - const: bi_tcxo
1254185b27bSTaniya Das
12642801e61STaniya Das        reg:
12742801e61STaniya Das          maxItems: 1
1284185b27bSTaniya Dasexamples:
1294185b27bSTaniya Das  - |
1304185b27bSTaniya Das    #include <dt-bindings/clock/qcom,rpmh.h>
1314185b27bSTaniya Das    #include <dt-bindings/clock/qcom,gcc-sc7280.h>
1324185b27bSTaniya Das    #include <dt-bindings/clock/qcom,lpassaudiocc-sc7280.h>
1334185b27bSTaniya Das    #include <dt-bindings/clock/qcom,lpasscorecc-sc7280.h>
1344185b27bSTaniya Das    lpass_audiocc: clock-controller@3300000 {
1354185b27bSTaniya Das      compatible = "qcom,sc7280-lpassaudiocc";
13642801e61STaniya Das      reg = <0x3300000 0x30000>,
13742801e61STaniya Das            <0x32a9000 0x1000>;
1384185b27bSTaniya Das      clocks = <&rpmhcc RPMH_CXO_CLK>,
1394185b27bSTaniya Das               <&lpass_aon LPASS_AON_CC_MAIN_RCG_CLK_SRC>;
1404185b27bSTaniya Das      clock-names = "bi_tcxo", "lpass_aon_cc_main_rcg_clk_src";
1414185b27bSTaniya Das      power-domains = <&lpass_aon LPASS_AON_CC_LPASS_AUDIO_HM_GDSC>;
1424185b27bSTaniya Das      #clock-cells = <1>;
1434185b27bSTaniya Das      #power-domain-cells = <1>;
14442801e61STaniya Das      #reset-cells = <1>;
1454185b27bSTaniya Das    };
1464185b27bSTaniya Das
1474185b27bSTaniya Das  - |
1484185b27bSTaniya Das    #include <dt-bindings/clock/qcom,rpmh.h>
1494185b27bSTaniya Das    #include <dt-bindings/clock/qcom,gcc-sc7280.h>
1504185b27bSTaniya Das    #include <dt-bindings/clock/qcom,lpassaudiocc-sc7280.h>
1514185b27bSTaniya Das    #include <dt-bindings/clock/qcom,lpasscorecc-sc7280.h>
1524185b27bSTaniya Das    lpass_hm: clock-controller@3c00000 {
1534185b27bSTaniya Das      compatible = "qcom,sc7280-lpasshm";
1544185b27bSTaniya Das      reg = <0x3c00000 0x28>;
1554185b27bSTaniya Das      clocks = <&rpmhcc RPMH_CXO_CLK>;
1564185b27bSTaniya Das      clock-names = "bi_tcxo";
1574185b27bSTaniya Das      #clock-cells = <1>;
1584185b27bSTaniya Das      #power-domain-cells = <1>;
1594185b27bSTaniya Das    };
1604185b27bSTaniya Das
1614185b27bSTaniya Das  - |
1624185b27bSTaniya Das    #include <dt-bindings/clock/qcom,rpmh.h>
1634185b27bSTaniya Das    #include <dt-bindings/clock/qcom,gcc-sc7280.h>
1644185b27bSTaniya Das    #include <dt-bindings/clock/qcom,lpassaudiocc-sc7280.h>
1654185b27bSTaniya Das    #include <dt-bindings/clock/qcom,lpasscorecc-sc7280.h>
1664185b27bSTaniya Das    lpasscore: clock-controller@3900000 {
1674185b27bSTaniya Das      compatible = "qcom,sc7280-lpasscorecc";
1684185b27bSTaniya Das      reg = <0x3900000 0x50000>;
1694185b27bSTaniya Das      clocks = <&rpmhcc RPMH_CXO_CLK>;
1704185b27bSTaniya Das      clock-names = "bi_tcxo";
1714185b27bSTaniya Das      power-domains = <&lpass_hm LPASS_CORE_CC_LPASS_CORE_HM_GDSC>;
1724185b27bSTaniya Das      #clock-cells = <1>;
1734185b27bSTaniya Das      #power-domain-cells = <1>;
1744185b27bSTaniya Das    };
1754185b27bSTaniya Das
1764185b27bSTaniya Das  - |
1774185b27bSTaniya Das    #include <dt-bindings/clock/qcom,rpmh.h>
1784185b27bSTaniya Das    #include <dt-bindings/clock/qcom,gcc-sc7280.h>
1794185b27bSTaniya Das    #include <dt-bindings/clock/qcom,lpassaudiocc-sc7280.h>
1804185b27bSTaniya Das    #include <dt-bindings/clock/qcom,lpasscorecc-sc7280.h>
1814185b27bSTaniya Das    lpass_aon: clock-controller@3380000 {
1824185b27bSTaniya Das      compatible = "qcom,sc7280-lpassaoncc";
1834185b27bSTaniya Das      reg = <0x3380000 0x30000>;
1844185b27bSTaniya Das      clocks = <&rpmhcc RPMH_CXO_CLK>, <&rpmhcc RPMH_CXO_CLK_A>,
1854185b27bSTaniya Das               <&lpasscore LPASS_CORE_CC_CORE_CLK>;
1864185b27bSTaniya Das      clock-names = "bi_tcxo", "bi_tcxo_ao","iface";
18705c23128STaniya Das      qcom,adsp-pil-mode;
1884185b27bSTaniya Das      #clock-cells = <1>;
1894185b27bSTaniya Das      #power-domain-cells = <1>;
1904185b27bSTaniya Das    };
1914185b27bSTaniya Das
1924185b27bSTaniya Das...
193