summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/rt5682-sdw.h
blob: 76e6f607066e7d4ed9268145c23a82a4d9a79cc5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* 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__ */