xref: /freebsd-src/sys/contrib/device-tree/Bindings/clock/qcom,sc7280-lpasscc.yaml (revision aa1a8ff2d6dbc51ef058f46f3db5a8bb77967145)
18cc087a1SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
28cc087a1SEmmanuel Vadot%YAML 1.2
38cc087a1SEmmanuel Vadot---
48cc087a1SEmmanuel Vadot$id: http://devicetree.org/schemas/clock/qcom,sc7280-lpasscc.yaml#
58cc087a1SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
68cc087a1SEmmanuel Vadot
78bab661aSEmmanuel Vadottitle: Qualcomm LPASS Core Clock Controller on SC7280
88cc087a1SEmmanuel Vadot
98cc087a1SEmmanuel Vadotmaintainers:
10*aa1a8ff2SEmmanuel Vadot  - Taniya Das <quic_tdas@quicinc.com>
118cc087a1SEmmanuel Vadot
128cc087a1SEmmanuel Vadotdescription: |
138bab661aSEmmanuel Vadot  Qualcomm LPASS core clock control module provides the clocks and power
148bab661aSEmmanuel Vadot  domains on SC7280.
158cc087a1SEmmanuel Vadot
168bab661aSEmmanuel Vadot  See also:: include/dt-bindings/clock/qcom,lpass-sc7280.h
178cc087a1SEmmanuel Vadot
188cc087a1SEmmanuel Vadotproperties:
198cc087a1SEmmanuel Vadot  compatible:
208cc087a1SEmmanuel Vadot    enum:
218cc087a1SEmmanuel Vadot      - qcom,sc7280-lpasscc
228cc087a1SEmmanuel Vadot
238cc087a1SEmmanuel Vadot  clocks:
248cc087a1SEmmanuel Vadot    items:
258cc087a1SEmmanuel Vadot      - description: gcc_cfg_noc_lpass_clk from GCC
268cc087a1SEmmanuel Vadot
278cc087a1SEmmanuel Vadot  clock-names:
288cc087a1SEmmanuel Vadot    items:
298cc087a1SEmmanuel Vadot      - const: iface
308cc087a1SEmmanuel Vadot
318cc087a1SEmmanuel Vadot  '#clock-cells':
328cc087a1SEmmanuel Vadot    const: 1
338cc087a1SEmmanuel Vadot
348cc087a1SEmmanuel Vadot  reg:
358cc087a1SEmmanuel Vadot    items:
368cc087a1SEmmanuel Vadot      - description: LPASS qdsp6ss register
378cc087a1SEmmanuel Vadot      - description: LPASS top-cc register
388cc087a1SEmmanuel Vadot
398cc087a1SEmmanuel Vadot  reg-names:
408cc087a1SEmmanuel Vadot    items:
418cc087a1SEmmanuel Vadot      - const: qdsp6ss
428cc087a1SEmmanuel Vadot      - const: top_cc
438cc087a1SEmmanuel Vadot
44fac71e4eSEmmanuel Vadot  qcom,adsp-pil-mode:
45fac71e4eSEmmanuel Vadot    description:
46fac71e4eSEmmanuel Vadot      Indicates if the LPASS would be brought out of reset using
47fac71e4eSEmmanuel Vadot      remoteproc peripheral loader.
48fac71e4eSEmmanuel Vadot    type: boolean
49fac71e4eSEmmanuel Vadot
508cc087a1SEmmanuel Vadotrequired:
518cc087a1SEmmanuel Vadot  - compatible
528cc087a1SEmmanuel Vadot  - reg
538cc087a1SEmmanuel Vadot  - clocks
548cc087a1SEmmanuel Vadot  - clock-names
558cc087a1SEmmanuel Vadot  - '#clock-cells'
568cc087a1SEmmanuel Vadot
578cc087a1SEmmanuel VadotadditionalProperties: false
588cc087a1SEmmanuel Vadot
598cc087a1SEmmanuel Vadotexamples:
608cc087a1SEmmanuel Vadot  - |
618cc087a1SEmmanuel Vadot    #include <dt-bindings/clock/qcom,gcc-sc7280.h>
628cc087a1SEmmanuel Vadot    #include <dt-bindings/clock/qcom,lpass-sc7280.h>
638cc087a1SEmmanuel Vadot    clock-controller@3000000 {
648cc087a1SEmmanuel Vadot      compatible = "qcom,sc7280-lpasscc";
657ef62cebSEmmanuel Vadot      reg = <0x03000000 0x40>, <0x03c04000 0x4>;
667ef62cebSEmmanuel Vadot      reg-names = "qdsp6ss", "top_cc";
678cc087a1SEmmanuel Vadot      clocks = <&gcc GCC_CFG_NOC_LPASS_CLK>;
688cc087a1SEmmanuel Vadot      clock-names = "iface";
69fac71e4eSEmmanuel Vadot      qcom,adsp-pil-mode;
708cc087a1SEmmanuel Vadot      #clock-cells = <1>;
718cc087a1SEmmanuel Vadot    };
728cc087a1SEmmanuel Vadot...
73