alistair23-linux/sound/soc/codecs/rt5682-sdw.h
Oder Chiou 03f6fc6de9
ASoC: rt5682: Add the soundwire support
This patch adds the soundwire support for ALC5682.

Signed-off-by: Oder Chiou <oder_chiou@realtek.com>
Link: https://lore.kernel.org/r/20200219102858.20166-1-oder_chiou@realtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2020-02-26 18:14:14 +00:00

21 lines
491 B
C

/* SPDX-License-Identifier: GPL-2.0-only
*
* rt5682-sdw.h -- RT5682 SDW ALSA SoC audio driver
*
* Copyright 2019 Realtek Semiconductor Corp.
* Author: Oder Chiou <oder_chiou@realtek.com>
*/
#ifndef __RT5682_SDW_H__
#define __RT5682_SDW_H__
#define RT5682_SDW_ADDR_L 0x3000
#define RT5682_SDW_ADDR_H 0x3001
#define RT5682_SDW_DATA_L 0x3004
#define RT5682_SDW_DATA_H 0x3005
#define RT5682_SDW_CMD 0x3008
#define RT5682_PROBE_TIMEOUT 2000
#endif /* __RT5682_SDW_H__ */