517d52ae5c
Add the awinic,aw88261 property to the awinic,aw88395.yaml file. Signed-off-by: Weidong Wang <wangweidong.a@awinic.com> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20230804114749.215460-2-wangweidong.a@awinic.com Signed-off-by: Mark Brown <broonie@kernel.org>
56 lines
1.1 KiB
YAML
56 lines
1.1 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/sound/awinic,aw88395.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Awinic AW88395 Smart Audio Amplifier
|
|
|
|
maintainers:
|
|
- Weidong Wang <wangweidong.a@awinic.com>
|
|
|
|
description:
|
|
The Awinic AW88395 is an I2S/TDM input, high efficiency
|
|
digital Smart K audio amplifier with an integrated 10.25V
|
|
smart boost convert.
|
|
|
|
allOf:
|
|
- $ref: dai-common.yaml#
|
|
|
|
properties:
|
|
compatible:
|
|
enum:
|
|
- awinic,aw88395
|
|
- awinic,aw88261
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
'#sound-dai-cells':
|
|
const: 0
|
|
|
|
reset-gpios:
|
|
maxItems: 1
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- '#sound-dai-cells'
|
|
- reset-gpios
|
|
|
|
unevaluatedProperties: false
|
|
|
|
examples:
|
|
- |
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
i2c {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
audio-codec@34 {
|
|
compatible = "awinic,aw88395";
|
|
reg = <0x34>;
|
|
#sound-dai-cells = <0>;
|
|
reset-gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
|
|
};
|
|
};
|