mirror of
https://github.com/torvalds/linux.git
synced 2026-12-04 12:24:18 +00:00
Introducing CS42L43B codec, a variant of CS42L43 which can be driven by the same driver. Changes in CS42L43 driver specific for CS42L43B: - Decimator 1 and 2 are dedicated to ADC, can't be selected for PDM - Decimators 3 and 4 are connected to PDM1 - Added Decimator 5 and 6 for PDM2 - Supports SoundWire Clock Gearing - Updated ROM requiring no patching - Reduced RAM space - Each ISRC has 4 decimators now Signed-off-by: Maciej Strozek <[email protected]> Acked-by: Lee Jones <[email protected]> Reviewed-by: Charles Keepax <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
30 lines
782 B
C
30 lines
782 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* CS42L43 core driver internal data
|
|
*
|
|
* Copyright (C) 2022-2023 Cirrus Logic, Inc. and
|
|
* Cirrus Logic International Semiconductor Ltd.
|
|
*/
|
|
|
|
#ifndef CS42L43_CORE_INT_H
|
|
#define CS42L43_CORE_INT_H
|
|
|
|
#define CS42L43_N_DEFAULTS 189
|
|
|
|
struct dev_pm_ops;
|
|
struct device;
|
|
struct reg_default;
|
|
|
|
struct cs42l43;
|
|
|
|
extern const struct dev_pm_ops cs42l43_pm_ops;
|
|
extern const struct reg_default cs42l43_reg_default[CS42L43_N_DEFAULTS];
|
|
|
|
bool cs42l43_readable_register(struct device *dev, unsigned int reg);
|
|
bool cs42l43_precious_register(struct device *dev, unsigned int reg);
|
|
bool cs42l43_volatile_register(struct device *dev, unsigned int reg);
|
|
|
|
int cs42l43_dev_probe(struct cs42l43 *cs42l43);
|
|
|
|
#endif /* CS42L43_CORE_INT_H */
|