mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-13 00:03:26 +09:00
![Simon Glass](/assets/img/avatar_default.png)
This chip is used on coral and we need to generate ACPI tables for sound to make it work. Add a driver that does just this (i.e. at present does not actually support playing sound). Signed-off-by: Simon Glass <sjg@chromium.org> [bmeng: Use the correct acpi_irq_polarity enum number] Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
23 lines
674 B
Plaintext
23 lines
674 B
Plaintext
Maxim MAX98357A audio DAC
|
|
|
|
This node models the Maxim MAX98357A DAC.
|
|
|
|
Required properties:
|
|
- compatible : "maxim,max98357a"
|
|
|
|
Optional properties:
|
|
- sdmode-gpios : GPIO specifier for the chip's SD_MODE pin.
|
|
If this option is not specified then driver does not manage
|
|
the pin state (e.g. chip is always on).
|
|
- sdmode-delay : specify delay time for SD_MODE pin.
|
|
If this option is specified, which means it's required i2s clocks
|
|
ready before SD_MODE is unmuted in order to avoid the speaker pop noise.
|
|
It's observed that 5ms is sufficient.
|
|
|
|
Example:
|
|
|
|
max98357a {
|
|
compatible = "maxim,max98357a";
|
|
sdmode-gpios = <&qcom_pinmux 25 0>;
|
|
};
|