summaryrefslogtreecommitdiff
path: root/drivers/phy/amlogic/phy-meson8b-usb2.c
diff options
context:
space:
mode:
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>2020-05-13 00:24:24 +0200
committerVinod Koul <vkoul@kernel.org>2020-05-15 13:16:55 +0530
commitf004be596c28f90fbcc50e1b0f4b29ebab56bfca (patch)
treeb7e0759a9f21aaea9419e816417ccbfb5b22546c /drivers/phy/amlogic/phy-meson8b-usb2.c
parent7cafc01744067cfaac2d5c0342e6f5deb377100a (diff)
downloadlwn-f004be596c28f90fbcc50e1b0f4b29ebab56bfca.tar.gz
lwn-f004be596c28f90fbcc50e1b0f4b29ebab56bfca.zip
phy: amlogic: meson8b-usb2: Add a compatible string for Meson8m2
The 3.10 vendor kernel sets the ACA_ENABLE bit on Meson8b, Meson8m2 and GXBB, but not on Meson8. Add a compatible string for Meson8m2 which also sets that bit. While here, also update the Kconfig text and MODULE_DESCRIPTION. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Tested-by: Thomas Graichen <thomas.graichen@gmail.com> Link: https://lore.kernel.org/r/20200512222424.549351-7-martin.blumenstingl@googlemail.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/phy/amlogic/phy-meson8b-usb2.c')
-rw-r--r--drivers/phy/amlogic/phy-meson8b-usb2.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/phy/amlogic/phy-meson8b-usb2.c b/drivers/phy/amlogic/phy-meson8b-usb2.c
index 436dfa1a8a04..03c061dd5f0d 100644
--- a/drivers/phy/amlogic/phy-meson8b-usb2.c
+++ b/drivers/phy/amlogic/phy-meson8b-usb2.c
@@ -303,6 +303,10 @@ static const struct of_device_id phy_meson8b_usb2_of_match[] = {
.data = &phy_meson8b_usb2_match_data
},
{
+ .compatible = "amlogic,meson8m2-usb2-phy",
+ .data = &phy_meson8b_usb2_match_data
+ },
+ {
.compatible = "amlogic,meson-gxbb-usb2-phy",
.data = &phy_meson8b_usb2_match_data
},
@@ -320,5 +324,5 @@ static struct platform_driver phy_meson8b_usb2_driver = {
module_platform_driver(phy_meson8b_usb2_driver);
MODULE_AUTHOR("Martin Blumenstingl <martin.blumenstingl@googlemail.com>");
-MODULE_DESCRIPTION("Meson8, Meson8b and GXBB USB2 PHY driver");
+MODULE_DESCRIPTION("Meson8, Meson8b, Meson8m2 and GXBB USB2 PHY driver");
MODULE_LICENSE("GPL");