mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/4] ASoC: cs35l45: Adds support for brownout prevention engines
@ 2026-11-09 17:57 Ricardo Rivera-Matos via B4 Relay
  2026-11-09 17:57 ` [PATCH 1/4] ASoC: dt-bindings: cs35l45: Adds ABPE properties Ricardo Rivera-Matos via B4 Relay
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Ricardo Rivera-Matos via B4 Relay @ 2026-11-09 17:57 UTC (permalink / raw)
  To: David Rhodes, Richard Fitzgerald, Liam Girdwood, Mark Brown,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley, Jaroslav Kysela,
	Takashi Iwai
  Cc: linux-sound, patches, devicetree, linux-kernel, Ricardo Rivera-Matos

The CS35L45 amplifier has two independent brownout prevention engines
used to prevent system brownout events induced by transient audio peaks.

The amplifier brownount prevention engine (ABPE) monitors the battery
voltage and applies attenuation to audio output in terms of either
decibles, voltage, or wattage. The ABPE response is configured across
four thresholds with four corresponding attenuation values. The attack,
hold, and release parameters of the associated limiter are also
configurable.

The boost converter brownout prevention engine (BBPE) monitors the
battery voltage and the current passing through the inductor in the
boost converter circuit and applies current limit to the boost
converter. The BBPE can be configured to monitor either both the battery
voltage and inductor current or only the battery voltage. When operating
in the combined response mode, the more conservative limitis applied.
The thresholds for the voltage response are configurable across four
levels and the thresholds for the inductor current response are
configurable across three levels. The BBPE's attack, hold, and release
parameters are configurable for both of the response limiters. 

Signed-off-by: Ricardo Rivera-Matos <rriveram@opensource.cirrus.com>
---
Ricardo Rivera-Matos (4):
      ASoC: dt-bindings: cs35l45: Adds ABPE properties
      ASoC: cs35l45: Adds support for ABPE feature
      ASoC: dt-bindings: cs35l45: Adds Boost BPE properties
      ASoC: cs35l45: Adds Boost BPE configuration

 .../devicetree/bindings/sound/cirrus,cs35l45.yaml  | 415 ++++++++++++++
 include/dt-bindings/sound/cs35l45.h                |  45 ++
 sound/soc/codecs/cs35l45-tables.c                  |  95 ++++
 sound/soc/codecs/cs35l45.c                         | 601 +++++++++++++++++++++
 sound/soc/codecs/cs35l45.h                         | 193 +++++++
 5 files changed, 1349 insertions(+)
---
base-commit: cde5523c75f1320a55ac1d55a717ccbb566557f0
change-id: 20261102-cs35l45-bpe-340780e966df

Best regards,
-- 
Ricardo Rivera-Matos <rriveram@opensource.cirrus.com>



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

end of thread, other threads:[~2026-11-09 17:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-09 17:57 [PATCH 0/4] ASoC: cs35l45: Adds support for brownout prevention engines Ricardo Rivera-Matos via B4 Relay
2026-11-09 17:57 ` [PATCH 1/4] ASoC: dt-bindings: cs35l45: Adds ABPE properties Ricardo Rivera-Matos via B4 Relay
2026-11-09 17:57 ` [PATCH 2/4] ASoC: cs35l45: Adds support for ABPE feature Ricardo Rivera-Matos via B4 Relay
2026-11-09 17:57 ` [PATCH 3/4] ASoC: dt-bindings: cs35l45: Adds Boost BPE properties Ricardo Rivera-Matos via B4 Relay
2026-11-09 17:57 ` [PATCH 4/4] ASoC: cs35l45: Adds Boost BPE configuration Ricardo Rivera-Matos via B4 Relay

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®