From patchwork Thu Mar 27 16:56:53 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Obbard X-Patchwork-Id: 14031308 Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.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 522622192E1 for ; Thu, 27 Mar 2025 16:57:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743094635; cv=none; b=gWwaFTqTleW9MVNgYz3ot5ZZ4kFaiCek4xeK5ylvtEFKcMt5PcygLlzNaVKIOI4eIr57UL+pv3FHLYfgch9ySoOI5Ip4i0JzUwrYNjZdjCdHpyZkfXyxIdP2hqZLTddeA+IQPu9wPKGmFNU2i/Sz8QxlRUn/CQFM9lNdNmk+Y1w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743094635; c=relaxed/simple; bh=hki2XRHAm+6qSdDVA5w1j+cxg3SpI/NClnIYUfpbEVM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=T3Oefg1Msjw2pg36ISapEvHW1NPt1BuZNFwks/iZgFgiGNaiVRDjN0Bh6OTGpsOJcxlGhf7AcbTgl8G53Ga3jfgMK5aT/lFY9KNQfsQ85GsCtbDGEpMT4IEzpvfju0NwMGlVtRMfHtLqO/umUphU8F/h3AiSUVuMLkhuOxvRr0E= 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=dyu+eCHY; arc=none smtp.client-ip=209.85.221.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="dyu+eCHY" Received: by mail-wr1-f43.google.com with SMTP id ffacd0b85a97d-3912baafc58so964136f8f.1 for ; Thu, 27 Mar 2025 09:57:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1743094631; x=1743699431; 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=3bQS2dVHkXmrt/VYBQF6fRPY9BltaVPlOzaCvehejKU=; b=dyu+eCHYoMWKzqInC9ckHGSbUh9lMUfYVLcs6yqLcEStJCHeaM2qTBQ7rtV/G16aD2 YOFQq6u1rBXVAkt9xhfy45WFilsN2jCD5JkNYGfEZMqljESjQt7C4FB/kN5zjUOaszsw iUni07YwwQoyNugc/j5G7/lG+aMCjUtIltTZBlWeu6dL1l7CUItOLFc7+yyWW2M+qOvD jOzvocG+o7mPsKED0X/v92RpYVBslVSCyGxXyA7cW9lUs1spvtWzuMKbcT5tvL0EdA+l PrA8aOuqu2RDsRwpTC2vl52K/pzad22P4vD04YMtqJLuNRoHR6B8GtJ1yUSy3fLWRELn NvOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743094632; x=1743699432; 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=3bQS2dVHkXmrt/VYBQF6fRPY9BltaVPlOzaCvehejKU=; b=TnB/smH9Kj5MEK6dH99KJ/jrn6ck/qryPCPPKcYp3SiJWmYoFhYFWwX4XHDzbO/FS1 v9vRmEeU6er7JRJfbILqHGFU/Ya+o7QrFOjwtuKSdfyzBlhnsmp+9xIbDUw0YTBwqCoG O1CMYrRk+Zpk4ABpwAnyzUaUK05Kd7espqMlm5GGWenb6+yEz6MCq4wwevp5GGtHwilf 7847qPoGfCuZlpa9QVj8UC4vCjdKK9uL4eesAO4O7N5IBcEWqx7Rwr1E0H6aRXB5jeQT MfTrh3LGnrDlaDNLIlrCKfxxqgpoTXJjotOtVDQSwqGD0uJsDUXyEtfYuLqYMRCxLHZI cQSg== X-Forwarded-Encrypted: i=1; AJvYcCVgEufxq+GaLCyjNOs5oSpg2CibrDHyH+byRVKhog41RXte/fuorvHYwqcAAsF/LtEk11hYL9Oc0DoRaVQB@vger.kernel.org X-Gm-Message-State: AOJu0YyeCdCz9BdF6orqnwS2IGHcGF/ED4IHWaXi3WYR3fEwesNiZ7W7 oskog9v/m2+b/oGiSCsnvzzFaICZ6tOmtabebSQEw6e3uPwA6GTZlid6ltGjT74= X-Gm-Gg: ASbGnctAhxN8DuDL9IlH8UYZwAiZwQOqKUhCE6eCc2BGy2HBOPxmC2WR6l0n69KyRJ9 8BUUvG5mBvSwakd+W7tk86JlkzVZUbvDzU7EhlaJhKsaujVHohgLU0VkYPdHYGCE1/lMcaIcaJ+ PUUnzSmkevhYEgoKeVJpx5RAlARLTqhmhVtpyGi/1psBXkpi23zymh+7kg3d13u+nJUNvP1ISox YvkM00J5tBv40tUlSrpbiwwKUe1TC5VBL7Yy9cUHIewZGlx+K4hQOVhziCmPtR9HVuAxQznCPQm DDDXHH901C05xwdz6daGPufSE+b4qRTzjIfzLZS3aO2moNhvhcZxJHsI X-Google-Smtp-Source: AGHT+IE624zLhan3Ico9kT8SzImQL6pNaOSeeMSfoq6G2YAdMGFLyy5+kDtd8oVH06T+DQICTxZj6Q== X-Received: by 2002:a05:6000:400b:b0:38f:28cb:4d35 with SMTP id ffacd0b85a97d-39ad175bf01mr4343485f8f.13.1743094631550; Thu, 27 Mar 2025 09:57:11 -0700 (PDT) Received: from localhost ([2a00:23c8:b70a:ae01:9cf7:b69:fc50:980f]) by smtp.gmail.com with UTF8SMTPSA id ffacd0b85a97d-39c0b663623sm65304f8f.35.2025.03.27.09.57.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Mar 2025 09:57:11 -0700 (PDT) From: Christopher Obbard Date: Thu, 27 Mar 2025 16:56:53 +0000 Subject: [PATCH v3 1/2] arm64: dts: qcom: x1e78100-t14s: add hpd gpio to eDP panel Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250327-wip-obbardc-qcom-t14s-oled-panel-v3-1-45d5f2747398@linaro.org> References: <20250327-wip-obbardc-qcom-t14s-oled-panel-v3-0-45d5f2747398@linaro.org> In-Reply-To: <20250327-wip-obbardc-qcom-t14s-oled-panel-v3-0-45d5f2747398@linaro.org> To: Douglas Anderson , Neil Armstrong , Jessica Zhang , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio , Dmitry Baryshkov Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Johan Hovold , Rui Miguel Silva , Abel Vesa , devicetree@vger.kernel.org, Christopher Obbard , Bryan O'Donoghue X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1476; i=christopher.obbard@linaro.org; h=from:subject:message-id; bh=hki2XRHAm+6qSdDVA5w1j+cxg3SpI/NClnIYUfpbEVM=; b=owEBbQKS/ZANAwAKAWNNxPBocEb4AcsmYgBn5YNmzhfFY04qzeR1a440ouQxIaIVV1dMaG0e8 oG0Fpz+WA+JAjMEAAEKAB0WIQTxi9yLbCX5CqI9UXRjTcTwaHBG+AUCZ+WDZgAKCRBjTcTwaHBG +JnWD/9qet0c+c0pd6YLZzQunsHfWWMNROD08J5vAaKHNYeZVD0mtTJfp2btbxUzCM59x6RsoYV VkQbln0O4il13Pe6XXxPNGsDPOzy47Ra7kfifQDCl6s/xplmR/et/NELmHFy/5RD8Qdp1SFr6Bs GtZkNc3ReqLIieTjnn49FT+wMhXglxItzeoTNI7zOeT836bsu1uEuL1E3HYVIslMqsd2VUjia6p tfZ2xlnKt4tzWz0Yr7Tf4FuAOdESJde8WAs9+wQOWAHjeK8eiF26a+yIQrHToN5Gft5H9qzxB5l hkhwAefnYNb8ununTnEBNkqgh6gip0cqxCIH7DgCRdjoOiVGMQA76KbMQVbBVDQQDR2VpW4nHAc vjK+fIm62BopVgolq2cHFaLD8J45l7a/trrFarPtsiUmlf+PY9Huccv9g1+v5WhL6IAaYF8jkyW SW8QL7v3dSlx7Zrq0dmRDA+A+I6gUQU9zmGJ+kkmR3t7oo0gL2DeVqCQJEZ7+qCREpwuF8qI+CQ NkVVEB9Ypdt37zDucW98ZP7JEftMwQKL5NxcimQMkKiPweI+ri0Lhr1LWio8cNEDfgp8x8AEWBE VetKRDj+QV+Qzc1sVhbjgfb7JsX2UUbpcSCeVO8Excr8S+oRX6cohm5jo411AZQfxsLCnurUY53 +msSzAqjLEAF5VA== X-Developer-Key: i=christopher.obbard@linaro.org; a=openpgp; fpr=F18BDC8B6C25F90AA23D5174634DC4F0687046F8 The eDP panel has an HPD GPIO. Describe it in the device tree for the generic T14s model, as the HPD GPIO property is used in both the OLED and LCD models which inherit this device tree. Reviewed-by: Bryan O'Donoghue Signed-off-by: Christopher Obbard Reviewed-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi | 11 +++++++++++ 1 file changed, 11 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 962fb050c55c4fd33f480a21a8c47a484d0c82b8..46c73f5c039ed982b553636cf8c4237a20ba7687 100644 --- a/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi +++ b/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi @@ -980,8 +980,12 @@ &mdss_dp3 { aux-bus { panel: panel { compatible = "edp-panel"; + hpd-gpios = <&tlmm 119 GPIO_ACTIVE_HIGH>; power-supply = <&vreg_edp_3p3>; + pinctrl-0 = <&edp_hpd_n_default>; + pinctrl-names = "default"; + port { edp_panel_in: endpoint { remote-endpoint = <&mdss_dp3_out>; @@ -1286,6 +1290,13 @@ hall_int_n_default: hall-int-n-state { bias-disable; }; + edp_hpd_n_default: edp-hpd-n-state { + pins = "gpio119"; + function = "gpio"; + drive-strength = <2>; + bias-pull-up; + }; + pcie4_default: pcie4-default-state { clkreq-n-pins { pins = "gpio147";