Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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,max98095.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Maxim Integrated MAX98095 audio codec |
| 8 | |
| 9 | maintainers: |
| 10 | - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> |
| 11 | |
| 12 | allOf: |
| 13 | - $ref: dai-common.yaml# |
| 14 | |
| 15 | properties: |
| 16 | compatible: |
| 17 | enum: |
| 18 | - maxim,max98095 |
| 19 | |
| 20 | reg: |
| 21 | maxItems: 1 |
| 22 | |
| 23 | clocks: |
| 24 | items: |
| 25 | - description: master clock |
| 26 | |
| 27 | clock-names: |
| 28 | items: |
| 29 | - const: mclk |
| 30 | |
| 31 | '#sound-dai-cells': |
| 32 | const: 1 |
| 33 | |
| 34 | required: |
| 35 | - compatible |
| 36 | - reg |
| 37 | |
| 38 | unevaluatedProperties: false |
| 39 | |
| 40 | examples: |
| 41 | - | |
| 42 | #include <dt-bindings/interrupt-controller/irq.h> |
| 43 | |
| 44 | i2c { |
| 45 | #address-cells = <1>; |
| 46 | #size-cells = <0>; |
| 47 | |
| 48 | audio-codec@11 { |
| 49 | compatible = "maxim,max98095"; |
| 50 | reg = <0x11>; |
| 51 | clocks = <&i2s0 0>; |
| 52 | clock-names = "mclk"; |
| 53 | }; |
| 54 | }; |