From nobody Fri Oct 3 23:02:07 2025 Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) (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 66E6C2EF667 for ; Fri, 22 Aug 2025 09:29:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755854948; cv=none; b=LHvwgKwdCDGscoPPvVO6TmJXX1pwrx15nfkbZur2xNpplr6SQGUlBv6UOplAQ0cDZ9YpzxYx4Bgc2joRTnhWePEXdqz9Ha7vCm40n17DyBjTTBRjSR26mRZ60K5cx1kpZgzv6hxx7xt1TQ81m+YkIdur2O9ljQn+ga+WyodMAOc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755854948; c=relaxed/simple; bh=vBMNvMwlW7o6o1xWYoJMdECi7yJZhAi5LiYcGyrWEuM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=QJx5XGORCXgx9wvjkx4GZEwlZhCTejCZ7QzGD0AnNajBfqQi/6EkHG27p84x7Z4C0GN+WGRvipMglDpnkfYNar63prUnWiN+CEdilzdCfMOI5ON1ONPTZ19PUg2A9Wgzrd9MtXcxZQLN8VOBU8FGlSONH8fSgfoq+yv/WDdEPkA= 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=H/JnkB0G; arc=none smtp.client-ip=209.85.128.43 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="H/JnkB0G" Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-45b49f7aaf5so11577225e9.2 for ; Fri, 22 Aug 2025 02:29:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1755854945; x=1756459745; 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=DhkWbjoA7TQSL+zMe08xDLYt0I1Xn87bnNUqz6iscfw=; b=H/JnkB0GGHord41cjygWW2Y0MGaWUyXT814aDH7P/e81/E+/pbhACdkkKAsTTRYQ/G efFA9Z2jcA1aNEHsY4j1HagiQwK4AmA90VFN/3LRURYRefpMKCpusKpuaZQ8g9TGlCEF Qz0Qt6JmkgIB0YAxQ6vivlnOnXC62UOuk3UXVYefAmFtW0jHWfAMK9Hl+zLllwZMH7Mm lCOj1zxEtumbpBAyCvGR1fmRGllqKcaBXauK+evpUcCE3eIGgxFv+OcfqecQ00T24mi3 8kpQpk3kIJCuST7fdL2w48elsx4BkFZhNkbBgzALHlRrvmKZClBX4XQ/FILF6E9GUY7G pm7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1755854945; x=1756459745; 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=DhkWbjoA7TQSL+zMe08xDLYt0I1Xn87bnNUqz6iscfw=; b=NK7SUfYO7NLCFAYi0v4mf+rXdIsvB3QaHAbW8vKbL1wdsvk2iZWOzq+0OI9cJgk64X f9xkE0zziTm6agqUZPwcxqs6kUzJ/E4yrNrhTSYDh0ySkdhRYicrPXT3cpX30c9GJYa8 gZJw7bJz8e7WZE4Z5UhdZsEgZ8DMhwEPIxfEJ9tURzYeMnA3a+dm+UdNoPgO4t/3wCc6 Vk9locw4hOrdMjphlColShLsYSTaxMQ3C06EOx6hlQCl60eEij6t2IIZFNsZ8Db4Etqg 379MG++dKI0DklX2FXLCJcAm5LSLTigX6xWUKqLkJuVGkoGwrANOmlYVHlNU+TgX/vmb 5Z8w== X-Forwarded-Encrypted: i=1; AJvYcCWdrUuW0ORkFhsZMPdqZU8xDiLGhUREyh4wEXFJakRlLEfjESFjRcAW7cBmUw3027jJCTFg9EV9OoWxLXA=@vger.kernel.org X-Gm-Message-State: AOJu0Ywvh2pt8tQcwthT/2TrhPi8n36XOqCkynKpQbSsmfbPqiSRcfnT Na88g6JVrE0TC/Ufpxyxqz44xU8JIqDDZecvip4xooVEe8fc0sDT25hmuUrKwDppBpg= X-Gm-Gg: ASbGncsXetYyisfrSY/w/MPzunvBx4eWmtiqieFXi/OyWFXJH3nXvrzQNc4NTRRs3VE IynAW7wfFsNU64NNbfvyTX8XBlkCWFScuD+eoBZz7pi/w3ZUsoZFzvpJNdL0vNAZv7W+suZQFaY sRtrS/eZlI9RloVDFYjYfovI8xvoZc3BMmhZyKoY/fcAaHMiUxlnVLyu6AyJJlQs1pbFs+hNphi vRJAMtW5YNTK3g5h8HajRFrvEJJL9jJRlzsIycGG8QnXLMzJ6rutQfamuIlpxjEke92Y7eFS61x 6AV7NbyIMd1rE7l81Y+Zuuh4eGu+5MLpYmYQyF7DDEucE7eCOnF0Q68kUBcsI36fOZslhop4yQF G+7OiiRI6SGrLyeh9DJBHdIJnu4Z3fIb1IkSwYg== X-Google-Smtp-Source: AGHT+IE6Rfg8U+FIj6zpFxhGKTsfkPpD/3AuuxhXFzsGfi41Oqhra93t2reI6lzi/1xZXfxdbdZ24Q== X-Received: by 2002:a05:600c:350c:b0:45b:47e1:ef7a with SMTP id 5b1f17b1804b1-45b517ddc35mr16587355e9.37.1755854944641; Fri, 22 Aug 2025 02:29:04 -0700 (PDT) Received: from [127.0.0.2] ([2a02:2454:ff21:ef41:c671:531c:f2ff:2a7a]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-45b4e269d20sm33831805e9.2.2025.08.22.02.29.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Aug 2025 02:29:04 -0700 (PDT) From: Stephan Gerhold Date: Fri, 22 Aug 2025 11:28:52 +0200 Subject: [PATCH v2 01/10] arm64: dts: qcom: x1e80100: Add pinctrl template for eDP0 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: <20250822-x1e80100-add-edp-hpd-v2-1-6310176239a6@linaro.org> References: <20250822-x1e80100-add-edp-hpd-v2-0-6310176239a6@linaro.org> In-Reply-To: <20250822-x1e80100-add-edp-hpd-v2-0-6310176239a6@linaro.org> To: Bjorn Andersson , Konrad Dybcio Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , 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 , Dmitry Baryshkov 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 ... Add a new &edp0_hpd_default pinctrl template that can be used by boards to set up the eDP HPD pin correctly. All boards upstream so far need the same configuration; if a board needs a different configuration it can just avoid using this template and define a custom one in the board DT. Signed-off-by: Stephan Gerhold Reviewed-by: Dmitry Baryshkov Reviewed-by: Neil Armstrong --- arch/arm64/boot/dts/qcom/x1e80100.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/x1e80100.dtsi b/arch/arm64/boot/dts/q= com/x1e80100.dtsi index f293b13ecc0ce426661187ac793f147d12434fcb..32fa9fa6fb946c4933f74fd0ee8= 20ecb9284901e 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100.dtsi +++ b/arch/arm64/boot/dts/qcom/x1e80100.dtsi @@ -5808,6 +5808,12 @@ tlmm: pinctrl@f100000 { gpio-ranges =3D <&tlmm 0 0 239>; wakeup-parent =3D <&pdc>; =20 + edp0_hpd_default: edp0-hpd-default-state { + pins =3D "gpio119"; + function =3D "edp0_hot"; + bias-disable; + }; + qup_i2c0_data_clk: qup-i2c0-data-clk-state { /* SDA, SCL */ pins =3D "gpio0", "gpio1"; --=20 2.50.1 From nobody Fri Oct 3 23:02:07 2025 Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) (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 5BDDB2F6165 for ; Fri, 22 Aug 2025 09:29:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755854951; cv=none; b=mD4/DNTEoy8iy5AP00xB0oyFq+u43RsFmr0JTOOLRr5tudsvXHGx/NNreLQcHzGZeXnT88+YZ8NAeLBPw8kxDN30ne2rlEVwklnnhQUXPNgjGCR6ZDys5seV2g0bE0P3WbzbmnLmWauXNK0ilZF8wVmWyQVwi2Z3nXS5H+aykoY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755854951; c=relaxed/simple; bh=KTn6vbVqVwIQjrGCMmz+yYtiW5sU/DuQSWNcqBhTWPE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=InamYCfl4DjlrrLcv61MfivWNiuc1Ph1Dzaneq87JOiMUpOmqG5NWTB/7KByEayXCIP/8AkFyXwCHKkkxoAxGWwPz+lGNwYXMiV/tpzktsYf+5JpoHtbE2yJaybTX90WFhjSjRT3cQxxssvKnzcpP0GmuDZYoCzQngRm3sLgVU0= 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=l6auaDi5; arc=none smtp.client-ip=209.85.128.51 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="l6auaDi5" Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-45a1b00a65fso9400295e9.0 for ; Fri, 22 Aug 2025 02:29:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1755854946; x=1756459746; 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=aDaAQdKRC/QElueN4SD7JG4KlVvvsfus2+KgJMaOEsc=; b=l6auaDi5nddH2EuqyF82mmFIVySgpZe2UE5KlkPqyg7g5jvTmNgndA5/GwaO0SEj64 Us1HGdohgB/lXqHZh7LWXmmnHHnwtx11rxW5FIbwf1IHwR7YScuVeU4HF9WRfPB1eujM khTmWxVGDWLXoKqdSrBNK8SaxflDtGyiHf/wognqH5v58e2hycPD8y/PiIWDMO+bXPxI 7kewh8/zENf4ytekwWLdmLL7M111BnPVZyiI9vjhrS5mbvXx9W+NeIoIWWZszF2IKHIs 1P8iF9qYrp+kk6jXXMFpn9/xUjvEZk210GB7amFib9JGUsvv1w4QJyICbNO8UflI2Yu0 o0nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1755854946; x=1756459746; 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=aDaAQdKRC/QElueN4SD7JG4KlVvvsfus2+KgJMaOEsc=; b=a/QRNySW6tf9f1bWh6wMHj0AUB578VwBxDjTgvgaL7kEa9undg20Ob3z99+efrIx3p i/jC5nK6K7g30YNxN3bgdl1Aknn5lQBzhK5duoUxrxT2httqm12p7rGPaevA8bCpb277 6eUv1CLLQgsK8K5GbEZtIBKZ6IKZlFyVc/w0k+YVFHbkbOBilAM6vMzTAMoJfKONnK4L jnKQ0GOcYdXO3Eob4FBoFJ0l9wkssiQzNb/uby1i6NGN5NfBMVTlJRsFL7UFaMtIrHLc Kk4GdduzIKgxtDlfvrdrI57PuOfxpY7nVHoP5IkOhm4Feq4dTILF6j5PR0HxHjULJBkt W+VA== X-Forwarded-Encrypted: i=1; AJvYcCWGDzWn1sFXXpIiqUUDEotwP65tvVn/H5cspi7soBoF9sUWoDTRaZWYFy5vJr5vM8DrCrUXJJdvH/CdGbI=@vger.kernel.org X-Gm-Message-State: AOJu0YygJ7GBLrOwhlfK9tn6Sn9/p1xbHqrdZh+Q0KxOrIF5LnEs3v+h 6cFn/8nUzQzdlr6/TibiW2J6FoHrb2qguDydxsyw4CTgm19qJye4MUPKp/a0jQdrdwg= X-Gm-Gg: ASbGncubC93GeqqgMKACqlIvQ/hvY3HHJ3vp2OM99+zQMZ0JHBUAVbwj0LwV9HZ9Z+/ 1i9PBQm41YcxbHhqWV+MENxHj4ptlsQAFORdqs6puWf/k1UfqoyUpWPhATGFhb5SimmvZzZTCFp eEynfnuK0CkT9otrrzUOJDerrxde5GRb6IbMXgQHb/F8ArBSMC6MuEAKB9Pee1tUI1SmcFb71uT imNlmw/u2rZSgYfBATLYWbd3HPhFJ2wAffgVIFCtZDCrGFnHSdamK1k4M37sjybJgTNTWSqv3xm bmF7b9OoGiIju8ALhGOhxDN9yHu/DwDUFO4zML1U4cHlR96kwFIj4M/Zsjc2qG5hClAOPxpYn5n uYod/Od2FstSjXF3/5WpB5m31B6pwJMGpF88ojA== X-Google-Smtp-Source: AGHT+IE98olllF50n/P1P+GEkLwCm1VNHU4/tQIHf/qa8FuDV/x8gbbK0X0a5GOq+jeMBdChlo6QLg== X-Received: by 2002:a05:600c:3f18:b0:456:161c:3d77 with SMTP id 5b1f17b1804b1-45b54c306c8mr13475315e9.16.1755854945709; Fri, 22 Aug 2025 02:29:05 -0700 (PDT) Received: from [127.0.0.2] ([2a02:2454:ff21:ef41:c671:531c:f2ff:2a7a]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-45b4e269d20sm33831805e9.2.2025.08.22.02.29.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Aug 2025 02:29:05 -0700 (PDT) From: Stephan Gerhold Date: Fri, 22 Aug 2025 11:28:53 +0200 Subject: [PATCH v2 02/10] arm64: dts: qcom: x1-asus-zenbook-a14: 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: <20250822-x1e80100-add-edp-hpd-v2-2-6310176239a6@linaro.org> References: <20250822-x1e80100-add-edp-hpd-v2-0-6310176239a6@linaro.org> In-Reply-To: <20250822-x1e80100-add-edp-hpd-v2-0-6310176239a6@linaro.org> To: Bjorn Andersson , Konrad Dybcio Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , 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 , Dmitry Baryshkov 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), which is defined as &edp0_hpd_default template in x1e80100.dtsi. Fixes: 6516961352a1 ("arm64: dts: qcom: Add support for X1-based Asus Zenbo= ok A14") Tested-by: Aleksandrs Vinarskis # FHD OLED Reviewed-by: Aleksandrs Vinarskis Signed-off-by: Stephan Gerhold Reviewed-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/x1-asus-zenbook-a14.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/x1-asus-zenbook-a14.dtsi b/arch/arm64= /boot/dts/qcom/x1-asus-zenbook-a14.dtsi index 16d045cf64c08c02c420787e000f4f45cfc2c6ff..76948160634fe8b3cd20aa02d6e= dd53b37be0689 100644 --- a/arch/arm64/boot/dts/qcom/x1-asus-zenbook-a14.dtsi +++ b/arch/arm64/boot/dts/qcom/x1-asus-zenbook-a14.dtsi @@ -1001,6 +1001,9 @@ &mdss_dp1_out { &mdss_dp3 { /delete-property/ #sound-dai-cells; =20 + pinctrl-0 =3D <&edp0_hpd_default>; + pinctrl-names =3D "default"; + status =3D "okay"; =20 aux-bus { --=20 2.50.1 From nobody Fri Oct 3 23:02:07 2025 Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) (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 BBEBC2F617F for ; Fri, 22 Aug 2025 09:29:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755854950; cv=none; b=edefIlqpKpwOv03wWR5fzktbwq3nU8Ol0NvzBAwoxw2ZB48U1nwNzyRnyQ8EgBsw1iXhLhNDErc+73MlhNdqWnW/QrdfZsp7wcPxB4fT1lbGhaQP7a0UC/WiILkCD9aDLBLPjKUEGeh6V90+eVWWFaAWbHnoxJLBBp8dqphfyvM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755854950; c=relaxed/simple; bh=Ly9UoXSrOGG1KoFqn9vvbnaBI7RpPhWYJpNHpG+PnO4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=qowlzAFO5q5sqUJCtNju9X+s8NKdbMrvqBkgeQMPn7PJ85fdt6BxvTwb1AWQdYo+xUW7Xh7qd9GiDJ9Sg8qtOjNFJ6g9XHEeoy25EMavyslG/C6v5zJpNqP9v4zA5pM5QsVGZcuX75yLBpvQklk/chGMTNWho0qNPtQOYOW7uw4= 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=VwzY+nW0; arc=none smtp.client-ip=209.85.221.49 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="VwzY+nW0" Received: by mail-wr1-f49.google.com with SMTP id ffacd0b85a97d-3b9d41c1964so822191f8f.0 for ; Fri, 22 Aug 2025 02:29:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1755854947; x=1756459747; 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=L/WN40SXjtEd16jYCivbzAZ3BY0qBWRGncWwFkmVx2k=; b=VwzY+nW0NuOvyOoesWpcwsAF/GCOxFXsm4EozYeJaQr5CKhKySX8Q+stOTKH8YBPnl UQaHtcimIqt9QJqRdje3xLSQe7Y6kBNoJuWkWfG81hCg0rUxr17Hql4ya52Q4Ijz8K2G 9yADvc8NhxJUSMMK0MbkiI0RC+sv4cXrx1c9sIq3++iNYWs7PZR88cdFUz7UxqamsD7R XcMszxWMbiKJIBVbT9FPF4tLgBxuopM+LD2XfIW3+xNnLW+HVSlCN/cOXrQgo1cikt0H J+I1E0qfBoFDjZ7MKfJF3VAR0y5onnfewjxhojYONI1vBWBCuqVtZnGsHaxyBfmWE4O0 PGUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1755854947; x=1756459747; 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=L/WN40SXjtEd16jYCivbzAZ3BY0qBWRGncWwFkmVx2k=; b=aX5kgk4/aA1UWvNbJl6/ve3YRnyaD9sW663/gU3tl+Eu4BGU7D1iNqx8+Tp0SfSEXu OK6SrYT7VJ6Cr7AbXwma9lRooYTWZAjgw7WOGxgyruuvRF/ssZlvMkeWKmaZnEzs8cX2 r8RBxSLCVzXJCG/YSQtxDiui+jBxBU/2XuOq5yYE2cdNgoUA0Q44EEBaJWzNNBkC1zwl 9k79ZPftCyC6siZTIgeFO9Kr0inde5MumKUODyQStXTw3y5YiY3MPsEC2BzU+Nc/1gVO HHtCLbZii6hfgA5iM3C30H8+4My0iJI1sv5L/99kjZFThINSmLRo2DkNfoCDtDrvqB5C TP3g== X-Forwarded-Encrypted: i=1; AJvYcCX4kRYKc41p0XHQd3EY0QmnUTHiPnDZeNcY58mg/OrMqAkfX50I/c03aBe1DrogzvxH0MvrBbNKXHzhYkg=@vger.kernel.org X-Gm-Message-State: AOJu0YxFTk+VHcJsb9OZe+G0PSa3xsPBUTyNV2Ele4rFMING76TrAWhS QybZOc1SYhg0KMF+Id+VB2a8WrFyGQYWnhCQ1AqAs1elwfB8YS+JQpTzzRKUpIXRFuA= X-Gm-Gg: ASbGncspSnb68mSID9xs5P4RNWO4QFWrui188N+D5jZH4htLkLkI3Aq/bM7Si190xCP zEkhMCVt3EBCivr/GiK/Mx51xM5lRidA/f8FlWur1JmP3TCJ2FghB33C++Z5bp5eAi4jl0CDnX1 yuz2UPaNgFaLJYaw38R8OiGY+L6EvYVLVVJmt/57slWyO1uOVmSOQa8GlupEdG86OntlHYvHHkz QuWkXHT4SzUs95f3MHBH6iOxpapuHCsF9ZbaWnaoeK34I++vTFQ0IIhiVARSwBlHsFPH+UuvIUS iz8RYz5jKdMmNBtRkdEy8TMS2WF18dpDJHY+qziYjMl3BHg+QuKcRsP41UFZnqmO6L6USgt2I6s eSJ7DZmlnl19LURAb59sG+gMOhTjsvw7VQt8SKSFzXQxC7iCK X-Google-Smtp-Source: AGHT+IGN3cWxuLg43OVYr+zai71i1zlWCdwIKsQtxCW5KJ5cNuy+7e2wDbiVDh3q55ETL0kXICd13w== X-Received: by 2002:a05:6000:200b:b0:3b9:1444:98b9 with SMTP id ffacd0b85a97d-3c5daefe1a2mr1676047f8f.20.1755854946788; Fri, 22 Aug 2025 02:29:06 -0700 (PDT) Received: from [127.0.0.2] ([2a02:2454:ff21:ef41:c671:531c:f2ff:2a7a]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-45b4e269d20sm33831805e9.2.2025.08.22.02.29.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Aug 2025 02:29:06 -0700 (PDT) From: Stephan Gerhold Date: Fri, 22 Aug 2025 11:28:54 +0200 Subject: [PATCH v2 03/10] arm64: dts: qcom: x1-crd: 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: <20250822-x1e80100-add-edp-hpd-v2-3-6310176239a6@linaro.org> References: <20250822-x1e80100-add-edp-hpd-v2-0-6310176239a6@linaro.org> In-Reply-To: <20250822-x1e80100-add-edp-hpd-v2-0-6310176239a6@linaro.org> To: Bjorn Andersson , Konrad Dybcio Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , 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 , Dmitry Baryshkov 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), which is defined as &edp0_hpd_default template in x1e80100.dtsi. Fixes: d7e03cce0400 ("arm64: dts: qcom: x1e80100-crd: Enable more support") Signed-off-by: Stephan Gerhold Reviewed-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/x1-crd.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/x1-crd.dtsi b/arch/arm64/boot/dts/qco= m/x1-crd.dtsi index e3d2fc342bd184473b37882f3bc4f9c4d23135bd..92fbb03291975f60f41f4ebfc25= 05bdc9879a5cf 100644 --- a/arch/arm64/boot/dts/qcom/x1-crd.dtsi +++ b/arch/arm64/boot/dts/qcom/x1-crd.dtsi @@ -1174,6 +1174,9 @@ &mdss_dp2_out { &mdss_dp3 { /delete-property/ #sound-dai-cells; =20 + pinctrl-0 =3D <&edp0_hpd_default>; + pinctrl-names =3D "default"; + status =3D "okay"; =20 aux-bus { --=20 2.50.1 From nobody Fri Oct 3 23:02:07 2025 Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) (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 A86752F618B for ; Fri, 22 Aug 2025 09:29:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755854951; cv=none; b=fJGJYRLDQHb8nbLrLgf9j1c83vARE52iGuJcOB8v3TYzziMeOgqxRApXqgyMAWmo5uqvlCZUjc0udq6K5vUopYi9qYAAV//oBSbYma3SxFj4obNBRQhb64+3UaVreHHiHTThljpIx5nTjt962iyCuuE26MsJhV4WMXENbgL+580= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755854951; c=relaxed/simple; bh=FvPs3wBirH9wf6cIhRfzmRxFdkB6syQv2ofYw7Gsrt8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=XVsnI3qySWBs8JMPJIxHpapFbyIVIRxXsEXjv5WKT0BWAFzO9qRsVtGU6vvDwRjwW5s3T+ECYZzJN0MEDe68nQHNwt2n4+GpgyfYsCyk9KS2wtf9jIzOU9Cn/wkTCGPW99OMpCM88ALDTsDALu/SyDt6TwFq9dTaCcf1oEonSsI= 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=CRXox0Za; arc=none smtp.client-ip=209.85.128.47 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="CRXox0Za" Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-45b49f7aaf5so11577535e9.2 for ; Fri, 22 Aug 2025 02:29:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1755854948; x=1756459748; 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=xZMxXQw8/LMF8pMRBn7r6Jgqr/TVT4ig4WiXL2+/Rbk=; b=CRXox0ZaTJ3b1+2NaCHIpkfyBg7O8Ke/lhPDcQQf9OtpYWrwwV/npFj77a8tt30vDQ vQiMzB5HyYvhtHSRE0aqC2XZd0ELSNoL8U8i1Nv9Ln9wiK1/23XQYDaNItQ4dH02XfRQ v5Pq3g32Pp7b+FivnNctHwCHe/vvE4CeVBa5UURGmFUUQGDZnY8hk/aOGH4WlIss/rLO GDbD7uzJZD3oQa3KVSicadfNhD27WIQccwsKB6BFzvwb3omzQRXD6Mr+FJofUCIDC304 2/fAhnvzeFvltm4WwkJeBDygBkH93CPm+2BlJR2eBGL90iyOv5lfmmrxLOGCf6uZ8sKV RC4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1755854948; x=1756459748; 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=xZMxXQw8/LMF8pMRBn7r6Jgqr/TVT4ig4WiXL2+/Rbk=; b=H6aAbNdkQWTQ0LQc+QP4Lb3OT3r5cvezu5GG2r2jyEJXiR/bQM9IntnH3Yrabxo71B 8XitstPzRJ2eDzrIiYQVc3D0HrL2Q/nOAbrQwoxgHTj+2HNqHQkplrjW641wd29JxLMz NQbr/OKCayYLcZOqVO6W3Grx6Q4vdnZrPsku+24nfxhmg7BN+TI+TflFMM5mj7Q/bbVI 4jTYNPiWscECs6AnBKEuM9oE6uA1jV3Dpf5mBTlNP8UVWoTM5i3CYbiKJfyvEearlfKg O9JqHdJCzXLNpEcIumg5GxJ09BSlnEwzQGjhzhLF8tR2JmsKi7x0M1oLQbIji0FtkWvy Io0A== X-Forwarded-Encrypted: i=1; AJvYcCUwEWLNIJqYbvQj/RtsneE1nDDmC8p8HUHfKAnYEaEjD0VnZRFZCgPZJnMZW0vY53cEwhiQGJFRQztZ/6Y=@vger.kernel.org X-Gm-Message-State: AOJu0YwzAfJ2tkwE6UXxOpd77287FUUpdgl5f1lfsOXSZBSrbUzQ8u93 Norocn55XECFHdVMABQMZr4b2/4CPXaolLgSq0pRljKgrKavdRp4i49KqV+ova2h6rI= X-Gm-Gg: ASbGncu6/U28nkSjqEvK8AeyyC/M/OBuqpZqlJLpS0RaeJ6WgiBJaNrM0Swa5iM6Wvw L3aCic4ns4EXmjYDSEmFx/Vk8OqSOeZTlKJcnb6GNb3spPHaOb3cZ61YyEjPiPJjbzg8Gq8dTe7 owBNA3DvgckUtIFpeUr1jglRkfLmPoHn1Ce/9g3Y7SFa/CFl45wpYGxuku0oydE9ggktfnXjVy+ 83RNB2VsWnpAy72UbBGibeowXnhOt6TUxSCe2uzUmXEePxwUZfCGiwwFrRsrK1aDdvdY5GKEXLm rNCc8TtogmueFGW+WUA+PErZ1IJfVMSzELF3mm2yGXKNoFSCP/Tjj1d6xSR7nKK3NeLNMEYmIWQ vLKzC6j7QFLkNfxRAw+N8jmjwbWTeWBboKQrYEQ== X-Google-Smtp-Source: AGHT+IFJ9FWfvS1AnYycVX7DAKqsbG4Q/IzzJ8xRcOcq/trFxgqfeNBZXVo51B4Eh2DsKIVTjFJTYg== X-Received: by 2002:a05:6000:18a3:b0:3b8:f887:c870 with SMTP id ffacd0b85a97d-3c5daf01e82mr1443738f8f.19.1755854947871; Fri, 22 Aug 2025 02:29:07 -0700 (PDT) Received: from [127.0.0.2] ([2a02:2454:ff21:ef41:c671:531c:f2ff:2a7a]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-45b4e269d20sm33831805e9.2.2025.08.22.02.29.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Aug 2025 02:29:07 -0700 (PDT) From: Stephan Gerhold Date: Fri, 22 Aug 2025 11:28:55 +0200 Subject: [PATCH v2 04/10] arm64: dts: qcom: x1e78100-lenovo-thinkpad-t14s: 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: <20250822-x1e80100-add-edp-hpd-v2-4-6310176239a6@linaro.org> References: <20250822-x1e80100-add-edp-hpd-v2-0-6310176239a6@linaro.org> In-Reply-To: <20250822-x1e80100-add-edp-hpd-v2-0-6310176239a6@linaro.org> To: Bjorn Andersson , Konrad Dybcio Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , 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 , Dmitry Baryshkov , 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), which is defined as &edp0_hpd_default template in x1e80100.dtsi. Fixes: 7d1cbe2f4985 ("arm64: dts: qcom: Add X1E78100 ThinkPad T14s Gen 6") Tested-by: Christopher Obbard Reviewed-by: Christopher Obbard Signed-off-by: Stephan Gerhold Reviewed-by: Dmitry Baryshkov Reviewed-by: Neil Armstrong Tested-by: Neil Armstrong # on Lenovo Thinkpad = T14s OLED --- arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi b/= arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi index 4cf61c2a34e31233b1adc93332bcabef22de3f86..76d491f085db2eb6ba8c8358063= 882611446ae72 100644 --- a/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi +++ b/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi @@ -1010,6 +1010,9 @@ &mdss_dp1_out { &mdss_dp3 { /delete-property/ #sound-dai-cells; =20 + pinctrl-0 =3D <&edp0_hpd_default>; + pinctrl-names =3D "default"; + status =3D "okay"; =20 aux-bus { --=20 2.50.1 From nobody Fri Oct 3 23:02:07 2025 Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) (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 A55DF2EFD9C for ; Fri, 22 Aug 2025 09:29:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755854952; cv=none; b=hGgw1gmEsrues5McWOfhsSzZFb+zizG+eYtezWZ62b9FmQYMGq7V23Uk2olFyKPKZEpHipCs6o0leL8iUniDbUKI2eAUyeTAxdwAsg3KdmZfqTEWRTXVQaPzy/Dc91g4yZ0yOpmsn5dwsTQjqbxLGW1wC5szp6OT3tytm43htAY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755854952; c=relaxed/simple; bh=OV9NBEGNmZ2rTXWu+yVDHywWCMLATKrBxMJPKNHdUCk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=UnvyH01igvlBGAsGJQNmwQZ1yrbuGyOJkf18Mi2GL2pxNDCp2kvf+ZUkjdsI0rgV/VGm4GYPE0DKvwd40Z0D4WBuwc/AQ3sqOOLz5eY1W1lfW7VixC5fB9l/8xKY5kg5nsbiX+OjluYdQHFfDenC3MIgG4LVcO16G0pjTCXEPYg= 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=r84JfSyT; arc=none smtp.client-ip=209.85.128.44 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="r84JfSyT" Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-45a1b066b5eso10026805e9.1 for ; Fri, 22 Aug 2025 02:29:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1755854949; x=1756459749; 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=9XDvtosqXE1z2B0OghG2EJFFbUf7Y1I7x1P5I2TiCM4=; b=r84JfSyTRiBJoBe4Q+d3trl10l49CRVVnmmnwU4WxGhiNdFoJactGuK5ERrfe1XoEh RDpf4GOkYQ9B2KT7pQR/JhV+cCDh1kems6z9EkNcjLlPDI4jg9vNPAOphBFdo6hhpCtu dlQWl8+LpG/fL8L29f/Vxb+GfooUvLlBmy4HQU6YepoX1ib3MToqNB+K5thdJNN06q0B OSIIcC9vGXO6mbfhQZ5lzYuhH3fdKHnk/co/ozT+yRyvygsCFrY7fAMgYZIVumvA0YeS 31sG9w2uZVZFWbLZWiZwURU9fR6VqKVa4KbquIRQe/TEoKQP1MDIO175OPHmUBIXDcsl dpFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1755854949; x=1756459749; 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=9XDvtosqXE1z2B0OghG2EJFFbUf7Y1I7x1P5I2TiCM4=; b=szBOwvqIKPpQ9y3YGZU+mUBeCFYWiRaPD5xBoGOhfz08c2T1KxriFTRNZxILVBkuWo lS9YZ9ei/Cz+MSw19bge58bAGENk0UbVOTwkv98bl4Fn4tnRc9Ddx7yb1yuavfnicVQW zdckmNGi3/HHK2UIVS1uGS8DQYASw9yhm5n0x5omFHB4hhT57GhgmeBJK6YkkdHY2l6T QTvj0grH3LWRf6Z1kpQFSy5j6sBFtLvc9rUlasfZjGqW6hlrYHFGQjIONV4yuS5VAdGD PJSHeGhLXSf461RRw8LSmR/q6SNVKYZFO33Nd/p7OuA1RxEXx3nyh1HoHh5/ct4RwjV2 urtg== X-Forwarded-Encrypted: i=1; AJvYcCWk2WW9nuM4NQVGFjTKnFLiypMCHjCc85rJOFqVWKhrrUQrD0bZb2BbWfWAPOQPcM8PjaxFcV81AxYHk4A=@vger.kernel.org X-Gm-Message-State: AOJu0Ywo56KAnQHq03K/xuYcxdnbbVaN1EVt9bNkKGX1ZclSdpFZIxiJ LutMsjsNrRYWridqJnZoVv/h/A13EeR9HvM/3tq4zD7QGIPvY6B7CifQoL/vgBPP0y4= X-Gm-Gg: ASbGncuhdza+Wv9HAeAwDrKo0MLceNbmWFXTDwuKBJAO71pAQLB4VjbZ6k+tvzrkWSB TOgKaRX3cckJNWTbruveGD+P1B7kq/YneaI6CPjGBCWnFKog4PfzWZczLM5kRwhFMASlLUTnack YzVKPzVZdjMMsX574JuGVtN4XUBJE9lYEY/NA+2qMWuzNWqreSv/MwTc7kbKBz4uPt3SvVycnBk ZvnBm6SOpjp5ePy+q04PFRYvEsSUPMTNdIK8q2sHU3WbAugPSn5H+ah3cJlL3VpSNY9puNNTSCd 8MbePjRz1Rklfu3f8B4jJiSI1HFb3j71MnE+V2+EQhPvWeNcnQtykwQeIj1S0T3i5s4Ia0cDMFC 9ko38iI4g9JlaHV4qCp8TRFuAUpX1/n8xfM8XnFdt5VJOaucF X-Google-Smtp-Source: AGHT+IHExVmgqlSBDTxp3UBEsiithGY1ASjzeGyFWNQHJP3V6k3TURzkBS3Q8Xdh3G4H3SMgsocWjQ== X-Received: by 2002:a05:600c:4692:b0:456:1514:5b04 with SMTP id 5b1f17b1804b1-45b517b9636mr17657205e9.21.1755854948985; Fri, 22 Aug 2025 02:29:08 -0700 (PDT) Received: from [127.0.0.2] ([2a02:2454:ff21:ef41:c671:531c:f2ff:2a7a]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-45b4e269d20sm33831805e9.2.2025.08.22.02.29.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Aug 2025 02:29:08 -0700 (PDT) From: Stephan Gerhold Date: Fri, 22 Aug 2025 11:28:56 +0200 Subject: [PATCH v2 05/10] arm64: dts: qcom: x1e80100-asus-vivobook-s15: 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: <20250822-x1e80100-add-edp-hpd-v2-5-6310176239a6@linaro.org> References: <20250822-x1e80100-add-edp-hpd-v2-0-6310176239a6@linaro.org> In-Reply-To: <20250822-x1e80100-add-edp-hpd-v2-0-6310176239a6@linaro.org> To: Bjorn Andersson , Konrad Dybcio Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , 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 , Dmitry Baryshkov , Maud Spierings 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), which is defined as &edp0_hpd_default template in x1e80100.dtsi. Fixes: d0e2f8f62dff ("arm64: dts: qcom: Add device tree for ASUS Vivobook S= 15") Tested-by: Maud Spierings Signed-off-by: Stephan Gerhold Reviewed-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/x1e80100-asus-vivobook-s15.dts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/x1e80100-asus-vivobook-s15.dts b/arch= /arm64/boot/dts/qcom/x1e80100-asus-vivobook-s15.dts index 62eba17cdc87c088ca471b4cbf5b44af06400fe4..7de191d2aa5ee8d32b20e3617f1= ec7cb938bdbde 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100-asus-vivobook-s15.dts +++ b/arch/arm64/boot/dts/qcom/x1e80100-asus-vivobook-s15.dts @@ -593,6 +593,9 @@ &mdss { &mdss_dp3 { /delete-property/ #sound-dai-cells; =20 + pinctrl-0 =3D <&edp0_hpd_default>; + pinctrl-names =3D "default"; + status =3D "okay"; =20 aux-bus { --=20 2.50.1 From nobody Fri Oct 3 23:02:07 2025 Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) (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 1F81E2F7459 for ; Fri, 22 Aug 2025 09:29:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755854955; cv=none; b=oarNxyIItLlt+1389IS5Rs0UexrHFygl0o16kiR0iUGxZb84uj6zKLvxim0wMNPsx3Lxr4BxfH2Qq5n9k0sI1DpQfwwWnXat0AFLyQIGYO9hsxjTtH+n9OHVzkQBAibq7VF00zsZulNGIhJ/VJT5Xe6t6W1JMuTC+HLN8mP7+DA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755854955; c=relaxed/simple; bh=ERNuIZkN5ATFt8ONMED+YutJLbS4r77RLXsvAo5QFc8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=HblQktOOYbPu8WgGWS5nnHgyCo2rvlDevqUwN/ODx/eOsbtO4YcrhoDcTcjiRziyVqIPXrqvBlv55Zoh6YaRYJCBa3gySqO6qxAENKGeeyQTDEr7si/l1hDpohNZIkJD83lZJqmzLjQz6m4Sk8jLpk3+rjDyQfuSWVeqrxvcEBk= 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=C7Ix0ue+; arc=none smtp.client-ip=209.85.221.51 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="C7Ix0ue+" Received: by mail-wr1-f51.google.com with SMTP id ffacd0b85a97d-3c6abcfd142so7656f8f.2 for ; Fri, 22 Aug 2025 02:29:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1755854950; x=1756459750; 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=x25HpmMhtyzw4pSPQqFnXsxEXCCiKqiHTLmj/iokeBk=; b=C7Ix0ue+dS4i7g2mrJjIRXeIZBrgiZrYs7z80KbMdab+q+WQL8L/svGaH56vFn7X00 gL+FUHFV+zPjnDRZfSNaJleUsJsz2JxZU2hQlB4hg6aF+KugcS2jBNAJSchL/BCE5V21 hyRsh2Utghj5jIRfYCNnFhcx8YtBWDTf/1LhkdMwq5SdNxb1L9U2mEfQpkgbt/q5klYM YinVsDNo9gU8ELMgFH/Q3Crsn5Nosa6FEztNAtJWlcND2stLu1eInhk2z+1iDtvlzlXj MN+oEU53ESvgyEVPfQhVIJwSjoWV8zn5LFeVArHXpLe8LKFxxB4DDzoizovLPYcwv9ya kA4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1755854950; x=1756459750; 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=x25HpmMhtyzw4pSPQqFnXsxEXCCiKqiHTLmj/iokeBk=; b=q5wiB5W4xBmbso4vCbGNYf6C3JIAYJZJprwcogvJ7/WLGfJhd/yLMeXHMUCHAlM0ds 1tse7ti0G/mki3l/nz8+Ck7V7r1284Yx16y33H58XP7trQ+f0e7sS/PE4VW9emr2wrSw jzm3FhXJRCbXgtpStca2gh5b9Jld4DWhkT7FF2QklZyBYf3X6R1cyh81NbOyOdwUxC5O wn2r7ut7B+Y9oFvWQHOTKJgFMqL3id7yZasRczs7FQD7XuIlQL/ZhGw4X61twNMDKMpE fBNREOwzUEGGuP0YxkKYc/MvSga0SOW5nqjLu3aqnOxdM9DBO/P/jPTbeqlYBpa6Da3M 3vyA== X-Forwarded-Encrypted: i=1; AJvYcCXiy3zWaqnnUzOsQ87PROQ9JNKy1qbwfakRMxQ2uOTNSHEcHktx6TPwGBZ5IqDErBYFT6dI8xbM5BHBlBA=@vger.kernel.org X-Gm-Message-State: AOJu0YxAKPJZTV47udctejILjvYg5JZ97xW0Pcl91xE6O60a1ZMjbM1r EXLxlgP6bjNzXY+nRk0yRo84C9HhmB3jZ2m3TCaCARQ55WQuANLGllI7j5/l4YUviJU= X-Gm-Gg: ASbGncvFokOarjLKOAbKDn1GXjkee7IaWoV0aaxygq1STZXfw1hbgjWkKdP8/NU0aNt AE+FJDy90qlGyGgvMAqzksWghIlTWdUhYRsKXhnuGbqrVzINCKRlVcI9jT7J54tqQD9vf3hE9fy 3AfxTPwdOsFLLQLkp8YoMobX2p70X6gHrV3qobxCWt/GJs6VpE/1PEAJkcmna7zAK7eEBx13BwA 4zE/xYHYRCeJWLO3FSF2aCNzwiP/mp8fAmMBWwgaoPRZghWK6A8zYlS7DDjUxvKhOjwleqY91Xq h/y2yDZh81rVz3yCDdKgQSk6Mm2ka/5Yy18HGtvB5pQv5M0A/S/mVvs+QQvZBAT7L+FKwh5gCnz PtVM6yPx7Jpgx8dyTWXxUd/PuEknr5cBgcwu+m1ZjmH9v8i9x X-Google-Smtp-Source: AGHT+IFo9o0397QP0rIc9HSMi+53dF00Js7QjeIiFJ6298UmkDNi9xmJ0KwXYDGqcFOg+7NrqZQ2zQ== X-Received: by 2002:a5d:64c8:0:b0:3a5:3b93:be4b with SMTP id ffacd0b85a97d-3c5dac1aad1mr1434196f8f.25.1755854950063; Fri, 22 Aug 2025 02:29:10 -0700 (PDT) Received: from [127.0.0.2] ([2a02:2454:ff21:ef41:c671:531c:f2ff:2a7a]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-45b4e269d20sm33831805e9.2.2025.08.22.02.29.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Aug 2025 02:29:09 -0700 (PDT) From: Stephan Gerhold Date: Fri, 22 Aug 2025 11:28:57 +0200 Subject: [PATCH v2 06/10] arm64: dts: qcom: x1e80100-dell-xps13-9345: 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: <20250822-x1e80100-add-edp-hpd-v2-6-6310176239a6@linaro.org> References: <20250822-x1e80100-add-edp-hpd-v2-0-6310176239a6@linaro.org> In-Reply-To: <20250822-x1e80100-add-edp-hpd-v2-0-6310176239a6@linaro.org> To: Bjorn Andersson , Konrad Dybcio Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , 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 , Dmitry Baryshkov 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), which is defined as &edp0_hpd_default template in x1e80100.dtsi. Fixes: f5b788d0e8cd ("arm64: dts: qcom: Add support for X1-based Dell XPS 1= 3 9345") Tested-by: Aleksandrs Vinarskis # 3K OLED Reviewed-by: Aleksandrs Vinarskis Signed-off-by: Stephan Gerhold Reviewed-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/x1e80100-dell-xps13-9345.dts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/x1e80100-dell-xps13-9345.dts b/arch/a= rm64/boot/dts/qcom/x1e80100-dell-xps13-9345.dts index 6b27067f0be66b5c41fa681ff3b4f535100bdf59..eb87164fb15a50fb9190706fae8= 225fb3a26bd08 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100-dell-xps13-9345.dts +++ b/arch/arm64/boot/dts/qcom/x1e80100-dell-xps13-9345.dts @@ -900,6 +900,9 @@ &mdss_dp1_out { &mdss_dp3 { /delete-property/ #sound-dai-cells; =20 + pinctrl-0 =3D <&edp0_hpd_default>; + pinctrl-names =3D "default"; + status =3D "okay"; =20 aux-bus { --=20 2.50.1 From nobody Fri Oct 3 23:02:07 2025 Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) (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 076642F83A2 for ; Fri, 22 Aug 2025 09:29:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755854955; cv=none; b=laFT7a6oOAHm14UEY7XVzOioijZPThxaDpkx3Wdd6vfOVonYib0GWARPHaES3qEuakykNW6TW4CgQV/mTsbqmGpM5FWD8sro0WV2xn3zjSbpbF5MZvFROJCHStrM4f9BaUhBiMAszZgTZxLKl24rTTDeMPyJ8sKjAL2n96SQeBY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755854955; c=relaxed/simple; bh=3aZpoa43CgwAyEuU5OezFHxEJBjjcpDe6c7LT71bAIM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=EMZC8QKeA/E+5tDfPmqGMsiYoD5nRtd+KkcYEJXJX6no1QKYugW/+oHygq+t8e7I/lUztlPAiYZ3nl6YFJ1geYJMHv3StSePMRBjpTRyutWaH3gjJqsiy2x1PvRvfyt6bL2raEGZHrHQJDODNSQvOYMCjVn/yIjkkl8T8VS5cwk= 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=Gj5Xxeqa; arc=none smtp.client-ip=209.85.128.49 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="Gj5Xxeqa" Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-45a1b05ac1eso10828575e9.1 for ; Fri, 22 Aug 2025 02:29:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1755854951; x=1756459751; 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=hhd7a0fXzsnPhV3Ln71dyr+J+aAF8M86zfN68JsypU0=; b=Gj5XxeqaS/yAB3CIjb28vGjLamNKofGa09UN4AqGx7ftpfTnVfawnZKxyagHhAn1iF 0IOPIkugi/TEC0dgF8CIoJXbAtXhE9fVUbpPVpQqaozJ/lWr60m2U2fsxoLBRR7KOQ2X VheIoTF1NF64URKU/dXvMG46kuTxnfCQEO3Ks/XUsFKpOznF/1iK2fbb10cM1DFz4CJ0 9z46SFTQhwESDINnLEi2h/JYPEPvzJrWIJlJiPFEO1793r172KP9NIy5/kKyx2QG4Aim TlMpQvD4GLtARsrAo7jGcIwQ2eIW4nW0ADWflKCojVqkvQS7DwwBQObXkopvIJ6o3fT5 r5rg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1755854951; x=1756459751; 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=hhd7a0fXzsnPhV3Ln71dyr+J+aAF8M86zfN68JsypU0=; b=CYQ/HI+8CECGcR4livKAYo9hEIgiJFiIPOfPWuV048Z7ZbqlkYzeFuHJ5tl01bzwak I7Gn4boo5b6EUHkSkBIQUtmVVohgWfyGiQrypbA+s3G5TZuQW2nm1zlcmkm6cOrIhuP4 j6zj/daL7cRjw3Y6lfbVwZUQg9/CoJoDWIIcTBby7hW0hjDwvpOlLhPqCJBy8VFtcC89 Bqrz8vsJA7t0gBI20GR4ulOOJUPL/evPgq8ANIIQjJfowzdqjm7zOfB4vprTcT1tufLl wbIe3QBxewEVVWMJysK7rXp1/UZZq1W7i8B41tVQndsFTi02wc1e/7q4iq1fJwiscam0 HJlA== X-Forwarded-Encrypted: i=1; AJvYcCX0AoonV/4+96ftpLT3udanhQEnyLRJ4069OaP/hsn0IppH2LIZrfGUxlnIbHbeo1EAQULuEARvLZqdDYM=@vger.kernel.org X-Gm-Message-State: AOJu0YydxQ7DknrbwqHbe0MTmBqQfo0inMxxC7x9nq/s1uegP+D95dUh dIQmlHGlFH1/oF4bWiOlHyxqZQ5nfLNmTgP+WFJvr9R4pEodKHfWti2x0w/ZdheuU5M= X-Gm-Gg: ASbGncs+XEABuHDQV4K5ZgEyD3Mh/q/fLn7SJtLd5GwmcYdmSPsy8QKvhPIdhbTh4Yz uPhAgFZPc5VaEwgAbgPFlf3GXNdMfegGN2z3SrZe1li75GeG041qEWDe/FpQNCuqDyxvu6QA54a 1LlwCGqYgH3N6yi55r1q3SgegJaLpNujTUeZIWLzk1n80Igc1hpaztFsMFdEBG1kF+5uIdir/qY ue8BDyhljydpoYAhukRVx/bk3UPF2MU8k9WMSQ4XLvFNk5hucaeESbW6XhufoEmTkeiWbCk5r3Y lIzCQ67IXPb6oXWpXVrpp0m7BkY0Kglx9RE+lExvEUO2isVV7Oct5JbIICz5y67TPXeDLMbW59Z pI8/6H5/u69J6ScQOwaaCqhP1IEon4x/qaUCDqg== X-Google-Smtp-Source: AGHT+IEvPYZI+pR2Cv6FlEIH+bERstV9JI33u+O904XKUZhQ8U/QXgWZilLuGm90hKiEn2AyyHCmWw== X-Received: by 2002:a05:600c:4586:b0:45b:47e1:ef6b with SMTP id 5b1f17b1804b1-45b517e0104mr16344205e9.34.1755854951094; Fri, 22 Aug 2025 02:29:11 -0700 (PDT) Received: from [127.0.0.2] ([2a02:2454:ff21:ef41:c671:531c:f2ff:2a7a]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-45b4e269d20sm33831805e9.2.2025.08.22.02.29.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Aug 2025 02:29:10 -0700 (PDT) From: Stephan Gerhold Date: Fri, 22 Aug 2025 11:28:58 +0200 Subject: [PATCH v2 07/10] arm64: dts: qcom: x1e80100-hp-omnibook-x14: 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: <20250822-x1e80100-add-edp-hpd-v2-7-6310176239a6@linaro.org> References: <20250822-x1e80100-add-edp-hpd-v2-0-6310176239a6@linaro.org> In-Reply-To: <20250822-x1e80100-add-edp-hpd-v2-0-6310176239a6@linaro.org> To: Bjorn Andersson , Konrad Dybcio Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , 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 , Dmitry Baryshkov 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), which is defined as &edp0_hpd_default template in x1e80100.dtsi. Fixes: 6f18b8d4142c ("arm64: dts: qcom: x1e80100-hp-x14: dt for HP Omnibook= X Laptop 14") Signed-off-by: Stephan Gerhold Reviewed-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/x1e80100-hp-omnibook-x14.dts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/x1e80100-hp-omnibook-x14.dts b/arch/a= rm64/boot/dts/qcom/x1e80100-hp-omnibook-x14.dts index f9ce2a63767c151192b0618ee2154e8d97316c1b..8b28b6f47c9a09fd49f2ebeb139= 291f710eb6e1d 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100-hp-omnibook-x14.dts +++ b/arch/arm64/boot/dts/qcom/x1e80100-hp-omnibook-x14.dts @@ -1044,6 +1044,9 @@ &mdss_dp1_out { &mdss_dp3 { /delete-property/ #sound-dai-cells; =20 + pinctrl-0 =3D <&edp0_hpd_default>; + pinctrl-names =3D "default"; + status =3D "okay"; =20 aux-bus { --=20 2.50.1 From nobody Fri Oct 3 23:02:07 2025 Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) (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 C8D812F8BCD for ; Fri, 22 Aug 2025 09:29:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.48 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755854955; cv=none; b=dOIt2ugM3RFVP7rO9tG2RtJOXhm060D+cwPlpRx6hhfYQWLFive/oXdQ7r/z5iimxTLIIp+2q0WHayEAotgxy40ehCBqoZWIM8GykVggty0kP5Aa3R+NQWk3Gyg69z8N4LS5xblOxv0Ap/QioAHWpxaVAxTdgdOxR7Y2rxmVA5g= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755854955; c=relaxed/simple; bh=VeUCv5OypXPXd/iOoNA4jj+z2SlWhHr+JXevb9g+W/0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=rmlSl+BC5ATLsl6VUpLJNcBWJxNsFrClne71ZtiJERFVHOZbTog0wyLF5UIiyCbl67meiePhUGK0WX05EKQxCRwYnIQEuX6H+xB1IQwSkn+d6iGsZ5DDIJYGJinw9HtD40lc+Vt3elbHjtxfD46L7/3lOPCtKTuKY4Jf6SvbhEM= 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=to1fAIot; arc=none smtp.client-ip=209.85.128.48 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="to1fAIot" Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-45b55ed86b9so730725e9.0 for ; Fri, 22 Aug 2025 02:29:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1755854952; x=1756459752; 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=N0a/roQjAOMowibb0xrTwJSZ3ukysCGuBQ+y5KVoQ+k=; b=to1fAIotJwaLvSXTBZx5YPC/I9I7HXp9FhYsNnvphb2REsU8/oxjM5SwVsQvoycnxY KHl1jrgE5cLCGF+jmorCnoI2NgyNUMkIjn1hIuxQVaxMrrX6qx1psKtg9TmjCaLtjqRZ jVn6VOU31L9knJihJSTjb+Wruuhk85le2m0lTcqb3aChFlvm6xQ3HXHXvFxYkhHVSKtg 2DrT1gtg4haDqLv9hl6OZH2CXLGk3gUAgNJI1y55IECPtZvlRAQYHhC/63uFt0ckFZr3 2WmwpDXOlTW/SKt/uTLtoC/g2gNNxFqtsk/ZU5gTUxRYUv01S3pLsLSU7mWUThDwTkMS r5NQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1755854952; x=1756459752; 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=N0a/roQjAOMowibb0xrTwJSZ3ukysCGuBQ+y5KVoQ+k=; b=Uj07zq/t0aRLasHZelT9QGdvc9CsTmA2nZLN5LeP7iRa7TgYbxVdV7ya2xAqPXREeC IeHTFfJqFMQU5LlUyobEK/o2biRnw4vySNIihl+jcu9Te7r2OmENvpc07f58baYvDNuk GhiXL2ih7216OYhYbM5BYj4faSWqYVhLI5Jtqe+VDKZtyAx1eqfUrEe1o85koJAi/wHn PbnKNg0NUZBLO6zlIhYobUlpXmYjLipY0LpACC5ngKiPFBIm7Ihw/kQDjPKW20rXnPk5 XqA3gDZwUuGPwEntlYyqt3asoBCEfc2Fc6Re5L8K+oLfuqV6P+XwM25ple4dX0oj9i2v uHYQ== X-Forwarded-Encrypted: i=1; AJvYcCXJtsdqizUp4VXyOr1Qat7SOtO1jwCLDpF8VZXXBjDbv06tI0xg0KR69MXccyPHkG2OnbGT/On5W3zBpFM=@vger.kernel.org X-Gm-Message-State: AOJu0YyiJPy7sD1OhGOi385ZvENJtdQqTKtdlyzfml5ohCDWif835NkB Jl1BD3vKICsKlfO+WfdKYautP+DyUYOr1gG+yaoY5NvMMnySZ4VB6koxkE0hMjHGmfc= X-Gm-Gg: ASbGncufoCAH28Zk7rnDEvLDXN5eSeb/6aLPkYN/LKVR4Qz3fIlZwiAuqI7igTr6cU3 N9I+iXJk745ENhaubvKqUbagyxV7XdaqfFsZhpKfxv5u+Zb6MCqV/VYxZPpw/5SXKkym9sFdm4B bXEdeTsdDZxSj1Vpdk9d8ijuR52m8G690jyu5lfUKFbGUoeIk/tvpdOSVJHeoc/fAkn3amvBKF4 1cpLji94SOVZZ9uoCZAS9G5QVDUvk4OT2nvzzVIjVJ4VafP4iYm6IfIggk+Vm5slp1L5n3I4lsU OULPnN4Dbf96q3NlJvpqnwnRh9PwoGh1twgFnrAP1XzUK390CPd9pjFWzuZoSn79cOXE+BL5Fj9 Qqy+fc5cl73y+IgdwmAecUkiBCnRKwQqJLgk8GQ== X-Google-Smtp-Source: AGHT+IGBLtFrfsIlGo4/670EQdWfkmVjySe29U9Is+Rdyd/oKJzHmoQgOsX99oIOfPJdrAo/Q54wxg== X-Received: by 2002:a05:600c:1c28:b0:456:2698:d4d9 with SMTP id 5b1f17b1804b1-45b5179ccb8mr17335915e9.3.1755854952165; Fri, 22 Aug 2025 02:29:12 -0700 (PDT) Received: from [127.0.0.2] ([2a02:2454:ff21:ef41:c671:531c:f2ff:2a7a]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-45b4e269d20sm33831805e9.2.2025.08.22.02.29.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Aug 2025 02:29:11 -0700 (PDT) From: Stephan Gerhold Date: Fri, 22 Aug 2025 11:28:59 +0200 Subject: [PATCH v2 08/10] 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: <20250822-x1e80100-add-edp-hpd-v2-8-6310176239a6@linaro.org> References: <20250822-x1e80100-add-edp-hpd-v2-0-6310176239a6@linaro.org> In-Reply-To: <20250822-x1e80100-add-edp-hpd-v2-0-6310176239a6@linaro.org> To: Bjorn Andersson , Konrad Dybcio Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , 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 , Dmitry Baryshkov 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), which is defined as &edp0_hpd_default template in x1e80100.dtsi. Fixes: 45247fe17db2 ("arm64: dts: qcom: x1e80100: add Lenovo Thinkpad Yoga = slim 7x devicetree") Signed-off-by: Stephan Gerhold Reviewed-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts | 3 +++ 1 file changed, 3 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..dadbcd66584d7c90a01bfb339e5= 86e4675bf32f5 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 <&edp0_hpd_default>; + pinctrl-names =3D "default"; + status =3D "okay"; =20 aux-bus { --=20 2.50.1 From nobody Fri Oct 3 23:02:07 2025 Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) (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 177B92F99AE for ; Fri, 22 Aug 2025 09:29:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755854957; cv=none; b=cTRFPgiJMjnf4uV1cCachD5i7wESzexRB0OWV6C1JFTiMRvKI05aFM9vKRTyb7OIL/I6G/FILIeh1ijVLzz7Yi/NTRnl9WiSqiHD0+rfIbdOIgxc9nDJuXvgjKXO7Wq4K8CrWa3q5KSOL38/Pz9TJ0yrHtMM5XZadH5bCqKm9dQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755854957; c=relaxed/simple; bh=Rwl3keab6dYN71rlxvDljxrLoKkL2YyXODsnH0TLinQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=SAdcOVxzPnJ4UADK+qXqyHrYs20OvFmmIdlBgOIDuUCkoL6VUST/yKJA7CWKwi0uhtjlbGb0Rxv8y3UhcYASXxsPQDB5K6IhB8mRVqbAw1DCYGNEOk93iLEoTu9YIsuWJoTIdKwMhSqmxY6kbKc5LilVy2ZvePuPkGErzj8dYT0= 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=szeGgYJq; arc=none smtp.client-ip=209.85.128.53 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="szeGgYJq" Received: by mail-wm1-f53.google.com with SMTP id 5b1f17b1804b1-45a1b00e4a1so15481455e9.0 for ; Fri, 22 Aug 2025 02:29:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1755854953; x=1756459753; 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=2wdWpsB0si2Kfd4ndZEy2yHC7zYJNQ1wIqtMcCz02iM=; b=szeGgYJqiUL0eDn/kzZmGXdUFbC5BXMmxTiEBvWUnJv1A336GMIL1VnG9d+FB0DYLF G6bbCh1Hk7UVEhEZG8z74sRlZ6XX5vQzq4fopaGRT8zYAlGmsKrSmcAvWivKdrN4l1l6 f046QpxEgk8kfsea8HKnwjlfQe9FPQ6x9Gg1J1EC6Erm7FyU9Op+epNu+pah7No/x1Rt PcfZKpZB5riCVRoCWZMQs7jOUlrTipoR3m5YEnjX1vVjGs88+dM7XKvRsrvw/HtBGLzm FN/puv/0pD9niX/LHKCYKO1QDdcZsMyMUWwCepSbyDs4Z0BkFvyBRmijRa3B52lUN5RE kgaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1755854953; x=1756459753; 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=2wdWpsB0si2Kfd4ndZEy2yHC7zYJNQ1wIqtMcCz02iM=; b=oEb/vGyzNP7Iw2JIGLNRmuy6U9Y8nwWXYq/+Ib+p51s76PpqdpdH1LC2xJ5yl9Kn/e rfKweq69vgJyWqntF6LQ+z+R53KRJMFCxNjq6QRVMV+QXL4AmPEccMa990lUPJo6xOHM 0HQ7JHKAQDKcLys6yKoue68rpNcYWtI3vL0C1vVjS3j+Cm90VRlAMzzR2iQQHGH6DOa1 jx/HwTEqaYbWZH1p5nXnr0amBWuTnMMwb0LvPFtPAlsewpCz+3ZfgS5MBt6qqe3Y20fB lg+JmW3c3PVXOjhBxC+sIyciTrWwOEG0srMCsW1SYkWNDgZJtKtsGAcGIcsmo4mW9KGx hPTA== X-Forwarded-Encrypted: i=1; AJvYcCXgExD+tDk95gztYNDQfzvQkmUO1RJs2FFzgbXuFGfiUubrrURpeHdtfMHsEHByMRToIq5sHWy8JDnKDM0=@vger.kernel.org X-Gm-Message-State: AOJu0Yz2HMicNsGufz20sQ+k6zNzyttan2gjG1bLH+2dAPA+pcww6zC7 d/jSj0H5phrTpTvlLci1xQ6Yari+87Sn8c5w8Tcw9N/PRgMOd3e68afhLiGtFFKHGbs= X-Gm-Gg: ASbGnct9Pqx4vMQUIg71xPAdOxSUKp3ZgUI/9pP8V8bhhSPqR5lLyp52/a8bWRA5qg1 PmJipVNocg5cy/o3S6uvQhcfuDR3UEhUdfg3sFTDYpx2Z9LLl/qu5NNfNqPthzqwYonIvHOUnFI tVlq1pZX2DBzvrOmCkOj+z36ASdRwYmWg+T+pXJsac9NtlQm+niXWzoPZLfAaCObPeuKla41Fr3 FJfsTGW9zX9lguM2IzKND11OuOZNVXG0POCF06cSqBV0aaHh1LNy/tHKyjFqjggUh8CL+st6YHc 7Lp1n2xxw7dg/fnS1Ukkj7qmFxEvLyk4/NubE7JtkpWI6sVb2dZVALWjmblK8+q6DJob4gJ4rmD BW0UWTqTSPWEQM3VZEgK/WhSPn7ZTLgf8yXNxphH8QgCOEXqb X-Google-Smtp-Source: AGHT+IFXI7Ix91fHfWyNJxLAbc2IehV1gaOfTrq/sbg2co87gcQLY5GTNPxxzCKw3j8LGkFtPcmykA== X-Received: by 2002:a05:600c:46d3:b0:459:dde3:1a56 with SMTP id 5b1f17b1804b1-45b517d2ab6mr17674865e9.28.1755854953263; Fri, 22 Aug 2025 02:29:13 -0700 (PDT) Received: from [127.0.0.2] ([2a02:2454:ff21:ef41:c671:531c:f2ff:2a7a]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-45b4e269d20sm33831805e9.2.2025.08.22.02.29.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Aug 2025 02:29:12 -0700 (PDT) From: Stephan Gerhold Date: Fri, 22 Aug 2025 11:29:00 +0200 Subject: [PATCH v2 09/10] arm64: dts: qcom: x1e80100-microsoft-romulus: 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: <20250822-x1e80100-add-edp-hpd-v2-9-6310176239a6@linaro.org> References: <20250822-x1e80100-add-edp-hpd-v2-0-6310176239a6@linaro.org> In-Reply-To: <20250822-x1e80100-add-edp-hpd-v2-0-6310176239a6@linaro.org> To: Bjorn Andersson , Konrad Dybcio Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , 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 , Dmitry Baryshkov 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), which is defined as &edp0_hpd_default template in x1e80100.dtsi. Fixes: 09d77be56093 ("arm64: dts: qcom: Add support for X1-based Surface La= ptop 7 devices") Signed-off-by: Stephan Gerhold Reviewed-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/x1e80100-microsoft-romulus.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/x1e80100-microsoft-romulus.dtsi b/arc= h/arm64/boot/dts/qcom/x1e80100-microsoft-romulus.dtsi index 27dd5e4e9939124360544ee9c59900ebb01f3f49..f4ae0f4623a5fbc85932a879473= 399870a49c35e 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100-microsoft-romulus.dtsi +++ b/arch/arm64/boot/dts/qcom/x1e80100-microsoft-romulus.dtsi @@ -965,6 +965,9 @@ &mdss_dp1_out { &mdss_dp3 { /delete-property/ #sound-dai-cells; =20 + pinctrl-0 =3D <&edp0_hpd_default>; + pinctrl-names =3D "default"; + status =3D "okay"; =20 aux-bus { --=20 2.50.1 From nobody Fri Oct 3 23:02:07 2025 Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) (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 13FDE2FABF0 for ; Fri, 22 Aug 2025 09:29:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755854957; cv=none; b=axFLoXdgYh4w2qrWGvK331ftuHC6QmkutO51jIMmV/eem3h/nvFOtY5iivNnYlx6DFR3fILtILB+/uiKrmoLW1R2F93nO0EoMI9uv/AHTwNrKxAaSyuEPvyCO13kh+oM/3j9oYYTgA2F0RsFwl6MpkxJPFb+x6f2l44DfkPPH6s= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755854957; c=relaxed/simple; bh=QUt0+UycE3l2L7m5spe6S0KqFj7nRto3yM8Pu7JHGtQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=QsPRLM+KbOkFRWwRXllKE8Q6coywYyyRoajiXrpH3BulLhsmB8HF5+5sHloEFicXUo2FQEuAAxXYdBJUh1UyZcFw8SlNEvxVzRPU2zMe8ktMILZEdMtU8BaKCqZ9Y1cE7XnkkspZwVaHYhvTNZHeltgdxhq+6+zB6yhtygfXNig= 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=SBx4KPp7; arc=none smtp.client-ip=209.85.128.45 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="SBx4KPp7" Received: by mail-wm1-f45.google.com with SMTP id 5b1f17b1804b1-45a1b066b5eso10027305e9.1 for ; Fri, 22 Aug 2025 02:29:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1755854954; x=1756459754; 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=482U6L1exn0T0v/WP+eBHc4UYIMx1Rf/qRIRSNFyPxM=; b=SBx4KPp7ybUy5U/MY0d/Ug7czgPB5ZwifJ2LugC2hdVvvsulzZENrNYy58wFID/sXa sLWuqLPL9f/d48rtqIGuBPaKrWEQ7dYn2sddbv1BwKXRQQlVEXxN0/11QpioAKqxZ3Ch CYJPo6ECNLeU0lXPuHvRZk9UCR2/PMsxnUO0Bl1F4ZzYk65UL9r4cQn3MnxVoviVzkId o5gCWDBCx0pvAB9wbdwzR2WJcq/wEQZHJZgRVehTxNpwZkSC8PyfT0zaONs8xRrWZFV6 bHl2KJR2+xZ1NO4ljMUcGYtgILXnmBgycr91oqurmhz1jdZl9jfD/zSyX6rWumrQJDDC x7Mw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1755854954; x=1756459754; 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=482U6L1exn0T0v/WP+eBHc4UYIMx1Rf/qRIRSNFyPxM=; b=Lao0zsY8lMfJO6C3zQ8aseapTylhWeiemQeUrUx28x7Y77bpkGc4JMdEkBTFuXElcB bruGFVHCdUKPN7coLDA4CX5Niz3SzdMKxyh06MlDEI4I1UyJtK2yH9wijf+K9OkZP0mj pZcjWFfDQOtnZ38bgpXQ97AL+oVrXJsy0MfPb8htLgUjUxddLqwcSgnM/LVAivrZDLRA b75SCR0Llmp6xddWqtOF+/XMgLfLnIbO3aWU0ZMhZ8ZHhYcKkzBgQGxRZacSopeD4DuE RyUC6GKfq19C81d4Evz9WgEYMbk19s6LbbV7GCFOhfEhXMf1Nb1mP2jqZDsaY0G6VmRW QQXw== X-Forwarded-Encrypted: i=1; AJvYcCV8ZgfRMuF7P56kTIyy9PbojHgAOHnM5T6Wlm/xWEbXcWFisdRrf9aH+kiP6Ek8fh8WJKE3pF2g2FL8PPY=@vger.kernel.org X-Gm-Message-State: AOJu0YzH6ZXulDjvhcxKgMunIp3ditWwqAb9LyIe3tsv3pbxuMkw8iZ+ egLrsaq1JytJP5aKKnBcjeUVtCQZNC4u+y5vFlWSwT0lrqa8DnysJAW0bL4VlPLdGso= X-Gm-Gg: ASbGnctQ83lpybPprdg6EVKmyeEsVBj2euKR/6qXNk5GeceSshsbNKnCoMC0ZUhNd9y uviTT0+AoKatlV1M3yoRKvzCCY/AMICZw5emAWGZlOS8R6jmJA5gc89t6nh4NJhe2cm2WDqsQZj yYMwsUtQY/AL84fSKZMMdv4rXXof/AIY/8nyUV0QH42zbQPy/j1PUAejjbZHskkVcGfoPpC7uOi jtXiaj8mg2o/OzbYQrNnssjmMTeLIVqJFObVOhu27KohBawNrMCLsh0h6G0rYgxNKK9rxPY8zeM Z5p5UTmx0dwJUNpu4II6qnmo8GCGHhNhUKdQ9LZtluPvaF3HlGP0EcKtwCpAB3qgQEEN72oflyt BVOxOYl8TTQXkZLlwSoE1SH2K4x1rpbM3JuWnznaBsKMfLhXp X-Google-Smtp-Source: AGHT+IF8rG+HAdadk8FJZFHlMphapIz/vjkTDpBbGV2hMvAIFg2h5HlIyowXYUWst12d1VIrhFQpvg== X-Received: by 2002:a05:6000:2313:b0:3c3:c280:d42e with SMTP id ffacd0b85a97d-3c5da83be09mr1291521f8f.1.1755854954298; Fri, 22 Aug 2025 02:29:14 -0700 (PDT) Received: from [127.0.0.2] ([2a02:2454:ff21:ef41:c671:531c:f2ff:2a7a]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-45b4e269d20sm33831805e9.2.2025.08.22.02.29.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Aug 2025 02:29:13 -0700 (PDT) From: Stephan Gerhold Date: Fri, 22 Aug 2025 11:29:01 +0200 Subject: [PATCH v2 10/10] arm64: dts: qcom: x1e80100-qcp: 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: <20250822-x1e80100-add-edp-hpd-v2-10-6310176239a6@linaro.org> References: <20250822-x1e80100-add-edp-hpd-v2-0-6310176239a6@linaro.org> In-Reply-To: <20250822-x1e80100-add-edp-hpd-v2-0-6310176239a6@linaro.org> To: Bjorn Andersson , Konrad Dybcio Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , 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 , Dmitry Baryshkov 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), which is defined as &edp0_hpd_default template in x1e80100.dtsi. Fixes: f9a9c11471da ("arm64: dts: qcom: x1e80100-qcp: Enable more support") Signed-off-by: Stephan Gerhold Reviewed-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/x1e80100-qcp.dts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts b/arch/arm64/boot/dt= s/qcom/x1e80100-qcp.dts index 9369b76c668b5c008fefd85d5ca18e87ab9ce93f..ef9bb7dac9193a44e3086ca3703= 50b816744f41a 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts +++ b/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts @@ -915,6 +915,9 @@ &mdss_dp2_out { &mdss_dp3 { /delete-property/ #sound-dai-cells; =20 + pinctrl-0 =3D <&edp0_hpd_default>; + pinctrl-names =3D "default"; + status =3D "okay"; =20 aux-bus { --=20 2.50.1