# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/clock/qcom,sdm845-lpasscc.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Qualcomm SDM845 LPASS Clock Controller

maintainers:
  - Bjorn Andersson <andersson@kernel.org>

description: |
  Qualcomm SDM845 LPASS (Low Power Audio SubSystem) Clock Controller.

  See also:: include/dt-bindings/clock/qcom,lpass-sdm845.h

properties:
  compatible:
    const: qcom,sdm845-lpasscc

  '#clock-cells':
    const: 1

  reg:
    maxItems: 2

  reg-names:
    items:
      - const: cc
      - const: qdsp6ss

required:
  - compatible
  - '#clock-cells'
  - reg
  - reg-names

additionalProperties: false

examples:
  - |
    clock-controller@17014000 {
        compatible = "qcom,sdm845-lpasscc";
        reg = <0x17014000 0x1f004>, <0x17300000 0x200>;
        reg-names = "cc", "qdsp6ss";
        #clock-cells = <1>;
    };