mirror-linux/sound/soc/sdca
Niranjan H Y ba2a0e81d4
ASoC: SDCA: Export Q7.8 volume control helpers
Export the Q7.8 volume control helpers to allow reuse
by other ASoC drivers. These functions handle 16-bit
signed Q7.8 fixed-point format values for volume controls.

Changes include:
- Rename q78_get_volsw to sdca_asoc_q78_get_volsw
- Rename q78_put_volsw to sdca_asoc_q78_put_volsw
- Add a convenience macro SDCA_SINGLE_Q78_TLV and
  SDCA_DOUBLE_Q78_TLV for creating mixer controls

This allows other ASoC drivers to easily implement controls
using the Q7.8 fixed-point format without duplicating code.

Signed-off-by: Niranjan H Y <niranjan.hy@ti.com>
Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://patch.msgid.link/20260401132148.2367-1-niranjan.hy@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2026-04-03 15:12:38 +01:00
..
Kconfig ASoC: sdca: Fix missing regmap dependencies in Kconfig 2026-01-29 14:16:59 +00:00
Makefile ASoC: SDCA: Factor out jack handling into new c file 2025-12-22 09:00:56 +00:00
sdca_asoc.c ASoC: SDCA: Export Q7.8 volume control helpers 2026-04-03 15:12:38 +01:00
sdca_class.c ASoC: SDCA: Add support for the Cirrus Logic cs42l49 2026-03-16 01:09:01 +00:00
sdca_class.h ASoC: SDCA: Add lock to serialise the Function initialisation 2026-01-14 13:35:54 +00:00
sdca_class_function.c ASoC: SDCA: Add RJ support to class driver 2026-04-03 15:11:10 +01:00
sdca_device.c ASoC: SDCA: Add SDCA FDL data parsing 2025-10-27 15:31:23 +00:00
sdca_fdl.c ASoC: SDCA: Add default value for mipi-sdca-function-reset-max-delay 2026-02-26 19:16:45 +00:00
sdca_function_device.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
sdca_function_device.h ASoC: SDCA: add function devices 2025-11-20 17:22:59 +00:00
sdca_functions.c ASoC: Merge up fixes 2026-03-30 17:59:52 +01:00
sdca_hid.c ASoC: SDCA: Remove duplicated module macros 2025-11-20 17:22:49 +00:00
sdca_interrupts.c ASoC: SDCA: Fix comments for sdca_irq_request() 2026-02-26 17:57:37 +01:00
sdca_jack.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
sdca_regmap.c ASoC: SDCA: Add regmap defaults for specification defined values 2026-02-04 14:10:50 +00:00
sdca_ump.c ASoC: SDCA: Replace use of system_wq with system_dfl_wq 2026-01-06 13:27:55 +00:00