Skip to content

Commit 1c8ab3e

Browse files
committed
Merge branch 'bits/170-atcphy' into asahi-wip
2 parents 15241ec + cbdd72f commit 1c8ab3e

11 files changed

Lines changed: 3554 additions & 13 deletions

File tree

drivers/phy/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ config PHY_NXP_PTN3222
9595

9696
source "drivers/phy/allwinner/Kconfig"
9797
source "drivers/phy/amlogic/Kconfig"
98+
source "drivers/phy/apple/Kconfig"
9899
source "drivers/phy/broadcom/Kconfig"
99100
source "drivers/phy/cadence/Kconfig"
100101
source "drivers/phy/freescale/Kconfig"

drivers/phy/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ obj-$(CONFIG_PHY_AIROHA_PCIE) += phy-airoha-pcie.o
1414
obj-$(CONFIG_PHY_NXP_PTN3222) += phy-nxp-ptn3222.o
1515
obj-y += allwinner/ \
1616
amlogic/ \
17+
apple/ \
1718
broadcom/ \
1819
cadence/ \
1920
freescale/ \

drivers/phy/apple/Kconfig

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
2+
config PHY_APPLE_ATC
3+
tristate "Apple Type-C PHY"
4+
depends on ARCH_APPLE || COMPILE_TEST
5+
default ARCH_APPLE
6+
select GENERIC_PHY
7+
depends on USB_SUPPORT
8+
depends on TYPEC
9+
help
10+
Enable this to add support for the Apple Type-C PHY, switch
11+
and mux found in Apple SoCs such as the M1.
12+
This driver currently provides support for USB2 and USB3.
13+
14+
config PHY_APPLE_DPTX
15+
tristate "Apple DPTX PHY"
16+
depends on ARCH_APPLE || COMPILE_TEST
17+
default ARCH_APPLE
18+
select GENERIC_PHY
19+
help
20+
Enable this to add support for the Apple DPTX PHY found on Apple SoCs
21+
such as the M2.
22+
This driver provides support for DisplayPort and is used on the
23+
Mac mini (M2, 2023).

drivers/phy/apple/Makefile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
2+
CFLAGS_trace.o := -I$(src)
3+
4+
obj-$(CONFIG_PHY_APPLE_ATC) += phy-apple-atc.o
5+
phy-apple-atc-y := atc.o
6+
phy-apple-atc-$(CONFIG_TRACING) += trace.o
7+
8+
obj-$(CONFIG_PHY_APPLE_DPTX) += phy-apple-dptx.o
9+
phy-apple-dptx-y += dptx.o

0 commit comments

Comments
 (0)