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: 14035733 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0EEF3C28B20 for ; Wed, 2 Apr 2025 09:58:50 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4681610E3BC; Wed, 2 Apr 2025 09:58:49 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="mIaFWywM"; dkim-atps=neutral Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5911110E6F0 for ; Wed, 2 Apr 2025 09:58:48 +0000 (UTC) Received: by mail-wr1-f45.google.com with SMTP id ffacd0b85a97d-3995ff6b066so3740424f8f.3 for ; Wed, 02 Apr 2025 02:58:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1743587925; x=1744192725; darn=lists.freedesktop.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=mIaFWywM3tPC7ZgJs0Z509KnWf6NjIPD/HxuOAEeeOv9PJUSrQfEhtWVAHTrelyWyB sEfu97KnZf8LaE9Hyb9Hmf3PEymaEeTrewxWaI0S2bMkaxmLoZo2kZ8N5jg3J0ihpQYx fyQE1l3B3KpRhA4ZPXxtjgf2rQObkXQKMHijLLvx39G3BDkFEScdAR388PGbwQQx3rOi jxkW+qcN2IiT8VGYfi+AhcNizdgEQGpHZBMuS9EsP/Q0Bqx4yltsmQJO574kbPjzS0Ub 0BU1cVoUFL7DU6N1NmmyjqOd3a/zFvuaBJmTzYJ1st5EmjMEUr4xScSedWoIfBULXDXM aWTw== 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=qkUQGprGsfd7eXm0W9/3WPg6bSd1FUqVsMtZT193l/KvQQkaQm/o5wO4M9/vZ1dsQd H27JATwe13tK2Bs2AHMBU7+ChzBI4TL0rQxUvbIqTO/K5DYAbfglIMfS2XeikK+ahdI7 LbB1X3XhfmNo4yoPT1oZBQgnKmvhV9FmzRMzSRBoHbgczcI9klUgI45GNNjMObG8Z9f5 UJdRAstz70YKSCPmG4hljZk8GhAgqa3v8HLTeLnKH/I71MVWUGE4VzigqLPQzcFP+1uG JanUZvLQChnZTtxQM32RKnh28tNgshzRy8lqydMS4QLewzqbYKLFczWf0u8Ln2YkbpEw jaFA== X-Gm-Message-State: AOJu0YwAXewr+G0bKwzswgyJgvmaWPSRsNQmsYk5MP16SanpPXQumJLX /yBo6+ITNXdVabCmmYaFZ2GBTqADkcnZ3HWryvldJeYZ9CV4NW7otuyc6lrgZFc= X-Gm-Gg: ASbGncvQs2mPBc3VZ7lQTomtqEeJ8Sa22w0TmR7oLw7ixgWaKxDvfr49vgVWBboKZvl VbWc6OtqPgdD5HytEzccVAQinxhqJ0RhqWWssCayIvaZAKKbWUpcqJYlMXzE8w/z7GYBQ6U23Ny E+3glEclLNt6RaGdysaAUyVZ/Wuo1dMDxJsz+4OLdk8atysZKJuXhddes6CvdL1AxuSAd9YpgWd 4TSrXixwrauTV7+PgEttxzTxBq0pqU4RIq7dJL0wVllco/YIRnc5rIf+unNF0YDQ6Wnmim8Vvce NZ/1Yn6zkTxv2K43hiWoQKxUN0dkw5CqZQk7dDEX5S4Hx5K5cJdEV/TF 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 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 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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"; From patchwork Wed Apr 2 09:58:33 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Obbard X-Patchwork-Id: 14035734 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3F6B4C28B20 for ; Wed, 2 Apr 2025 09:58:53 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0590E10E72B; Wed, 2 Apr 2025 09:58:50 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="e16DTmPO"; dkim-atps=neutral Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7C05010E3BC for ; Wed, 2 Apr 2025 09:58:48 +0000 (UTC) Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-43cfebc343dso48387785e9.2 for ; Wed, 02 Apr 2025 02:58:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1743587926; x=1744192726; darn=lists.freedesktop.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=WlNr7s9//ER/SikIA2XjkSmK+up9sy8cyHVWwjM89l8=; b=e16DTmPOFruXl0jm+khS9I61IUa5M1I1S6qEdSpx6cgoPJFOA+tHQpKDF9YFKp1Gak 4E/g61+gJQucP0qfFqPyuhKEo8WV7zhkh1mM1gr6lXI9/+VCRWiLeSMS1hjdjxoPZ4Od JDcTmtjX28x4ISfE+i33WeIXqY86RTZhoabJcCRxxPRarBAR4XiqEreMPqUYc9uw1kB7 6MC5BWKDVhUBDq7ENyIYl/e2iZSMOKotvQaqYcPUiqEiVt1R3tt15tqSMFtu1YPINAwP kslj9NaRNqO7N51D4ypkDxaGrDop5hygrou1Z14kx80PDcvE8XUsUcWb4XfMgwyNovKN tC7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743587926; x=1744192726; 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=WlNr7s9//ER/SikIA2XjkSmK+up9sy8cyHVWwjM89l8=; b=iPFREDaeRv4rdVr3QJ3psRupPaY79mh6/FsPJEK6Ap8ckVbgyYNUUcZeXc/aTmDpI3 5fat+LOo7jkGucPZ83vYS5mKfzRFdk8tAnP0OLBAangrhZjyemBYMuBQ2lvYcnMAQKiJ FBIMF2b3YPtCPEwpTFN8g07Fb6yR2xM7x5on78k6lyaOzmVqa4labx96J8Kh9Hl6nvQp mwl+sTFvKxTCJU7QY3LnixExM/DKgCBZ1OfrYg29qLL7DQylbBMvB12cyMUQpIEe35CC ZslhnoQ59cmgICM1hFU8/Ogo1M436BjkJt+BNMSQ5U2E74Z3a/AQjiiYVDQfr0kSOJYw 5Opg== X-Gm-Message-State: AOJu0Yy3OxylZE8RLP2jj5Fz6WbWqNXlYRDYoksYZ/qsvEAnGSJzNvgd NqI09nfOx8UJWSn1RBjWDepU8Pu4Azjk9MISQnIieDcGY0bKCa15QtyOuEboQ40= X-Gm-Gg: ASbGncs2z+HBx+DANoLDvcf5EJGE1JXJGEt3Q7y+eZSyfofSJ+RrWH4AlCktgj41nob mpz7GZfx6pCkuZzoxxLu1+2iKTF1OXwvc9eL9MXgilJ1cCCGNSkadVFkyTNykdiYXrLI/VWDBBC p1A9GxC4uIiAtN4VvUmHmELLPHu1/jNsWGvXL01oPJrZWlPo67nYgg1qoD7TPe0AViO3dQdGOm0 VG+PG9lMmpTrNFnkN26smQmkwozY3OkJkStLe+NNW9PnuLs0253Z7PR2114AB75M42Lt70msBf0 Ao2U0D8/SqYZYkQAOr+LgiRxYHj2Uh7r28FsWYtJOa6ltDixS6k3FDRL X-Google-Smtp-Source: AGHT+IFTrd+aG1QnoeDWN5Twws3fGm4IGPhSV3zclRttiqm7JC1zigHY/sr1x2gYCsORgZ8e0lDQ8g== X-Received: by 2002:a05:600c:68a:b0:43c:f4b3:b094 with SMTP id 5b1f17b1804b1-43ea9f8dae7mr37628625e9.6.1743587926052; Wed, 02 Apr 2025 02:58:46 -0700 (PDT) Received: from localhost ([213.215.212.194]) by smtp.gmail.com with UTF8SMTPSA id 5b1f17b1804b1-43ea8d16d35sm34705285e9.0.2025.04.02.02.58.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Apr 2025 02:58:45 -0700 (PDT) From: Christopher Obbard Date: Wed, 02 Apr 2025 10:58:33 +0100 Subject: [PATCH v4 2/2] arm64: dts: qcom: x1e78100-t14s-oled: add edp panel MIME-Version: 1.0 Message-Id: <20250402-wip-obbardc-qcom-t14s-oled-panel-v4-2-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=1087; i=christopher.obbard@linaro.org; h=from:subject:message-id; bh=NM+r1eddNSJ+PhsAt5mpIMaaO5aqtw1lqIQpoUzxeuo=; b=owEBbQKS/ZANAwAKAWNNxPBocEb4AcsmYgBn7QpThFC4dZp45FqIClVwad+jsKVUrk56+VO/Q SuTYwy/5FmJAjMEAAEKAB0WIQTxi9yLbCX5CqI9UXRjTcTwaHBG+AUCZ+0KUwAKCRBjTcTwaHBG +Ml6D/0b9LsPEQpFxaORUDI4PxBYS0vegaZinECmfYatrMEJZ0CRoesXn4RqP0Rkz8O1l+VdZ99 vRmgfsW0Gxp1qRzh7oxa6sEk+K5Hk7ufI4Qig7CntNHwZwfkqW3+jos1MTZypwEGK3CmpjOoPNx mnnwxfzaOzUxtu8iuKdI7fGFSXYYQnNGlggPuW2NkKHwuM6juYbGvyrr7Bs0L1DPiF5PpDA53sr V56jVUWnss6DVU4pJ9v1vsiOpJpg9BVtH/6D07SJ9o8wbM0pYair+IfFdkLLvOidUGySWODI8vm 7BScqTbK6wWBpoxSF6q1nuZOqYatUDUHF37LBjr6A450gAcTbqJRpk/PQkV2YNkoUiOll49GriQ 5FwnWfq1AAuRBQS/CoUrVhUfVwlLh1WIB7wELoflpqeMK7ErAtd3b6pcRle5U8m4R1RnFepnUfp qnOeFQDGX1M3wNQn1/NN86UR8XZdOhJjf3ZRQQqQ+fBTel/uBb6TMhJluZzU3Zi3D8UuDmYMvIg LXpsSwKSCJ5zcMB1oP2zL0MDpRy58QWFgg3nQMSX47RUY6RYvXfU6Qp9uxEQCNOQnVx/CdgZyz6 dfRrpSdK724AJ6HvUuCW4jPS+ZdI2xc8NqjpIe/i21nws4gS/pO6wemnISaryic2YzSxoIqOxrZ XjJZSTNiPXOlmPw== X-Developer-Key: i=christopher.obbard@linaro.org; a=openpgp; fpr=F18BDC8B6C25F90AA23D5174634DC4F0687046F8 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add the Samsung ATNA40YK20 eDP panel to the device tree for the Snapdragon T14s OLED model. Reviewed-by: Dmitry Baryshkov Signed-off-by: Christopher Obbard --- arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s-oled.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s-oled.dts b/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s-oled.dts index be65fafafa736a0401a5872c40f69cb20cfbbd90..d524afa12d19b2a6f22a24b9bed6b6b40248375f 100644 --- a/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s-oled.dts +++ b/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s-oled.dts @@ -10,3 +10,11 @@ / { compatible = "lenovo,thinkpad-t14s-oled", "lenovo,thinkpad-t14s", "qcom,x1e78100", "qcom,x1e80100"; }; + +&panel { + compatible = "samsung,atna40yk20", "samsung,atna33xc20"; + enable-gpios = <&pmc8380_3_gpios 4 GPIO_ACTIVE_HIGH>; + + pinctrl-0 = <&edp_bl_en>; + pinctrl-names = "default"; +};