Modify compatible name to 'starfive,jh7110-pwmdac'.
Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
};
pwmdac: pwmdac@100b0000 {
- compatible = "starfive,pwmdac";
+ compatible = "starfive,jh7110-pwmdac";
reg = <0x0 0x100b0000 0x0 0x1000>;
clocks = <&clkgen JH7110_APB0>,
<&clkgen JH7110_PWMDAC_CLK_APB>,
};
pwmdac_codec: pwmdac-transmitter {
- compatible = "linux,pwmdac-dit";
+ compatible = "starfive,jh7110-pwmdac-dit";
#sound-dai-cells = <0>;
status = "disabled";
};
};
static const struct snd_soc_component_driver sf_pwmdac_component = {
- .name = "sf-pwmdac",
+ .name = "starfive-pwmdac",
.probe = pwmdac_probe,
};
#ifdef CONFIG_OF
static const struct of_device_id sf_pwmdac_of_match[] = {
- { .compatible = "starfive,pwmdac", },
+ { .compatible = "starfive,jh7110-pwmdac", },
{},
};
.probe = sf_pwmdac_probe,
.remove = sf_pwmdac_remove,
.driver = {
- .name = "sf-pwmdac",
+ .name = "starfive-pwmdac",
.of_match_table = of_match_ptr(sf_pwmdac_of_match),
},
};
#ifdef CONFIG_OF
static const struct of_device_id pwmdac_dit_dt_ids[] = {
- { .compatible = "linux,pwmdac-dit", },
+ { .compatible = "starfive,jh7110-pwmdac-dit", },
{ }
};
MODULE_DEVICE_TABLE(of, pwmdac_dit_dt_ids);