mbox series

[v3,0/2] Add master clock handling for nau8824

Message ID 20240701211631.92384-1-fido_max@inbox.ru
Headers show
Series Add master clock handling for nau8824 | expand

Message

Maxim Kochetkov July 1, 2024, 9:16 p.m. UTC
nau8824 has external MCLK pin. So add enable/disable external clock
management.

Signed-off-by: Maxim Kochetkov <fido_max@inbox.ru>
---
Changes in v3:
- move bindings before their users
- use devm_clk_get_optional()
- let clock API care about NULL ptr

Changes in v2:
- move the devm_clk_get() to the nau8824_read_device()


Maxim Kochetkov (2):
  ASoC: dt-bindings: nau8824: Add master clock handling
  ASoC: codecs: nau8824: Add master clock handling

 .../bindings/sound/nuvoton,nau8824.yaml       |  8 +++++++
 sound/soc/codecs/nau8824.c                    | 21 +++++++++++++++++--
 sound/soc/codecs/nau8824.h                    |  1 +
 3 files changed, 28 insertions(+), 2 deletions(-)