| 1 |
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/sound/asahi-kasei,ak4104.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: AK4104 S/PDIF transmitter |
| 8 |
|
| 9 |
allOf: |
| 10 |
- $ref: dai-common.yaml# |
| 11 |
|
| 12 |
maintainers: |
| 13 |
- Daniel Mack <[email protected]> |
| 14 |
- Xiaxi Shen <[email protected]> |
| 15 |
|
| 16 |
properties: |
| 17 |
compatible: |
| 18 |
const: asahi-kasei,ak4104 |
| 19 |
|
| 20 |
reg: |
| 21 |
description: Chip select number on the SPI bus |
| 22 |
maxItems: 1 |
| 23 |
|
| 24 |
vdd-supply: |
| 25 |
description: A regulator node providing between 2.7V and 3.6V. |
| 26 |
|
| 27 |
reset-gpios: |
| 28 |
maxItems: 1 |
| 29 |
description: Optional GPIO spec for the reset pin, deasserted |
| 30 |
before communication starts. |
| 31 |
|
| 32 |
required: |
| 33 |
- compatible |
| 34 |
- reg |
| 35 |
- vdd-supply |
| 36 |
|
| 37 |
unevaluatedProperties: false |
| 38 |
|
| 39 |
examples: |
| 40 |
- | |
| 41 |
i2c { |
| 42 |
#address-cells = <1>; |
| 43 |
#size-cells = <0>; |
| 44 |
codec@0 { |
| 45 |
compatible = "asahi-kasei,ak4104"; |
| 46 |
reg = <0>; |
| 47 |
vdd-supply = <&vdd_3v3_reg>; |
| 48 |
}; |
| 49 |
}; |