[PATCH 0/4] ASoC: arizona: switch to generic device properties and clean up
From: Dmitry Torokhov
Date: Fri Nov 06 2026 - 00:39:58 EST
This series converts Arizona ASoC drivers to generic device properties
and cleans up dead code and formatting issues:
- Convert audio platform data parsing from OF-only APIs to generic
device property helpers and drop CONFIG_OF guards across the codec
drivers.
- Parse device properties unconditionally in the jack detection and codec
drivers even when platform data is supplied, preserving existing
channel settings and boolean flags when properties are absent.
- Drop unused hpdet_acc_id and hpdet_acc_id_line fields from struct
arizona_pdata along with the unreachable HPDET accessory ID logic in
the jack detection driver.
- Clean up coding style and argument alignment in arizona-jack.c.
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>
---
Dmitry Torokhov (4):
ASoC: arizona: convert audio pdata parsing to generic device properties
ASoC: arizona: always parse device properties regardless of platform data
ASoC: arizona: drop unused HPDET accessory ID support
ASoC: arizona: clean up coding style and formatting
include/linux/mfd/arizona/pdata.h | 21 ++--
sound/soc/codecs/arizona-jack.c | 225 +++++---------------------------------
sound/soc/codecs/arizona.c | 121 ++++++++++----------
sound/soc/codecs/arizona.h | 8 +-
sound/soc/codecs/cs47l24.c | 8 +-
sound/soc/codecs/wm5102.c | 8 +-
sound/soc/codecs/wm5110.c | 8 +-
sound/soc/codecs/wm8997.c | 8 +-
sound/soc/codecs/wm8998.c | 8 +-
9 files changed, 99 insertions(+), 316 deletions(-)
---
base-commit: ddfe51b0a0f5dc9e415cc2c8ad8db17532dd426b
change-id: 20261105-arizona-asoc-ca9bba7a3bb7
Thanks.
--
Dmitry