Awinic AW88395 Smart Audio Amplifier
Schema identifier ($id): "http://devicetree.org/schemas/sound/awinic,aw88395.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Weidong Wang <wangweidong.a@awinic.com>"
The Awinic AW88395 is an I2S/TDM input, high efficiency digital Smart K audio amplifier with an integrated 10.25V smart boost convert.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "awinic,aw88081", "awinic,aw88083", "awinic,aw88166", "awinic,aw88261", "awinic,aw88395", "awinic,aw88399"
reg — required here #
Maximum number of items (maxItems): 1
#sound-dai-cells — required here #
Exact value (const): 0
reset-gpios — not listed as required here #
Maximum number of items (maxItems): 1
dvdd-supply — not listed as required here #
true — No constraints added by this property rule.
awinic,audio-channel — required here #
It is used to distinguish multiple PA devices, so that different configurations can be loaded to different PA devices
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 7
awinic,sync-flag — not listed as required here #
Flag bit used to keep the phase synchronized in the case of multiple PA
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
Required in this object (required): "compatible", "reg", "#sound-dai-cells", "awinic,audio-channel"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):dai-common.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"awinic,aw88081","awinic,aw88083","awinic,aw88261"When the condition matches (
then) #Properties and child nodes (
properties)
reset-gpios— not listed as required here
false— Not permitted by this property rule.
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"awinic,aw88261"When the condition matches (
then) #When the condition does not match (
else) #Properties and child nodes (
properties)
dvdd-supply— not listed as required here
false— Not permitted by this property rule.
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (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>;
awinic,audio-channel = <0>;
awinic,sync-flag;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)