diff --git a/drivers/phy/apple/atc-t6050-combo.h b/drivers/phy/apple/atc-t6050-combo.h index ea79f497b979b..7dceb224d2556 100644 --- a/drivers/phy/apple/atc-t6050-combo.h +++ b/drivers/phy/apple/atc-t6050-combo.h @@ -122,12 +122,13 @@ static void combo_pipe_fault(struct t6050_dp *dp, const char *what, int ret) /* * What the combo PHY gained for a deep sleep outside its sleep callbacks (a wrapper domain * still held at a stop is released, a safe state with a domain still held is stopped again, - * the always-on domain's hold over the sleep) is in force on the board it has run on, the - * J714s. On another T6050 board the stop, the safe state and the probe are as before. + * the always-on domain's hold over the sleep) is in force on the boards with a T6050 sleep, + * the J714s and the J716c. On another T6050 board the stop, the safe state and the probe are + * as before. */ static bool combo_sleep_board(void) { - return of_machine_is_compatible("apple,j714s"); + return of_machine_is_compatible("apple,j714s") || of_machine_is_compatible("apple,j716c"); } static bool combo_domains_held(struct t6050_dp *dp) diff --git a/drivers/phy/apple/atc-t6050-dp.c b/drivers/phy/apple/atc-t6050-dp.c index dc6c0776d1faf..d266091a78d0f 100644 --- a/drivers/phy/apple/atc-t6050-dp.c +++ b/drivers/phy/apple/atc-t6050-dp.c @@ -1331,7 +1331,9 @@ int apple_t6050_phy_cio_usb(struct device *dev, enum apple_t6050_cio_usb step) return 0; case APPLE_T6050_CIO_USB_KEEP: dp->cio_usb_kept = dp->cio_usb_parked = false; - if (!of_machine_is_compatible("apple,j714s") || !dp->cio_usb_host || dp->faulted || + if (!(of_machine_is_compatible("apple,j714s") || + of_machine_is_compatible("apple,j716c")) || + !dp->cio_usb_host || dp->faulted || dp->combo_mode != COMBO_CIO || !dp->cio_prepared || !dp->controller_active || !dp->pipe_active || !dp->pipe_tunnel) return -EBUSY;