| 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,ak5558.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: AK5558 8 channel differential 32-bit delta-sigma ADC |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Junichi Wakasugi <[email protected]> |
| 11 |
- Mihai Serban <[email protected]> |
| 12 |
|
| 13 |
properties: |
| 14 |
compatible: |
| 15 |
enum: |
| 16 |
- asahi-kasei,ak5552 |
| 17 |
- asahi-kasei,ak5558 |
| 18 |
|
| 19 |
reg: |
| 20 |
maxItems: 1 |
| 21 |
|
| 22 |
AVDD-supply: |
| 23 |
description: A 1.8V supply that powers up the AVDD pin. |
| 24 |
|
| 25 |
DVDD-supply: |
| 26 |
description: A 1.2V supply that powers up the DVDD pin. |
| 27 |
|
| 28 |
reset-gpios: |
| 29 |
maxItems: 1 |
| 30 |
|
| 31 |
required: |
| 32 |
- compatible |
| 33 |
- reg |
| 34 |
|
| 35 |
allOf: |
| 36 |
- $ref: dai-common.yaml# |
| 37 |
|
| 38 |
unevaluatedProperties: false |
| 39 |
|
| 40 |
examples: |
| 41 |
- | |
| 42 |
#include <dt-bindings/gpio/gpio.h> |
| 43 |
i2c { |
| 44 |
#address-cells = <1>; |
| 45 |
#size-cells = <0>; |
| 46 |
ak5558: codec@10 { |
| 47 |
compatible = "asahi-kasei,ak5558"; |
| 48 |
reg = <0x10>; |
| 49 |
reset-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>; |
| 50 |
}; |
| 51 |
}; |