15 Oct
2021
15 Oct
'21
4:30 p.m.
On Fri, Oct 15, 2021 at 02:36:09PM +0100, Richard Fitzgerald wrote:
The hard RESET must be used to correctly power-up the cs42l42, as described in the datasheet.
The code was getting the GPIO with devm_gpiod_get_optional(). Change this to devm_gpiod_get().
Does that power sequencing have to be done by the CPU though? Usually if a GPIO is not supplied it's because the sequencing is done during the general power up sequence (PMICs can be programmed to assert GPIOs as part of the their sequencing for example).