From nobody Sat Oct 4 17:30:15 2025 Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 830E4307491 for ; Thu, 14 Aug 2025 13:30:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755178251; cv=none; b=K3KWIlnjQ2BQqdGmIHF+DJiAXxGbKXDZnnQF5vZCcCwsO3WCRc6G6d0q02B3hQTPGiEpEJKvH7ozbJt2NKUQteXDren9e4B9ih65rb66/CT7tV+ubc56mSYtauEchqfJZHzlJe/o1gqbUGo2CIa+U9rjkpGq3Gu0zcZFKcMKZ7o= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755178251; c=relaxed/simple; bh=JD7Iz56B1NuasqCqHygE01CXivCqvfulWdkwr+dDppI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Fme602Li4K8DFAOSGq2ODCpJWHdxCNXJzqHHJ/tsYY+y/Oyl5HLblXNSi1uE7bn+Ry4xoRYlZFuUKUx8xAn6iimr+cW8j3p4J5WlIwu2J7zFDCITpq4MAylTatgqx+ElTpz+uXjqZbvD523xEsc+7F2AU723rEwUyBe5o5VeaQg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=Tiv6WCNN; arc=none smtp.client-ip=209.85.221.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Tiv6WCNN" Received: by mail-wr1-f54.google.com with SMTP id ffacd0b85a97d-3b9e4193083so797500f8f.3 for ; Thu, 14 Aug 2025 06:30:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1755178248; x=1755783048; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=Ma2FaZO4q4SUf0neaLVzF3UOz/5ZhDRuzt2WBS2VTCU=; b=Tiv6WCNN/8bB0eoiTaUwpHYkFtfS7fs8ThmtdygBgMcYKA755QKepWLF9N1Gs5QJuH uUZ2AB/MvCteyYFKgqWtGEay95MlhlUs4pSawYFROvBLKYeSVkCxcKfeZBFfvoFMdls3 dtw9auVmNntllno4EBpNsbILixblVdZy/muzPmNl+tP9R3Qgk+qWYBjfb+py+SSrq0M6 uVcR9Fiub3av+zumZxpnPU8kDSsvkvW4MpRVF5oHIgXbwLBJ1WoWV/8FFJkfMV7qvy05 jjJAlmyQUfBh6038gqg94z6gU4mnYfEuS8qFIW7b5djbyJPjh8Q6nuwSgMNERv7AGnEW zLQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1755178248; x=1755783048; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Ma2FaZO4q4SUf0neaLVzF3UOz/5ZhDRuzt2WBS2VTCU=; b=OK58dkfG5hf+DhpyvbkugW0sbJAZHQ4sopTpvSI99Vxfqzf0D3ONcQkqaTFrv9yC5Q nxwWGv2mFYBvbHGBZbYAxWZwnogxgkWEPY060xPWbKRjYMZ4nmlCh+Tra9tgdk/3vaK/ wfPRTf33Wl6BMXRbkjknSE6cgL1DE/vq6rBGBgP776m9mhtZ7uiLDNuReKETkyrFaWdV N9/nuQA0+oeDYT/tAYmWYv+HdEQT7oJYfl71i4EG48f8ld/T1vUuETWkRM9tz0BzoHdS QOI+PYhPqgFYBxSzO5T7q6pxXcEXzLrBHLQjNIK2IiwLVR9rIQmnkBqLC9CLMYsisL3U nJRg== X-Forwarded-Encrypted: i=1; AJvYcCUV/swiWYh8HP2iAiXgD38PlS33EguXVQaCYZJ5B8frtye+9+8JY76kX1dmqtDzeTbOLrcTzmNSAfFO5ag=@vger.kernel.org X-Gm-Message-State: AOJu0YzX6EIUViI/sjVG5APj8oeq9Q0rk3EKLvq1l5HK8yBMxRRfcSVa rRie9eNcMWWWRGjeke0ZYjbPiw6RBh7MrS0CbLZ5VHfSZ6c0It4diZpaP48sw2ttOeUeicON3yI bi2ti X-Gm-Gg: ASbGncv8VJH0ZtkICslCxYspN79xk8Bds9O64RygjFDd5k6AM1taYl1P/f4mnmlBexG HXGf6hr85kOo2jFysxZps3LmMKGC7REx9lTkaVnUoxcNPTM3m7dO4i45MEsWoFsCp2DyGpHzrGg vaT0+XrwkRxzyGgeuO04rJu4HkD/avIuU8mDLz9pA4LVamdbWq+s5fwUXDD4DxriXcCSVznGOZN RYgwCwzAEJDPUANVWHUnRsu72Ut0OGhi9mh2TvCgN/ZaX4ZmzYXbAwWOluLemt7Kw/Rzk5IS8nU VNbo+XauPKVDtLfx+93rc1ppz2gz3bR5RIW+zZr56nKVVWz520S1gZW6xzuWsm7V73Vmmm0PnDz ja8TqwfwtRrPqZvKyCRgD1NgrAFcweyMsOnbU X-Google-Smtp-Source: AGHT+IF3TLFfaVAD4ujisRsyv+NGcTZTPBV+2G6MawMPLF0SodbaBG4IlZiHYCWx1+FV3Ud7Gb9UPA== X-Received: by 2002:a05:6000:2010:b0:3b8:d14b:8f86 with SMTP id ffacd0b85a97d-3b9edf4458fmr2741632f8f.45.1755178247795; Thu, 14 Aug 2025 06:30:47 -0700 (PDT) Received: from [127.0.0.2] ([2a02:2454:ff21:ef41:9c1:e029:fc81:a800]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-45a1c6bc85csm21468385e9.5.2025.08.14.06.30.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Aug 2025 06:30:47 -0700 (PDT) From: Stephan Gerhold Date: Thu, 14 Aug 2025 15:30:34 +0200 Subject: [PATCH 7/9] arm64: dts: qcom: x1e80100-lenovo-yoga-slim7x: Add missing pinctrl for eDP HPD Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250814-x1e80100-add-edp-hpd-v1-7-a52804db53f6@linaro.org> References: <20250814-x1e80100-add-edp-hpd-v1-0-a52804db53f6@linaro.org> In-Reply-To: <20250814-x1e80100-add-edp-hpd-v1-0-a52804db53f6@linaro.org> To: Bjorn Andersson , Konrad Dybcio Cc: Aleksandrs Vinarskis , Abel Vesa , Xilin Wu , Jens Glathe , Srinivas Kandagatla , Sibi Sankar , Rajendra Nayak , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold , Christopher Obbard X-Mailer: b4 0.14.2 At the moment, we indirectly rely on the boot firmware to set up the pinctrl for the eDP HPD line coming from the internal display. If the boot firmware does not configure the display (e.g. because a different display is selected for output in the UEFI settings), then the display fails to come up and there are several errors in the kernel log: [drm:dpu_encoder_phys_vid_wait_for_commit_done:544] [dpu error]vblank time= out: 80020041 [drm:dpu_kms_wait_for_commit_done:524] [dpu error]wait for commit done ret= urned -110 [drm:dpu_encoder_frame_done_timeout:2715] [dpu error]enc40 frame done time= out ... Fix this by adding the missing pinctrl for gpio119 (func1/edp0_hot and bias-disable according to the ACPI DSDT). Fixes: 45247fe17db2 ("arm64: dts: qcom: x1e80100: add Lenovo Thinkpad Yoga = slim 7x devicetree") Signed-off-by: Stephan Gerhold --- arch/arm64/boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts b/arc= h/arm64/boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts index 71becfc5e6f649299b05b0b93cf74b81dea9fa57..2d9e78d515a1246ed46f00d5575= e4b83bae1ef8f 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts +++ b/arch/arm64/boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts @@ -1086,6 +1086,9 @@ &mdss_dp2_out { &mdss_dp3 { /delete-property/ #sound-dai-cells; =20 + pinctrl-0 =3D <&edp_hpd_default>; + pinctrl-names =3D "default"; + status =3D "okay"; =20 aux-bus { @@ -1345,6 +1348,12 @@ &tlmm { <44 4>, /* SPI (TPM) */ <238 1>; /* UFS Reset */ =20 + edp_hpd_default: edp-hpd-default-state { + pins =3D "gpio119"; + function =3D "edp0_hot"; + bias-disable; + }; + edp_reg_en: edp-reg-en-state { pins =3D "gpio70"; function =3D "gpio"; --=20 2.50.1