mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-02 08:32:55 +00:00

Convert the max98088 audio codec txt bindings to DT schema. Signed-off-by: Abdulrasaq Lawani <abdulrasaqolawani@gmail.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20240612163730.515819-1-abdulrasaqolawani@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
48 lines
818 B
YAML
48 lines
818 B
YAML
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/sound/maxim,max98088.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: MAX98088 audio CODEC
|
|
|
|
maintainers:
|
|
- Abdulrasaq Lawani <abdulrasaqolawani@gmail.com>
|
|
|
|
properties:
|
|
compatible:
|
|
enum:
|
|
- maxim,max98088
|
|
- maxim,max98089
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
clocks:
|
|
items:
|
|
- description: master clock
|
|
|
|
clock-names:
|
|
items:
|
|
- const: mclk
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
i2c {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
audio-codec@10 {
|
|
compatible = "maxim,max98089";
|
|
reg = <0x10>;
|
|
clocks = <&clks 0>;
|
|
clock-names = "mclk";
|
|
};
|
|
};
|