]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
net: phy: meson-gxl: enable edpd tunable support for G12A internal PHY
authorHeiner Kallweit <hkallweit1@gmail.com>
Mon, 3 Apr 2023 19:35:46 +0000 (21:35 +0200)
committerJakub Kicinski <kuba@kernel.org>
Wed, 5 Apr 2023 01:56:01 +0000 (18:56 -0700)
Enable EDPD PHY tunable support for the G12A internal PHY, reusing the
recently added tunable support in the smsc driver.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Link: https://lore.kernel.org/r/8d309575-067c-7321-33cf-6ffac11f7c8d@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/meson-gxl.c

index 3dea7c752057cc8c716cf2cc6600121ecf0ca222..bb9b33b6bce24cf8318f7121946a4ecccde28ed0 100644 (file)
@@ -210,6 +210,10 @@ static struct phy_driver meson_gxl_phy[] = {
                .read_status    = lan87xx_read_status,
                .config_intr    = smsc_phy_config_intr,
                .handle_interrupt = smsc_phy_handle_interrupt,
+
+               .get_tunable    = smsc_phy_get_tunable,
+               .set_tunable    = smsc_phy_set_tunable,
+
                .suspend        = genphy_suspend,
                .resume         = genphy_resume,
                .read_mmd       = genphy_read_mmd_unsupported,