[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250428-csl42x-v2-0-e8056313968f@nxp.com>
Date: Mon, 28 Apr 2025 10:09:01 +0800
From: "Peng Fan (OSS)" <peng.fan@....nxp.com>
To: David Rhodes <david.rhodes@...rus.com>,
Richard Fitzgerald <rf@...nsource.cirrus.com>,
Liam Girdwood <lgirdwood@...il.com>, Mark Brown <broonie@...nel.org>,
Jaroslav Kysela <perex@...ex.cz>, Takashi Iwai <tiwai@...e.com>,
Linus Walleij <linus.walleij@...aro.org>,
Bartosz Golaszewski <brgl@...ev.pl>,
Charles Keepax <ckeepax@...nsource.cirrus.com>
Cc: linux-sound@...r.kernel.org, patches@...nsource.cirrus.com,
linux-kernel@...r.kernel.org, linux-gpio@...r.kernel.org,
Peng Fan <peng.fan@....com>
Subject: [PATCH v2 0/9] ASoC: codec: cs42l[56,73,52]: Convert to GPIO
descriptors
This patchset is separate from [1], and not merging changes in one
patch. So separate changes into three patches for each chip.
- sort headers
- Drop legacy platform support
- Convert to GPIO descriptors
of_gpio.h is deprecated, update the driver to use GPIO descriptors.
- Use devm_gpiod_get_optional to get GPIO descriptor with default
polarity GPIOD_OUT_LOW, set consumer name.
- Use gpiod_set_value_cansleep to configure output value.
I not have platforms to test, just do the patches with my best efforts,
and make build pass.
[1] https://lore.kernel.org/all/20250408-asoc-gpio-v1-0-c0db9d3fd6e9@nxp.com/
Signed-off-by: Peng Fan <peng.fan@....com>
---
Peng Fan (9):
ASoC: codec: cs42l56: Sort headers alphabetically
ASoC: codec: cs42l56: Drop cs42l56.h
ASoC: codec: cs42l56: Convert to GPIO descriptors
ASoC: codec: cs42l73: Sort headers alphabetically
ASoC: codec: cs42l73: Drop cs42l73.h
ASoC: codec: cs42l73: Convert to GPIO descriptors
ASoC: codec: cs42l52: Sort headers alphabetically
ASoC: codec: cs42l52: Drop cs42l52.h
ASoC: codec: cs42l52: Convert to GPIO descriptors
include/sound/cs42l52.h | 29 ------------
include/sound/cs42l56.h | 45 ------------------
include/sound/cs42l73.h | 19 --------
sound/soc/codecs/cs42l52.c | 112 ++++++++++++++++++++++++---------------------
sound/soc/codecs/cs42l56.c | 90 ++++++++++++++++++++++--------------
sound/soc/codecs/cs42l73.c | 70 +++++++++++++---------------
6 files changed, 150 insertions(+), 215 deletions(-)
---
base-commit: bc8aa6cdadcc00862f2b5720e5de2e17f696a081
change-id: 20250427-csl42x-0151784a1230
Best regards,
--
Peng Fan <peng.fan@....com>
Powered by blists - more mailing lists