1. 17 Apr, 2024 1 commit
  2. 13 Apr, 2024 2 commits
    • Niklas Cassel's avatar
      phy: rockchip-snps-pcie3: add support for rockchip,rx-common-refclk-mode · a1fe1eca
      Niklas Cassel authored
      >From the RK3588 Technical Reference Manual, Part1,
      section 6.19 PCIe3PHY_GRF Register Description:
      "rxX_cmn_refclk_mode"
      RX common reference clock mode for lane X. This mode should be enabled
      only when the far-end and near-end devices are running with a common
      reference clock.
      
      The hardware reset value for this field is 0x1 (enabled).
      Note that this register field is only available on RK3588, not on RK3568.
      
      The link training either fails or is highly unstable (link state will jump
      continuously between L0 and recovery) when this mode is enabled while
      using an endpoint running in Separate Reference Clock with No SSC (SRNS)
      mode or Separate Reference Clock with SSC (SRIS) mode.
      (Which is usually the case when using a real SoC as endpoint, e.g. the
      RK3588 PCIe controller can run in both Root Complex and Endpoint mode.)
      
      Add support for the device tree property rockchip,rx-common-refclk-mode,
      such that the PCIe PHY can be used in configurations where the Root
      Complex and Endpoint are not using a common reference clock.
      Signed-off-by: default avatarNiklas Cassel <cassel@kernel.org>
      Link: https://lore.kernel.org/r/20240412125818.17052-3-cassel@kernel.orgSigned-off-by: default avatarVinod Koul <vkoul@kernel.org>
      a1fe1eca
    • Niklas Cassel's avatar
      dt-bindings: phy: rockchip,pcie3-phy: add rockchip,rx-common-refclk-mode · 46492d10
      Niklas Cassel authored
      >From the RK3588 Technical Reference Manual, Part1,
      section 6.19 PCIe3PHY_GRF Register Description:
      "rxX_cmn_refclk_mode"
      RX common reference clock mode for lane X. This mode should be enabled
      only when the far-end and near-end devices are running with a common
      reference clock.
      
      The hardware reset value for this field is 0x1 (enabled).
      Note that this register field is only available on RK3588, not on RK3568.
      
      The link training either fails or is highly unstable (link state will jump
      continuously between L0 and recovery) when this mode is enabled while
      using an endpoint running in Separate Reference Clock with No SSC (SRNS)
      mode or Separate Reference Clock with SSC (SRIS) mode.
      (Which is usually the case when using a real SoC as endpoint, e.g. the
      RK3588 PCIe controller can run in both Root Complex and Endpoint mode.)
      
      Add a rockchip specific property to enable/disable the rxX_cmn_refclk_mode
      per lane. (Since this PHY supports bifurcation.)
      Signed-off-by: default avatarNiklas Cassel <cassel@kernel.org>
      Acked-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
      Reviewed-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
      Link: https://lore.kernel.org/r/20240412125818.17052-2-cassel@kernel.orgSigned-off-by: default avatarVinod Koul <vkoul@kernel.org>
      46492d10
  3. 12 Apr, 2024 7 commits
  4. 07 Apr, 2024 1 commit
  5. 06 Apr, 2024 13 commits
  6. 05 Apr, 2024 9 commits
  7. 29 Mar, 2024 2 commits
  8. 28 Mar, 2024 5 commits