diff --git a/arch/arm64/boot/dts/apple/t8142-j815.dts b/arch/arm64/boot/dts/apple/t8142-j815.dts index c45d185c87c4..9a265e556786 100644 --- a/arch/arm64/boot/dts/apple/t8142-j815.dts +++ b/arch/arm64/boot/dts/apple/t8142-j815.dts @@ -471,3 +471,18 @@ &jpeg1 { status = "okay"; }; + +/* + * The MagSafe 3 port's PD controller: ADT hpm5 on nub-spmi-a0, SID 8, port-type + * 0x11. It has no USB data path, so it gets no connector node; tipd registers a + * Type-C port and a power supply for it, as on J714s. The bus is polled on + * T8142, so like hpm0 and hpm1 it has no interrupts. Its ADT features-supported + * is <3>, "Power In" only: no liquid detection. + */ +&nub_spmi_a0 { + hpm5: usb-pd@8 { + compatible = "apple,sn201202x"; + reg = <0x8 SPMI_USID>; + apple,no-liquid-detection; + }; +};