From 96bc44641a7f90e19f49bff970f0020342336a5f Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Tue, 1 Dec 2026 10:24:29 -0700 Subject: [PATCH] arm64: dts: apple: t6050-k116s: give the HDMI converter its pcIO outputs Since the K116s includes t6050-k114-usb.dtsi, dcpext0 takes dp2hdmi_pwr_en and hdmi_pwr_en as smc_pcio outputs 0 and 1. The K116s still overrode smc_pcio to its SD reader's power alone, as output 0, so output 0 had two consumers, output 1 did not exist, and the SD reader port failed to probe with -EOPNOTSUPP. That port shares its host with the N1, so the K116s booted with no Wi-Fi. List the two converter outputs first, with the K116sAP ADT's values (the same as the K114's), and move the SD reader's power to output 2. Fixes: 788a709f17de ("arm64: dts: apple: t6050-k116: describe the left-front and right USB4 routers") Signed-off-by: Jens Axboe --- arch/arm64/boot/dts/apple/t6050-k116s.dts | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/apple/t6050-k116s.dts b/arch/arm64/boot/dts/apple/t6050-k116s.dts index 5969945e3600d..0ea181dd08592 100644 --- a/arch/arm64/boot/dts/apple/t6050-k116s.dts +++ b/arch/arm64/boot/dts/apple/t6050-k116s.dts @@ -45,10 +45,10 @@ /* * PCIe port 0 (the N1) and port 1 (the SD card reader) are in t6050-k114-k116.dtsi. - * This board drives one SMC pcIO output (below), so the reader's power is output 0. + * The reader's power is SMC pcIO output 2 (below). */ &port01 { - pwren-gpios = <&smc_pcio 0 GPIO_ACTIVE_HIGH>; + pwren-gpios = <&smc_pcio 2 GPIO_ACTIVE_HIGH>; }; /* @@ -83,14 +83,17 @@ * As on J714s: gp1c. The keyboard alias lets the loader fill the layout from * the ADT. * - * The one SMC pcIO output this board drives, as a pKW8('pcIO', lo, hi) template + * The SMC pcIO outputs this board drives, as pKW8('pcIO', lo, hi) templates * written (hi << 32) | lo with the level in the low bits; this replaces the - * three of t6050-k114-k116.dtsi: - * 0 sd_pwr_en (0x0, 0x190000): ADT pcie-sdreader function-sd_pwr_en (and + * list of t6050-k114-k116.dtsi, without its trackpad AFE reset: + * 0 dp2hdmi_pwr_en (0x0, 0x1a0000) and 1 hdmi_pwr_en (0x800000, 0xf0000): + * the HDMI converter's, as t6050-k114-usb.dtsi expects + * 2 sd_pwr_en (0x0, 0x190000): ADT pcie-sdreader function-sd_pwr_en (and * /pcie-sdreader-helper), the SD reader's power on PCIe port 1 */ &smc_pcio { - apple,output-commands = /bits/ 64 <0x0019000000000000>; + apple,output-commands = /bits/ 64 <0x001a000000000000 0x000f000000800000 + 0x0019000000000000>; }; &mtp_hid {