linux/include/dt-bindings/sound/cs48l32.h
Richard Fitzgerald ac03495d73
ASoC: dt-bindings: Add Cirrus Logic CS48L32 audio DSP
The CS48L32 is an Audio DSP with microphone inputs and SPI
control interface. It has a programmable DSP and a variety of
power-efficient fixed-function audio processors, with configurable
digital mixing and routing.

Most properties are core properties: supply regulators, gpios, clocks,
interrupt parent and SPI interface. The custom properties define
the configuration of the microphone inputs to match what is physically
attached to them.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Reviewed-by: "Rob Herring (Arm)" <robh@kernel.org>
Link: https://patch.msgid.link/20250415115016.505777-2-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2025-04-15 13:58:42 +01:00

20 lines
514 B
C

/* SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause */
/*
* Device Tree defines for CS48L32 DSP.
*
* Copyright (C) 2016-2018, 2022, 2025 Cirrus Logic, Inc. and
* Cirrus Logic International Semiconductor Ltd.
*/
#ifndef DT_BINDINGS_SOUND_CS48L32_H
#define DT_BINDINGS_SOUND_CS48L32_H
/* Values for cirrus,in-type */
#define CS48L32_IN_TYPE_DIFF 0
#define CS48L32_IN_TYPE_SE 1
/* Values for cirrus,pdm-sup */
#define CS48L32_PDM_SUP_VOUT_MIC 0
#define CS48L32_PDM_SUP_MICBIAS1 1
#endif