Re: [PATCH] ASoC: codecs: wsa884x: allow sharing reset GPIO
From: Mark Brown
Date: Wed Oct 18 2023 - 08:35:53 EST
On Wed, Oct 18, 2023 at 12:00:55PM +0200, Krzysztof Kozlowski wrote:
> On some boards with multiple WSA8840/WSA8845 speakers, the reset
> (shutdown) GPIO is shared between two speakers. Request it as
> GPIOD_FLAGS_BIT_NONEXCLUSIVE to allow such configurations.
> wsa884x->sd_n = devm_gpiod_get_optional(dev, "powerdown",
> - GPIOD_OUT_HIGH);
> + GPIOD_FLAGS_BIT_NONEXCLUSIVE | GPIOD_OUT_HIGH);
How do the speakers coordinate?
Attachment:
signature.asc
Description: PGP signature