};
tdm: tdm@10090000 {
- compatible = "starfive,sf-tdm";
+ compatible = "starfive,jh7110-tdm";
reg = <0x0 0x10090000 0x0 0x1000>;
reg-names = "tdm";
clocks = <&clkgen JH7110_AHB0>,
};
pdm: pdm@100d0000 {
- compatible = "starfive,sf-pdm";
+ compatible = "starfive,jh7110-pdm";
reg = <0x0 0x100d0000 0x0 0x1000>;
reg-names = "pdm";
clocks = <&clkgen JH7110_PDM_CLK_DMIC>,
};
i2srx_mst: i2srx_mst@100e0000 {
- compatible = "snps,i2srx-master";
+ compatible = "starfive,jh7110-i2srx-master";
reg = <0x0 0x100e0000 0x0 0x1000>;
clocks = <&clkgen JH7110_APB0>,
<&clkgen JH7110_I2SRX0_3CH_CLK_APB>,
}
}
- if (of_device_is_compatible(np, "snps,i2srx-master")) {
+ if (of_device_is_compatible(np, "starfive,jh7110-i2srx-master")) {
/* config i2s data source: PDM */
regmap_update_bits(dev->syscon_base, dev->syscon_offset_34,
AUDIO_SDIN_MUX_MASK, I2SRX_DATA_SRC_PDM);
#ifdef CONFIG_OF
static const struct of_device_id dw_i2s_of_match[] = {
- { .compatible = "snps,i2srx-master", },
+ { .compatible = "starfive,jh7110-i2srx-master", },
{},
};
.probe = dw_i2s_probe,
.remove = dw_i2s_remove,
.driver = {
- .name = "designware-i2srx-master",
+ .name = "i2srx-master",
.of_match_table = of_match_ptr(dw_i2s_of_match),
.pm = &dwc_pm_ops,
},
}
static const struct snd_soc_component_driver sf_pdm_component_drv = {
- .name = "sf-pdm",
+ .name = "jh7110-pdm",
.probe = pdm_probe,
};
}
static const struct of_device_id sf_pdm_of_match[] = {
- {.compatible = "starfive,sf-pdm",},
+ {.compatible = "starfive,jh7110-pdm",},
{}
};
MODULE_DEVICE_TABLE(of, sf_pdm_of_match);
static struct platform_driver sf_pdm_driver = {
-
.driver = {
- .name = "sf-pdm",
+ .name = "jh7110-pdm",
.of_match_table = sf_pdm_of_match,
},
.probe = sf_pdm_probe,
}
static const struct snd_soc_component_driver sf_tdm_component = {
- .name = "sf-tdm",
+ .name = "jh7110-tdm",
.suspend = sf_tdm_suspend,
.resume = sf_tdm_resume,
.trigger = sf_pcm_trigger,
return 0;
}
static const struct of_device_id sf_tdm_of_match[] = {
- {.compatible = "starfive,sf-tdm",},
+ {.compatible = "starfive,jh7110-tdm",},
{}
};
MODULE_DEVICE_TABLE(of, sf_tdm_of_match);
static struct platform_driver sf_tdm_driver = {
-
.driver = {
- .name = "sf-tdm",
+ .name = "jh7110-tdm",
.of_match_table = sf_tdm_of_match,
},
.probe = sf_tdm_probe,