mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] ASoC: codecs: ak4619: Add PDN pin handling
@ 2026-09-28 11:40 Alexander Koch
  2026-09-28 11:40 ` [PATCH 1/2] ASoC: codecs: ak4619: Add optional PDN pin support Alexander Koch
  2026-09-28 11:40 ` [PATCH 2/2] SoC: dt-bindings: asahi-kasei,ak4619: Add PDN GPIO support Alexander Koch
  0 siblings, 2 replies; 8+ messages in thread
From: Alexander Koch @ 2026-09-28 11:40 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Jaroslav Kysela, Takashi Iwai, Kuninori Morimoto,
	Khanh Le
  Cc: linux-sound, devicetree, linux-kernel, Alexander Koch

The AK4619 datasheet describes the functionality of the power down (PDN)
pin as follows:

  The AK4619 should be powered up when the PDN pin = "L". The PDN pin
  should be set "H" after all power supplies have ramped up.
  At that point, the reference voltage generator block (REFBLK) and LDO
  (AVDRV) circuit are powered up and the control registers are
  initialized. Control register settings should be no less than 10ms
  after PDN pin = "H". [1]

The current implementation of the driver does not operate the PDN pin
in any way, it seems to rely on external control of the pin.

Improve this by adding a device tree binding to enable the driver to
set the pin 'high' during probe. Make it optional to keep the behaviour
for existing device trees unchanged.

Tested on an i.MX8MM board with the AK4619 connected to GPIO1 and SSI3.


[1] AK4619 datasheet, section 2 'Power-up/down Sequence', page 39


Alexander Koch (2):
  ASoC: codecs: ak4619: Add optional PDN GPIO support
  SoC: dt-bindings: asahi-kasei,ak4619: Add PDN GPIO support

 .../devicetree/bindings/sound/asahi-kasei,ak4619.yaml     | 8 ++++++++
 sound/soc/codecs/ak4619.c                                 | 7 +++++++
 2 files changed, 15 insertions(+)

-- 
2.55.0


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-09-28 14:02 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-28 11:40 [PATCH 0/2] ASoC: codecs: ak4619: Add PDN pin handling Alexander Koch
2026-09-28 11:40 ` [PATCH 1/2] ASoC: codecs: ak4619: Add optional PDN pin support Alexander Koch
2026-09-28 11:40 ` [PATCH 2/2] SoC: dt-bindings: asahi-kasei,ak4619: Add PDN GPIO support Alexander Koch
2026-09-28 12:58   ` Rob Herring (Arm)
2026-09-28 13:59     ` Alexander Koch
2026-09-28 13:12   ` Rob Herring
2026-09-28 14:01     ` Alexander Koch
2026-09-28 13:12   ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®