linux-phy.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Apple Silicon Type-C PHY
@ 2025-10-26 13:52 Sven Peter
  2025-10-26 13:52 ` [PATCH 1/3] soc: apple: Add hardware tunable support Sven Peter
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Sven Peter @ 2025-10-26 13:52 UTC (permalink / raw)
  To: Janne Grunau, Neal Gompa, Vinod Koul, Kishon Vijay Abraham I,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley, Philipp Zabel
  Cc: asahi, linux-arm-kernel, linux-phy, devicetree, linux-kernel,
	Sven Peter, Alyssa Rosenzweig, Hector Martin

Hi,

As requested in the previous version of the Apple Silicon USB3 support
series this one only contains the changes required for the Type-C PHY.

The generic tunable support inside driver/soc/apple will also be re-used
for Thunderbolt later. I may submit a RFC for that this cycle but I
don't expect that to land before the next one so it should be fine to
just take that commit through the phy tree as well.

Changes since v2 of the combined series:
- Link to v2: https://lore.kernel.org/asahi/20250906-atcphy-6-17-v2-0-52c348623ef6@kernel.org/
- atc.c:
  - Removed a bunch of outdated safety checks from atc.c that were only
    required in a previous version that did not rely on the dwc3-glue
    driver
  - Addressed Philipp's review comments:
    - Added documentation for struct apple_atcphy (and a bunch of other
      things while I was at it)
    - Moved the mutex guard from atcphy_dpphy_configure to atcphy_dp_configure
      since the first one doesn't touch any shared structures or MMIO
- apple,atcphy.yaml:
  - Added a generic apple,tunable definition that uses uint32-matrix
    and refer to that one from the individual tunable properties
  - Adjust the tunable description to make it easier to understand
  - Limited all lines to 80 chars
  - Used > for longer descriptions
  - Fixed some typos
- Picked up r-b tags (thanks!)

Best,

Sven

Signed-off-by: Sven Peter <sven@kernel.org>
---
Sven Peter (3):
      soc: apple: Add hardware tunable support
      dt-bindings: phy: Add Apple Type-C PHY
      phy: apple: Add Apple Type-C PHY

 .../devicetree/bindings/phy/apple,atcphy.yaml      |  222 ++
 MAINTAINERS                                        |    2 +
 drivers/phy/Kconfig                                |    1 +
 drivers/phy/Makefile                               |    1 +
 drivers/phy/apple/Kconfig                          |   14 +
 drivers/phy/apple/Makefile                         |    4 +
 drivers/phy/apple/atc.c                            | 2279 ++++++++++++++++++++
 drivers/soc/apple/Kconfig                          |    4 +
 drivers/soc/apple/Makefile                         |    3 +
 drivers/soc/apple/tunable.c                        |   71 +
 include/linux/soc/apple/tunable.h                  |   60 +
 11 files changed, 2661 insertions(+)
---
base-commit: 3a8660878839faadb4f1a6dd72c3179c1df56787
change-id: 20251013-b4-atcphy-d6a7c939d417

Best regards,
-- 
Sven Peter <sven@kernel.org>



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

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

end of thread, other threads:[~2025-11-02 13:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-26 13:52 [PATCH 0/3] Apple Silicon Type-C PHY Sven Peter
2025-10-26 13:52 ` [PATCH 1/3] soc: apple: Add hardware tunable support Sven Peter
2025-10-29 19:21   ` Janne Grunau
2025-11-02 13:09     ` Sven Peter
2025-10-26 13:52 ` [PATCH 2/3] dt-bindings: phy: Add Apple Type-C PHY Sven Peter
2025-10-27 19:32   ` Rob Herring (Arm)
2025-10-26 13:52 ` [PATCH 3/3] phy: apple: " Sven Peter

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).