diff options
| author | Peng Fan <peng.fan@nxp.com> | 2025-05-06 10:29:38 +0300 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2025-05-06 16:48:17 +0300 |
| commit | 772c036befb875c904731fb309fb9d2e065ba3f8 (patch) | |
| tree | 04c3b171a0a279f03a78daf9671d517352e3723b /include | |
| parent | 2d703321b856acdb6589d74906e19aa5cb328d4e (diff) | |
| download | linux-772c036befb875c904731fb309fb9d2e065ba3f8.tar.xz | |
ASoC: codec: cs42l52: Drop cs42l52.h
There is no in-tree user of "include/sound/cs42l52.h", so move
'struct cs42l52_platform_data ' to cs42l52.c and remove the header file.
And platform data is mostly for legacy platforms that create devices
non using device tree. So drop cs42l52.h to prepare using GPIOD API.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Link: https://patch.msgid.link/20250506-csl42x-v3-8-e9496db544c4@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/sound/cs42l52.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/include/sound/cs42l52.h b/include/sound/cs42l52.h deleted file mode 100644 index c20649666abe..000000000000 --- a/include/sound/cs42l52.h +++ /dev/null @@ -1,29 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * linux/sound/cs42l52.h -- Platform data for CS42L52 - * - * Copyright (c) 2012 Cirrus Logic Inc. - */ - -#ifndef __CS42L52_H -#define __CS42L52_H - -struct cs42l52_platform_data { - - /* MICBIAS Level. Check datasheet Pg48 */ - unsigned int micbias_lvl; - - /* MICA mode selection Differential or Single-ended */ - bool mica_diff_cfg; - - /* MICB mode selection Differential or Single-ended */ - bool micb_diff_cfg; - - /* Charge Pump Freq. Check datasheet Pg73 */ - unsigned int chgfreq; - - /* Reset GPIO */ - unsigned int reset_gpio; -}; - -#endif /* __CS42L52_H */ |
