lkml.org 
[lkml]   [2023]   [Oct]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] ASoC: codecs: wsa884x: allow sharing reset GPIO
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?
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2023-10-18 14:36    [W:0.156 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site