Skip to content

Commit 2f7f810

Browse files
committed
Merge branch 'bits/170-atcphy' into asahi-wip
2 parents 674149e + b4619d8 commit 2f7f810

File tree

11 files changed

+3654
-0
lines changed

11 files changed

+3654
-0
lines changed

drivers/phy/Kconfig

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

104104
source "drivers/phy/allwinner/Kconfig"
105105
source "drivers/phy/amlogic/Kconfig"
106+
source "drivers/phy/apple/Kconfig"
106107
source "drivers/phy/broadcom/Kconfig"
107108
source "drivers/phy/cadence/Kconfig"
108109
source "drivers/phy/freescale/Kconfig"

drivers/phy/Makefile

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

drivers/phy/apple/Kconfig

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
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+
select GENERIC_PHY
6+
depends on USB_SUPPORT
7+
depends on TYPEC
8+
help
9+
Enable this to add support for the Apple Type-C PHY, switch
10+
and mux found in Apple SoCs such as the M1.
11+
This driver currently provides support for USB2 and USB3.
12+
13+
config PHY_APPLE_DPTX
14+
tristate "Apple DPTX PHY"
15+
depends on ARCH_APPLE || COMPILE_TEST
16+
select GENERIC_PHY
17+
help
18+
Enable this to add support for the Apple DPTX PHY found on Apple SoCs
19+
such as the M2.
20+
This driver provides support for DisplayPort and is used on the
21+
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)