LPASS Audio Clock Controller on SM8250 SoCs

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,audiocc-sm8250.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Srinivas Kandagatla <srinivas.kandagatla@linaro.org>"

The clock consumer should specify the desired clock by having the clock ID in its "clocks" phandle cell. See include/dt-bindings/clock/qcom,sm8250-lpass-audiocc.h for the full list of Audio Clock controller clock IDs.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,sm8250-lpass-audiocc"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

clocks — required here #

Array item rules (items) #

Item 1

LPASS Core voting clock

Item 2

LPASS Audio codec voting clock

Item 3

Glitch Free Mux register clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "core"

Item 2

Exact value (const): "audio"

Item 3

Exact value (const): "bus"

Required in this object (required): "compatible", "reg", "#clock-cells", "clocks", "clock-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,sm8250-lpass-audiocc.h>
#include <dt-bindings/sound/qcom,q6afe.h>
clock-controller@3300000 {
  #clock-cells = <1>;
  compatible = "qcom,sm8250-lpass-audiocc";
  reg = <0x03300000 0x30000>;
  clocks = <&q6afecc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
           <&q6afecc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
           <&q6afecc LPASS_CLK_ID_TX_CORE_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>;
  clock-names = "core", "audio", "bus";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page