WM8804 audio codec
Schema identifier ($id): "http://devicetree.org/schemas/sound/wlf,wm8804.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
This device supports both I2C and SPI (configured with pin strapping on the board).
Maintainers (maintainers): "patches@opensource.cirrus.com"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "wlf,wm8804"
reg — required here #
The I2C address of the device for I2C, the chip select number for SPI.
Maximum number of items (maxItems): 1
#sound-dai-cells — not listed as required here #
Exact value (const): 0
PVDD-supply — required here #
PLL core supply
DVDD-supply — required here #
Digital core supply
wlf,reset-gpio — not listed as required here #
A GPIO specifier for the GPIO controlling the reset pin.
Maximum number of items (maxItems): 1
Required in this object (required): "reg", "compatible", "PVDD-supply", "DVDD-supply"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
codec@1a {
compatible = "wlf,wm8804";
reg = <0x1a>;
PVDD-supply = <&pvdd_reg>;
DVDD-supply = <&dvdd_reg>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)