linux-phy.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v6 0/2] Add driver support for Eswin EIC7700 SoC SATA PHY
@ 2025-12-01  6:07 Yulin Lu
  2025-12-01  6:10 ` [PATCH v6 1/2] dt-bindings: phy: eswin: Document the " Yulin Lu
  2025-12-01  6:10 ` [PATCH v6 2/2] phy: eswin: Create eswin directory and add EIC7700 SATA PHY driver Yulin Lu
  0 siblings, 2 replies; 4+ messages in thread
From: Yulin Lu @ 2025-12-01  6:07 UTC (permalink / raw)
  To: vkoul, kishon, robh, krzk+dt, conor+dt, linux-phy, devicetree,
	linux-kernel, p.zabel, neil.armstrong
  Cc: ningyu, zhengyu, linmin, huangyifeng, fenglin, lianghujun,
	Yulin Lu

Updates:
  v6 -> v5:
    - eswin,eic7700-ahci.yaml
      - Delete this file and it has already been applied in reply[1].
    - eswin,eic7700-sata-phy.yaml
      - Add clock and reset related properties.
    - phy-eic7700-sata.c
      - Map the io resource with platform_get_resource and devm_ioremap instead of
        devm_platform_ioremap_resource API. Because the address region of sata-phy falls
        into the region of hsp clock&reset which has been got by hsp clock&reset driver.
      - Use regmap_read_poll_timeout in wait_for_phy_ready to replace the while loop check.
      - Use devm_regmap_init_mmio and regmap_write to replace writel.
      - Adapt to the clock and reset driver framework, replacing the original readl and writel.
        Because we are implementing the HSP layer clock and reset drivers, the corresponding
        clock and reset registers can be registered into the driver framework. And I have tested
        on the Sifive HiFive Premier P550 board.
    - Link to v5: https://lore.kernel.org/lkml/20250930083754.15-1-luyulin@eswincomputing.com/

[1] https://lore.kernel.org/lkml/aOUCU28Jjfnk2bYm@ryzen/

Yulin Lu (2):
  dt-bindings: phy: eswin: Document the EIC7700 SoC SATA PHY
  phy: eswin: Create eswin directory and add EIC7700 SATA PHY driver

 .../bindings/phy/eswin,eic7700-sata-phy.yaml  |  58 +++++
 drivers/phy/Kconfig                           |   1 +
 drivers/phy/Makefile                          |   1 +
 drivers/phy/eswin/Kconfig                     |  14 ++
 drivers/phy/eswin/Makefile                    |   2 +
 drivers/phy/eswin/phy-eic7700-sata.c          | 211 ++++++++++++++++++
 6 files changed, 287 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/phy/eswin,eic7700-sata-phy.yaml
 create mode 100644 drivers/phy/eswin/Kconfig
 create mode 100644 drivers/phy/eswin/Makefile
 create mode 100644 drivers/phy/eswin/phy-eic7700-sata.c

-- 
2.25.1


-- 
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-12-01  7:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-01  6:07 [PATCH v6 0/2] Add driver support for Eswin EIC7700 SoC SATA PHY Yulin Lu
2025-12-01  6:10 ` [PATCH v6 1/2] dt-bindings: phy: eswin: Document the " Yulin Lu
2025-12-01  7:18   ` Rob Herring (Arm)
2025-12-01  6:10 ` [PATCH v6 2/2] phy: eswin: Create eswin directory and add EIC7700 SATA PHY driver Yulin Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).