mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 06:25:52 +02:00
ASoC: rockchip: i2s-tdm: add compatible for rk1808
Change-Id: I0996c320b12b8eb29f88cc5b8fe96d64db55fac6 Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
This commit is contained in:
parent
3c736a8a3c
commit
1d62242355
|
|
@ -3,6 +3,7 @@
|
|||
Required properties:
|
||||
|
||||
- compatible: should be one of the following
|
||||
- "rockchip,rk1808-i2s-tdm": for rk1808
|
||||
- "rockchip,rk3308-i2s-tdm": for rk3308
|
||||
- reg: physical base address of the controller and length of memory mapped
|
||||
region.
|
||||
|
|
|
|||
|
|
@ -1028,11 +1028,16 @@ static const struct regmap_config rockchip_i2s_tdm_regmap_config = {
|
|||
.cache_type = REGCACHE_FLAT,
|
||||
};
|
||||
|
||||
static struct rk_i2s_soc_data rk1808_i2s_soc_data = {
|
||||
.softrst_offset = 0x0300,
|
||||
};
|
||||
|
||||
static struct rk_i2s_soc_data rk3308_i2s_soc_data = {
|
||||
.softrst_offset = 0x0400,
|
||||
};
|
||||
|
||||
static const struct of_device_id rockchip_i2s_tdm_match[] = {
|
||||
{ .compatible = "rockchip,rk1808-i2s-tdm", .data = &rk1808_i2s_soc_data },
|
||||
{ .compatible = "rockchip,rk3308-i2s-tdm", .data = &rk3308_i2s_soc_data },
|
||||
{},
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user