1. 26 Feb, 2024 5 commits
  2. 25 Feb, 2024 2 commits
    • Michal Vokáč's avatar
      ARM: dts: imx6dl-yapp4: Move the internal switch PHYs under the switch node · 79978bff
      Michal Vokáč authored
      We identified that the PHYs actually do not work since commit 7da7b84f
      ("ARM: dts: imx6dl-yapp4: Move phy reset into switch node") as
      a coincidence of several circumstances.
      
      The reset signal is kept asserted by a pull-down resistor on the board
      unless it is deasserted by GPIO from the SoC. This is to keep the switch
      dead until it is configured properly by the kernel and user space.
      
      Prior to the referenced commit the switch was reset by the FEC driver
      and the reset GPIO was actively deasserted. The mdio-bus was scanned
      and the attached switch and its PHYs were found and configured.
      
      With the referenced commit the switch is reset by the qca8k driver.
      Because of another bug in the qca8k driver, functionality of the reset
      pin depends on its pre-kernel configuration. See commit c44fc98f
      ("net: dsa: qca8k: fix illegal usage of GPIO")
      
      The problem did not appear until we removed support for the switch
      and configuration of its reset pin from the bootloader.
      
      To fix that, properly describe the internal mdio-bus configuration of
      the qca8334 switch. The PHYs are internal to the switch and sit on its
      internal mdio-bus.
      
      Fixes: 7da7b84f ("ARM: dts: imx6dl-yapp4: Move phy reset into switch node")
      Signed-off-by: default avatarMichal Vokáč <michal.vokac@ysoft.com>
      Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
      79978bff
    • Michal Vokáč's avatar
      ARM: dts: imx6dl-yapp4: Fix typo in the QCA switch register address · 023bd910
      Michal Vokáč authored
      This change does not have any functional effect. The switch works just
      fine without this patch as it has full access to all the addresses
      on the bus. This is simply a clean-up to set the node name address
      and reg address to the same value.
      
      Fixes: 15b43e49 ("ARM: dts: imx6dl-yapp4: Use correct pseudo PHY address for the switch")
      Signed-off-by: default avatarMichal Vokáč <michal.vokac@ysoft.com>
      Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
      Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
      023bd910
  3. 23 Feb, 2024 2 commits
  4. 06 Feb, 2024 3 commits
  5. 05 Feb, 2024 5 commits
  6. 03 Feb, 2024 23 commits