Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introducing stm32 MDIO driver #71012

Merged
merged 6 commits into from
May 7, 2024

Commits on May 2, 2024

  1. drivers: mdio: add stm32 mdio support

    MDIO is part of the ETH IP, but some phy chip may need a
    specific phy driver to set up certain vendor registers enabling
    particular features.
    
    Add support for stm32 mdio access.
    
    Signed-off-by: Angelo Dureghello <adureghello@baylibre.com>
    spectrum70 committed May 2, 2024
    Configuration menu
    Copy the full SHA
    1d4d6bb View commit details
    Browse the repository at this point in the history
  2. dts: arm: st: add mdio node for h5 and h7

    Add mdio node for h5 and h7 series.
    
    Since MDIO registers are part of the same ETH hw IP, keeping mdio
    node just as a child of mac/eth, cannot see as appropriate to assign
    an adddress to it.
    
    Signed-off-by: Angelo Dureghello <adureghello@baylibre.com>
    spectrum70 committed May 2, 2024
    Configuration menu
    Copy the full SHA
    a4983fe View commit details
    Browse the repository at this point in the history
  3. boards: st: add mdio and phy nodes

    Add mdio and phy nodes for h5/h7 families.
    
    Signed-off-by: Angelo Dureghello <adureghello@baylibre.com>
    spectrum70 committed May 2, 2024
    Configuration menu
    Copy the full SHA
    ab29ee5 View commit details
    Browse the repository at this point in the history
  4. soc: st: set soc-level phy priority

    Introducing MDIO and PHY support for stm32, phy driver gets
    error (-116) if it tries to read phy chip id, since MDIO IP is
    part of ETH IP, and eth hw module is still not initialized.
    
    Forcing a priority that allows possibly connected PHY chip to be
    detected properly at initial boot.
    
    Signed-off-by: Angelo Dureghello <adureghello@baylibre.com>
    spectrum70 committed May 2, 2024
    Configuration menu
    Copy the full SHA
    be0c456 View commit details
    Browse the repository at this point in the history
  5. drivers: eth: eth_stm32: use phy api support for h5/h7

    Use PHY apis to access the PHY, to avoid any kind of collisions
    with other tasks using the PHY apis.
    
    Signed-off-by: Angelo Dureghello <adureghello@baylibre.com>
    spectrum70 committed May 2, 2024
    Configuration menu
    Copy the full SHA
    a96518d View commit details
    Browse the repository at this point in the history
  6. drivers: eth: phy: adin2111: add support for adin1100 phy

    Add support for similar adin1100 phy, boath are 10Base-T1L,
    only difference is that adin1100 connects through r/mii.
    
    Signed-off-by: Angelo Dureghello <angelo@kernel-space.org>
    spectrum70 committed May 2, 2024
    Configuration menu
    Copy the full SHA
    047024c View commit details
    Browse the repository at this point in the history