From patchwork Wed Apr 2 09:58:32 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Obbard X-Patchwork-Id: 14035731 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 E7E71235BFB for ; Wed, 2 Apr 2025 09:58:46 +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=1743587928; cv=none; b=EJij916J1z6l9IBLUMXI6K6VtoTyGC/6lKF49nI8SIwmbXtP06OgmcwlqCu/gJKQT6rdhPqvaD5XZEJNrAQncvkhgCHNnggLfU90c4BzHCUIp0BtAVJEHYpxkawe3GWEYUm0/4f6wsu8dqETX8pe9fqKvsCYNRBCkUV7FWw+2HY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743587928; c=relaxed/simple; bh=hotZmPorZb9jdirRsPwukgzloHcJkty6Am+HrOSlUd4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=duyQPGdEugnYsgcdM/lLEyO4abg1QtgFOJ0b3D7FqPIJuyiwEQO+0PlbwDUGv+d9sZhMpuhY903z37gQ7iGYIsi27Uy7EX3xXJ8N7WrZXyFdb05ycMTZPr88hFNH6alCBnyFFNNp9tOa9qhZ/LORcqp7P9H15LO0nyc5b8woobo= 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=HkbYJSrI; 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="HkbYJSrI" Received: by mail-wr1-f49.google.com with SMTP id ffacd0b85a97d-3995ff6b066so3740425f8f.3 for ; Wed, 02 Apr 2025 02:58:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1743587925; x=1744192725; 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=utN0oqIDcrT2zxK1IDRytgewtc+C2bsT6oGkn2JxGrw=; b=HkbYJSrI1hpgC8f8uG8QS6Vvt2lLuYMlykoLecNnNpycMO7I9lIorqoRCczjP/PWMw nR7TPOuh7A0D48BnyQmqNG5ldG+6TxM9C5MbRIhHukKW7k82cGS9tV5Jhkpj8rtDsCSH QlJbW8YlvRqf9Vgk3SQR7a9FZEtT+83CYu/snu34cBklc9uHEwJpczjr342EevBmFetP 5RSwoRgP2UqtNzBCtjdy/RdvdPeHv5g7qITcdYACJ+Q9PYnQ7Air0HnS1B+tTUZUQJW7 dW1eDFbR7rnDapCDaJh+kjxRMcLah+nCD1G4EkuLuUPyfIQI5CzIp1zDdSK7zMCzh1ie OW9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743587925; x=1744192725; 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=utN0oqIDcrT2zxK1IDRytgewtc+C2bsT6oGkn2JxGrw=; b=liP3kJZg6G1ScZVFuBOO9IA2btSgz6BTE9gQDbVZqpe5xxjZ2O6gj67o8cn0afEnRG ZV/3o1mj7/xb2+hyA63dRe0Pfa8LaZgeLoYN2wWXnrDgSVTCcOR7WckhIML8oCUw/Jyy entuhoXvcW8OjtHrmryZveyTfkyJ3WKebr6ASeqSn4G1I+Fmf3cf358+f8BXkSBW4dne JXhU7lR2VE2rnk6h7JcrPAAgfMuFLZ7NrxL6tjjxlsVIdFT4XvkWeulcNXut5QmKakCa jTxDw2bFtvzQM/FyFk4oDVCqjHYbTKmvR8LRSO1WWHPO/w43jCf1JOjWEtwYQPrJjBzh YeHQ== X-Forwarded-Encrypted: i=1; AJvYcCUAz4atYKh1xTD9D+64p9BCUQAeZr9RDhVB6nSPgANvdoPXF/TWo5d8AejOzk8boukWX15m412IKZaRStjn@vger.kernel.org X-Gm-Message-State: AOJu0YzrqE/pX04Su3pZMt8jlHpQQBVbRdzn6l43bc7HogZZp69oi+w+ GXfE9FvarlpBi7yXUVrXdUvH4OpvHUxs0XuB7dCMnAfHMVI/hY8QIjSeKk9Dfjs= X-Gm-Gg: ASbGnctNZ2WZ6pAhJW3KuuQfshKgBmE9f2/X+Y1uEqU160L2rp3AjfayiGFOTXkelON 828qavEd1ZR5jsSUHRi8HtKQn4ZDXuw0Eo1h4sNQr682q+/s5cH+NyV2fi2LD4CT8aSgRZCbUGP QJT2P6Fiftvwwcz5VTJmbqiDNvRM/6kTmuN0Dqw3M6eBRUZ3e8KAe6H/Tf2USdMuSrmd7li+TnH 4Vkig/7zGb6OTkqjUHTAh++a6DiHk4EP9L5ECe5Dh182nCt1zI6/70moCBfbgSulFpvC+D+P/JM tEl2vgYsBJzdMshihIdoo/+/yAne/+TXIpgSU96RZXylC/KmVmtpFyVz X-Google-Smtp-Source: AGHT+IEOQi872DGX/BWG/7PZr47mmBBiyqaeCfOJjhbYXULx0/oJQFipZz6WgGJyguMaUHkybYGruQ== X-Received: by 2002:a05:6000:40ce:b0:39a:cd84:a77a with SMTP id ffacd0b85a97d-39c12113939mr12073691f8f.37.1743587925158; Wed, 02 Apr 2025 02:58:45 -0700 (PDT) Received: from localhost ([213.215.212.194]) by smtp.gmail.com with UTF8SMTPSA id 5b1f17b1804b1-43eb6190bc4sm15563475e9.31.2025.04.02.02.58.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Apr 2025 02:58:44 -0700 (PDT) From: Christopher Obbard Date: Wed, 02 Apr 2025 10:58:32 +0100 Subject: [PATCH v4 1/2] arm64: dts: qcom: x1e78100-t14s: add hpd gpio to dp controller Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250402-wip-obbardc-qcom-t14s-oled-panel-v4-1-41ba3f3739d0@linaro.org> References: <20250402-wip-obbardc-qcom-t14s-oled-panel-v4-0-41ba3f3739d0@linaro.org> In-Reply-To: <20250402-wip-obbardc-qcom-t14s-oled-panel-v4-0-41ba3f3739d0@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 X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1276; i=christopher.obbard@linaro.org; h=from:subject:message-id; bh=hotZmPorZb9jdirRsPwukgzloHcJkty6Am+HrOSlUd4=; b=owEBbQKS/ZANAwAKAWNNxPBocEb4AcsmYgBn7QpT8Rj3nswbju+q78Oxs8w0VOLDQ283LKUHD N8EVUpv5Z+JAjMEAAEKAB0WIQTxi9yLbCX5CqI9UXRjTcTwaHBG+AUCZ+0KUwAKCRBjTcTwaHBG +D1EEACewDpImJIERkGTNf8Tnlx96rG5Pmvg98xt6EJOnyPnqlDKRa4HQyl3oFaMClcdGiaqX2t m5r39NWjQf65zxUHfI6QRF7zQx0EfUQfcJ5ZQXexn/spNZoWHown39IqGkKUIjMb5rMuBx1nHF+ FknHSf9P0QcmzIkg1x08qwCgsYPbwOOyCkPcojYofZpCsvPExKsvMvY2QGnIsEP0xUg4PpY3wND jZ1AuF9FEpZ1TeXFwjq5gQ2iWg+20JXaJXAYRNKZJTamRE1LgmfFfwIl/0KliRKxI7MgIqzSQVK Qxxs4q0V8tMlkmqCBDl5A8PFtPsS1uKSSBS4yN56c7M8PaaZJjgJ5gfoCkjwWdAn5y9KVWx9rI/ RpeXHeTgNGQOaYZzG479n7xeXnMevLNqovQwPaqdTb4o8ybKkMv4pJt1o+MOJqXUEKLMETmlt5X yJrFBkBdCRqnjCQ2GFwu/25fff5O0FaeBPKoW35Ps1HEXSEAIf9FCqxXI/+2GZ4E2miyr0qyuwI 25oA9fCTOjSQ/9vHBd3AYryIi2VbKj454jGcg6PoOheT106Fje+HkI+PIl24fyy2I9vJ2FAmHqQ pHi5CnWJcObu/sjaK10OyMimQ+br6QMZs5rdjuWdnlEJ/B11oj+D1oUSPa/eP/oKP1mCEb+I4fN jD8kmL1/70sY8pA== X-Developer-Key: i=christopher.obbard@linaro.org; a=openpgp; fpr=F18BDC8B6C25F90AA23D5174634DC4F0687046F8 The eDP controller has an HPD GPIO. Describe it in the device tree for the generic T14s model, as the HPD GPIO is used in both the OLED and LCD models which inherit this device tree. Signed-off-by: Christopher Obbard --- arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi | 8 ++++++++ 1 file changed, 8 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..b0dbe4eaa77e5a6f862fd0db2a3c91db2aab5030 100644 --- a/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi +++ b/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi @@ -975,6 +975,9 @@ &mdss_dp3 { compatible = "qcom,x1e80100-dp"; /delete-property/ #sound-dai-cells; + pinctrl-names = "default"; + pinctrl-0 = <&edp_hpd_active>; + status = "okay"; aux-bus { @@ -1215,6 +1218,11 @@ &tlmm { <72 2>, /* Secure EC I2C connection (?) */ <238 1>; /* UFS Reset */ + edp_hpd_active: edp-hpd-active-state { + pins = "gpio119"; + function = "edp_hot"; + }; + eusb3_reset_n: eusb3-reset-n-state { pins = "gpio6"; function = "gpio";