Re: [PATCH 3/3] arm64: dts: qcom: Add X1E78100 ThinkPad T14s Gen 6

From: Johan Hovold
Date: Mon Jul 22 2024 - 06:09:45 EST


On Fri, Jul 19, 2024 at 10:16:38PM +0200, Konrad Dybcio wrote:

> +/ {
> + model = "Lenovo ThinkPad T14s Gen 6";
> + compatible = "lenovo,thinkpad-t14s", "qcom,x1e78100", "qcom,x1e80100";
> +
> + aliases {
> + serial0 = &uart21;
> + };
> +
> + chosen {
> + stdout-path = "serial0:115200n8";
> + };

I don't think this machine has a serial console.

> +&pcie4 {

Missing perst and wake gpios and pin configuration.

> + status = "okay";
> +};
> +
> +&pcie4_phy {
> + vdda-phy-supply = <&vreg_l3j_0p8>;

This should most likely be vreg_l3i as on the CRD reference design.

> + vdda-pll-supply = <&vreg_l3e_1p2>;
> +
> + status = "okay";
> +};

> + pcie6a_default: pcie2a-default-state {

copy-pasta: pcie6a-default-state

> + clkreq-n-pins {
> + pins = "gpio153";
> + function = "pcie6a_clk";
> + drive-strength = <2>;
> + bias-pull-up;
> + };
> +
> + perst-n-pins {
> + pins = "gpio152";
> + function = "gpio";
> + drive-strength = <2>;
> + bias-pull-down;

bias-disable

> + };
> +
> + wake-n-pins {
> + pins = "gpio154";
> + function = "gpio";
> + drive-strength = <2>;
> + bias-pull-up;
> + };
> + };

> +&uart21 {
> + compatible = "qcom,geni-debug-uart";
> +
> + status = "okay";
> +};

Likely not present / accessible so no need to slow down boot by printing
logs at 115200.

Johan