mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v5 0/3] phy: cix: Add Sky1 DisplayPort PHY
@ 2026-11-16  7:37 Luo Liu
  2026-11-16  7:37 ` [PATCH v5 1/3] dt-bindings: phy: Add CIX Sky1 DP PHY Luo Liu
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Luo Liu @ 2026-11-16  7:37 UTC (permalink / raw)
  To: vkoul, neil.armstrong, mani, robh, krzk+dt, conor+dt, gary.yang,
	fugang.duan, linux-phy, devicetree, linux-arm-kernel
  Cc: cix-kernel-upstream, p.zabel, linux-kernel, Luo.Liu, Wuyi.Shen,
	EastLake.Yang

Add the CIX Sky1 dedicated DisplayPort PHY: the binding, the driver,
and the Sky1 devicetree node.

Changes in v5:

The binding and the devicetree node are unchanged. The driver changes
address review comments:

- Drop .reset. phy_reset() pulses the block reset and does not rerun
  phy_init(), so the CDB and PMA programming stay cleared and a later
  configure or power-on can time out. phy_init() already pulses the
  reset before loading those registers. The DP controller pairs
  phy_init() and phy_exit().

- Rename is_edp to external_dp. The flag selects the higher swing
  table for an external connector. It is not Embedded DisplayPort.

- Call writel() directly. cix_dp_phy_write() only forwarded the write.

- Roll back a PLL enable that fails after the PLL reset is released.
  The original error is returned if the rollback itself fails.

- Drop the powered flag. A failed rate update left the PLL disabled
  while the flag stayed set. Every rate change now disables the PLL,
  programs the new dividers, and enables the PLL again.

Luo Liu (3):
  dt-bindings: phy: Add CIX Sky1 DP PHY
  phy: cix: Add Sky1 DP PHY driver
  arm64: dts: cix: Add Sky1 DP PHY node

 .../bindings/phy/cix,sky1-dp-phy.yaml         |  67 ++
 MAINTAINERS                                   |   8 +
 arch/arm64/boot/dts/cix/sky1-orion-o6.dts     |   4 +
 arch/arm64/boot/dts/cix/sky1.dtsi             |  10 +
 drivers/phy/Kconfig                           |   1 +
 drivers/phy/Makefile                          |   1 +
 drivers/phy/cix/Kconfig                       |  18 +
 drivers/phy/cix/Makefile                      |   2 +
 drivers/phy/cix/phy-cix-dp.c                  | 993 ++++++++++++++++++
 9 files changed, 1104 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/phy/cix,sky1-dp-phy.yaml
 create mode 100644 drivers/phy/cix/Kconfig
 create mode 100644 drivers/phy/cix/Makefile
 create mode 100644 drivers/phy/cix/phy-cix-dp.c


base-commit: 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4
-- 
2.25.1


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

end of thread, other threads:[~2026-11-16  7:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-16  7:37 [PATCH v5 0/3] phy: cix: Add Sky1 DisplayPort PHY Luo Liu
2026-11-16  7:37 ` [PATCH v5 1/3] dt-bindings: phy: Add CIX Sky1 DP PHY Luo Liu
2026-11-16  7:37 ` [PATCH v5 2/3] phy: cix: Add Sky1 DP PHY driver Luo Liu
2026-11-16  7:38 ` [PATCH v5 3/3] arm64: dts: cix: Add Sky1 DP PHY node Luo Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®