| 1 |
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/sound/maxim,max98088.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: MAX98088 audio CODEC |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Abdulrasaq Lawani <[email protected]> |
| 11 |
|
| 12 |
properties: |
| 13 |
compatible: |
| 14 |
enum: |
| 15 |
- maxim,max98088 |
| 16 |
- maxim,max98089 |
| 17 |
|
| 18 |
reg: |
| 19 |
maxItems: 1 |
| 20 |
|
| 21 |
clocks: |
| 22 |
items: |
| 23 |
- description: master clock |
| 24 |
|
| 25 |
clock-names: |
| 26 |
items: |
| 27 |
- const: mclk |
| 28 |
|
| 29 |
required: |
| 30 |
- compatible |
| 31 |
- reg |
| 32 |
|
| 33 |
additionalProperties: false |
| 34 |
|
| 35 |
examples: |
| 36 |
- | |
| 37 |
i2c { |
| 38 |
#address-cells = <1>; |
| 39 |
#size-cells = <0>; |
| 40 |
|
| 41 |
audio-codec@10 { |
| 42 |
compatible = "maxim,max98089"; |
| 43 |
reg = <0x10>; |
| 44 |
clocks = <&clks 0>; |
| 45 |
clock-names = "mclk"; |
| 46 |
}; |
| 47 |
}; |