Re: [PATCH] arm64: dts: qcom: x1e78100-t14s: enable SDX62 modem

From: Dmitry Baryshkov
Date: Thu Mar 27 2025 - 10:05:10 EST


On Thu, Mar 27, 2025 at 09:14:27AM +0100, Johan Hovold wrote:
> Enable PCIe5 and the SDX62 modem present on some T14s.
>
> Signed-off-by: Johan Hovold <johan+linaro@xxxxxxxxxx>
> ---
>
> I don't have a modem in my T14s, but this is based on the work I did to
> enable the modem on the CRD reference design and the T14s schematics.
>
> I'm hopping Dennis will be able to help out with testing.
>
> Note that we may possibly need a new entry for SDX62 in the MHI driver
> device id table (mhi_pci_id_table) as well. The output of 'lspci -n'
> will tell.
>
> Johan
>
>
> .../qcom/x1e78100-lenovo-thinkpad-t14s.dtsi | 65 +++++++++++++++++++
> 1 file changed, 65 insertions(+)
>

> @@ -1028,6 +1044,25 @@ &pcie4_phy {
> status = "okay";
> };
>
> +&pcie5 {
> + perst-gpios = <&tlmm 149 GPIO_ACTIVE_LOW>;
> + wake-gpios = <&tlmm 151 GPIO_ACTIVE_LOW>;
> +
> + vddpe-3v3-supply = <&vreg_wwan>;

As we now have a proper PCIe slot power controls, is anything preventing
us from using it for the modem?

> +
> + pinctrl-0 = <&pcie5_default>;
> + pinctrl-names = "default";
> +
> + status = "okay";
> +};
> +
--
With best wishes
Dmitry