On 04/09/2024 00:42, Jérôme de Bretagne wrote: > Add an initial devicetree for the Microsoft Surface Pro 9 5G, based > on SC8280XP. > > It enables the support for Wi-Fi, NVMe, the two USB Type-C ports, > Bluetooth, 5G cellular modem, audio output (via Bluetooth headsets), > external display via DisplayPort over Type-C (only the bottom USB > Type-C port is working so far, corresponding to the usb1 / dp1 nodes), > charging, the Surface Aggregator Module (SAM) to get keyboard and > touchpad working with the Surface Type Cover accessories. > > Some key features not supported yet: > - built-in display (but software fallback is working with efifb > when blacklisting the msm module) > - built-in display touchscreen > - external display with the top USB Type-C port > - speakers and microphones > - physical volume up and down keys > - LID switch detection > > This devicetree is based on the other SC8280XP ones, for the Lenovo > ThinkPad X13s and the Qualcomm CRD. > ... > + > +&swr0 { > + status = "okay"; > +}; > + > +&swr1 { > + status = "okay"; > + > + wcd_rx: wcd9380-rx@0,4 { codec@ > + compatible = "sdw20217010d00"; > + reg = <0 4>; > + qcom,rx-port-mapping = <1 2 3 4 5>; > + }; > +}; > + > +&swr2 { > + status = "okay"; > + > + wcd_tx: wcd9380-tx@0,3 { codec@ Rest looks good, except ordering of nodes/overrides/phandles. They should go alphabetically, AFAIR, so your &tlmm is placed in wrong spot. Best regards, Krzysztof