[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250408-asoc-gpio-v1-0-c0db9d3fd6e9@nxp.com>
Date: Tue, 08 Apr 2025 09:39:56 +0800
From: "Peng Fan (OSS)" <peng.fan@....nxp.com>
To: Shenghao Ding <shenghao-ding@...com>, Kevin Lu <kevin-lu@...com>,
Baojun Xu <baojun.xu@...com>, Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>, Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>, Linus Walleij <linus.walleij@...aro.org>,
Bartosz Golaszewski <brgl@...ev.pl>,
Peter Ujfalusi <peter.ujfalusi@...il.com>,
David Rhodes <david.rhodes@...rus.com>,
Richard Fitzgerald <rf@...nsource.cirrus.com>
Cc: linux-sound@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-gpio@...r.kernel.org, patches@...nsource.cirrus.com,
Peng Fan <peng.fan@....com>, Markus Niebel <Markus.Niebel@...tq-group.com>,
Alexander Stein <alexander.stein@...tq-group.com>,
Tony Lindgren <tony@...mide.com>, Lucas Stach <l.stach@...gutronix.de>
Subject: [PATCH 0/7] ASoC: codec: Convert to GPIO descriptors
of_gpio.h is deprecated, update the driver to use GPIO descriptors.
Mostly about dropping legacy platform data usage, and switching
to use devm_gpiod_get_optional to get GPIO descriptors and use
gpiod_set_value to configure output.
Because of lacking of DTS users, I checked datasheet especially
for CS42Lxx and update code accordingly.
I not have devices to test, so just my best effort to do this work.
For cs42lxx codecs, there is no in-tree users for quite long time,
I was thinking to remove the drivers. But in case people have concern,
so I still do the convertion.
For those that have in-tree uers, I have added Cc in each patch and
appreciate if there is T-b from users.
With this patchset post out for ASoC, the left one under ASoC is
sound/arm/pxa2xx-ac97-lib.c which I have not looked into.
For others, below patches are alreay in maillist for reviewing.
ASoC: codec: sma1307: Remove including of_gpio.h
ASoC: codec: wcd9335: Convert to GPIO descriptors
ASoC: codec: wcd938x: Convert to GPIO descriptors
ASoC: codec: wcd939x: Convert to GPIO descriptors
ASoC: codec: ak5386: Convert to GPIO descriptors
Signed-off-by: Peng Fan <peng.fan@....com>
---
Peng Fan (7):
ASoC: codec: tlv320aic32x4: Drop aic32x4_pdata usage
ASoC: codec: tlv320aic32x4: Convert to GPIO descriptors
ASoC: codec: twl4030: Convert to GPIO descriptors
ASoC: codec: cs42l56: Convert to GPIO descriptors
ASoC: codec: cs42l73: Convert to GPIO descriptors
ASoC: codec: cs42l52: Convert to GPIO descriptors
ASoC: codec: tpa6130a2: Convert to GPIO descriptors
MAINTAINERS | 1 -
include/sound/cs42l52.h | 29 -----------
include/sound/cs42l56.h | 45 ----------------
include/sound/cs42l73.h | 19 -------
include/sound/tlv320aic32x4.h | 9 ----
include/sound/tpa6130a2-plat.h | 17 ------
sound/soc/codecs/cs42l52.c | 108 ++++++++++++++++++++-------------------
sound/soc/codecs/cs42l56.c | 91 +++++++++++++++++++++------------
sound/soc/codecs/cs42l73.c | 81 ++++++++++++++---------------
sound/soc/codecs/tlv320aic32x4.c | 53 +++++++++----------
sound/soc/codecs/tpa6130a2.c | 54 ++++++--------------
sound/soc/codecs/twl4030.c | 76 +++++++++++----------------
12 files changed, 220 insertions(+), 363 deletions(-)
---
base-commit: 2bdde620f7f2bff2ff1cb7dc166859eaa0c78a7c
change-id: 20250408-asoc-gpio-8862a7ae9090
Best regards,
--
Peng Fan <peng.fan@....com>
Powered by blists - more mailing lists