Skip to content

Commit f004be5

Browse files
xdarklightvinodkoul
authored andcommitted
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>
1 parent 7cafc01 commit f004be5

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

‎drivers/phy/amlogic/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Phy drivers for Amlogic platforms
44
#
55
config PHY_MESON8B_USB2
6-
tristate "Meson8, Meson8b and GXBB USB2 PHY driver"
6+
tristate "Meson8, Meson8b, Meson8m2 and GXBB USB2 PHY driver"
77
default ARCH_MESON
88
depends on OF && (ARCH_MESON || COMPILE_TEST)
99
depends on USB_SUPPORT

‎drivers/phy/amlogic/phy-meson8b-usb2.c‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,10 @@ static const struct of_device_id phy_meson8b_usb2_of_match[] = {
302302
.compatible = "amlogic,meson8b-usb2-phy",
303303
.data = &phy_meson8b_usb2_match_data
304304
},
305+
{
306+
.compatible = "amlogic,meson8m2-usb2-phy",
307+
.data = &phy_meson8b_usb2_match_data
308+
},
305309
{
306310
.compatible = "amlogic,meson-gxbb-usb2-phy",
307311
.data = &phy_meson8b_usb2_match_data
@@ -320,5 +324,5 @@ static struct platform_driver phy_meson8b_usb2_driver = {
320324
module_platform_driver(phy_meson8b_usb2_driver);
321325

322326
MODULE_AUTHOR("Martin Blumenstingl <martin.blumenstingl@googlemail.com>");
323-
MODULE_DESCRIPTION("Meson8, Meson8b and GXBB USB2 PHY driver");
327+
MODULE_DESCRIPTION("Meson8, Meson8b, Meson8m2 and GXBB USB2 PHY driver");
324328
MODULE_LICENSE("GPL");

0 commit comments

Comments
 (0)