mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-04 02:25:58 +00:00

Some components of AUDIOMIX (i.e: DSP, OCRAM_A) are clocked by
AUDIO_AXI_CLK_ROOT. Since the AUDIOMIX block control manages the clock
gates for those components, include their root clock in the list of clocks
consumed by the IP.
Fixes: 95a0aa7bb1
("dt-bindings: clock: imx8mp: Add audiomix block control")
Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
Reviewed-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Link: https://lore.kernel.org/r/20250226164513.33822-2-laurentiumihalcea111@gmail.com
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
85 lines
1.9 KiB
YAML
85 lines
1.9 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/clock/imx8mp-audiomix.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: NXP i.MX8MP AudioMIX Block Control
|
|
|
|
maintainers:
|
|
- Marek Vasut <marex@denx.de>
|
|
|
|
description: |
|
|
NXP i.MX8M Plus AudioMIX is dedicated clock muxing and gating IP
|
|
used to control Audio related clock on the SoC.
|
|
|
|
properties:
|
|
compatible:
|
|
const: fsl,imx8mp-audio-blk-ctrl
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
power-domains:
|
|
maxItems: 1
|
|
|
|
clocks:
|
|
minItems: 8
|
|
maxItems: 8
|
|
|
|
clock-names:
|
|
items:
|
|
- const: ahb
|
|
- const: sai1
|
|
- const: sai2
|
|
- const: sai3
|
|
- const: sai5
|
|
- const: sai6
|
|
- const: sai7
|
|
- const: axi
|
|
|
|
'#clock-cells':
|
|
const: 1
|
|
description:
|
|
The clock consumer should specify the desired clock by having the clock
|
|
ID in its "clocks" phandle cell. See include/dt-bindings/clock/imx8mp-clock.h
|
|
for the full list of i.MX8MP IMX8MP_CLK_AUDIOMIX_ clock IDs.
|
|
|
|
'#reset-cells':
|
|
const: 1
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- clocks
|
|
- clock-names
|
|
- power-domains
|
|
- '#clock-cells'
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
# Clock Control Module node:
|
|
- |
|
|
#include <dt-bindings/clock/imx8mp-clock.h>
|
|
|
|
clock-controller@30e20000 {
|
|
compatible = "fsl,imx8mp-audio-blk-ctrl";
|
|
reg = <0x30e20000 0x10000>;
|
|
#clock-cells = <1>;
|
|
clocks = <&clk IMX8MP_CLK_AUDIO_ROOT>,
|
|
<&clk IMX8MP_CLK_SAI1>,
|
|
<&clk IMX8MP_CLK_SAI2>,
|
|
<&clk IMX8MP_CLK_SAI3>,
|
|
<&clk IMX8MP_CLK_SAI5>,
|
|
<&clk IMX8MP_CLK_SAI6>,
|
|
<&clk IMX8MP_CLK_SAI7>,
|
|
<&clk IMX8MP_CLK_AUDIO_AXI_ROOT>;
|
|
clock-names = "ahb",
|
|
"sai1", "sai2", "sai3",
|
|
"sai5", "sai6", "sai7", "axi";
|
|
power-domains = <&pgc_audio>;
|
|
};
|
|
|
|
...
|