mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
ASoC: rockchip: i2s-tdm: add compatible for px30
Change-Id: I8c6584fe62eae44197bbd18e86544e278a3b7021 Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
Required properties:
|
||||
|
||||
- compatible: should be one of the following
|
||||
- "rockchip,px30-i2s-tdm": for px30
|
||||
- "rockchip,rk1808-i2s-tdm": for rk1808
|
||||
- "rockchip,rk3308-i2s-tdm": for rk3308
|
||||
- reg: physical base address of the controller and length of memory mapped
|
||||
|
||||
@@ -1028,6 +1028,10 @@ static const struct regmap_config rockchip_i2s_tdm_regmap_config = {
|
||||
.cache_type = REGCACHE_FLAT,
|
||||
};
|
||||
|
||||
static struct rk_i2s_soc_data px30_i2s_soc_data = {
|
||||
.softrst_offset = 0x0300,
|
||||
};
|
||||
|
||||
static struct rk_i2s_soc_data rk1808_i2s_soc_data = {
|
||||
.softrst_offset = 0x0300,
|
||||
};
|
||||
@@ -1037,6 +1041,7 @@ static struct rk_i2s_soc_data rk3308_i2s_soc_data = {
|
||||
};
|
||||
|
||||
static const struct of_device_id rockchip_i2s_tdm_match[] = {
|
||||
{ .compatible = "rockchip,px30-i2s-tdm", .data = &px30_i2s_soc_data },
|
||||
{ .compatible = "rockchip,rk1808-i2s-tdm", .data = &rk1808_i2s_soc_data },
|
||||
{ .compatible = "rockchip,rk3308-i2s-tdm", .data = &rk3308_i2s_soc_data },
|
||||
{},
|
||||
|
||||
Reference in New Issue
Block a user