Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/sound/ti,src4xxx.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Texas Instruments SRC4392 |
| 8 | |
| 9 | description: | |
| 10 | The SRC4392 is a digital audio codec that can be connected via |
| 11 | I2C or SPI. Currently, only I2C bus is supported. |
| 12 | |
| 13 | maintainers: |
| 14 | - Matt Flax <flatmax@flatmax.com> |
| 15 | |
| 16 | allOf: |
| 17 | - $ref: dai-common.yaml# |
| 18 | |
| 19 | properties: |
| 20 | compatible: |
| 21 | const: ti,src4392 |
| 22 | |
| 23 | "#sound-dai-cells": |
| 24 | const: 0 |
| 25 | |
| 26 | reg: |
| 27 | maxItems: 1 |
| 28 | |
| 29 | required: |
| 30 | - "#sound-dai-cells" |
| 31 | - compatible |
| 32 | - reg |
| 33 | |
| 34 | additionalProperties: false |
| 35 | |
| 36 | examples: |
| 37 | - | |
| 38 | i2c { |
| 39 | #address-cells = <1>; |
| 40 | #size-cells = <0>; |
| 41 | |
| 42 | audio-codec@70 { |
| 43 | #sound-dai-cells = <0>; |
| 44 | compatible = "ti,src4392"; |
| 45 | reg = <0x70>; |
| 46 | }; |
| 47 | }; |
| 48 | ... |