From patchwork Thu Mar 27 16:56:52 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Obbard X-Patchwork-Id: 876568 Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B8314218EB8 for ; Thu, 27 Mar 2025 16:57:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743094634; cv=none; b=tDDEarQ0+nyDKkfUQ5FwYGbe/lCV83XKXc6mFo/p7TGBPprHVmGK9CRXPZAGgdbC6boF91R7Qd75bxcr4SqlrWo4Zr2pXTo2x/J66xZ1+V2ieCH5EwMmOxnorWJkYvHoPnyUHyIKWqKgNTug19DS5ffUvMYBfuj7vSloSFsZXwU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743094634; c=relaxed/simple; bh=r71amOuyfbTTG0ciVqmyZyygDjkrvOhR+gQqM0AucCs=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=thEvQSs85y6OnVPqYFa56S9OSaspfUKLwM16NL1FxBLdkHhl0juX1URpUmDpqByCmcDGGZnwRfbIcz4sGjHC5UD24Usr51y0r5sHjjIOp5ZaBKkFiyY0NG14a/+zFmhUmIDHT11BUBSRdYcYScZo2mGF4ngP/+UGzWAPV3evPZs= 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=qDt7q/Js; arc=none smtp.client-ip=209.85.221.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="qDt7q/Js" Received: by mail-wr1-f54.google.com with SMTP id ffacd0b85a97d-391342fc1f6so1037996f8f.1 for ; Thu, 27 Mar 2025 09:57:12 -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:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=eceyotKP6SWKc39dnp272H+Imp9sLNyAbSh4/382Pig=; b=qDt7q/JsSk2A0JRnCfz1JC+bnAIccHvKtm9QZiQcXOC1ZZCYb/2f5KdIkn2l12lEda fQxJQXooDX03LqyTwULnPT82uzQumNLWA6daRmZTcDtCjcbneRxIbXpIOLxqY7+TmkzU a0dzbiBEnER/OUp/xnyuFQaYcsFF699XINsjmj8Gd68A7sciOcZwiC2N3wIfkaCtXCAI EjGVJLZRfmDtdX8FnhQl9FFUlgO8nNqDUEof35jI5dqVyGrDKzadWevXcNWruWZlgP1G n4l/svmeUgpW7RvfEORpcr6TJ9WgYWakkCySq5R9uanUIwLshCS6//1qTPOSY2U/vgS4 3WLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743094631; x=1743699431; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=eceyotKP6SWKc39dnp272H+Imp9sLNyAbSh4/382Pig=; b=iCZH+9FoDXqE2JF2mqfVUfyC5AwzWt3GlfEOSFnuc4W7mEvseqq+n3tQp3tKquJkCs 2OwI+GJPlyB2XgaWbZQmJOelI3uDrvhkF5nRbNoRWqFaoGIXG9zXiNpe+QORkNl/j6mD VZZz5KkztRaPcQpUFD7S55vOYMO6jynMB89aEHlJQ3DQ7ffTtWlEvMWY0Sii7zcD9FlX lD3I4YNGR0N95RaJYFRVWxTkmoB1kPrsZ+kMWIUq10x7E5ok/C3Et/+yjynmu1KPeX0v 9YX7M4pg4FCg06vTV10FH0PkMTbF1RlOI8BsSf4T8qnYAjzHMV1UanZnWO1e88mBHBD8 2fkQ== X-Forwarded-Encrypted: i=1; AJvYcCXfThKPTZw2SzUoZ/znihITR2Dt322JiIApRZ6t8C0hCuGCdLOTDLhvbUwyyKnnTHaKmks07QNcM9kv/NjH@vger.kernel.org X-Gm-Message-State: AOJu0YyDfbbP6BqeTkjlZjg4Y7ZgunZFCUcy1YmAFen3YimGsdff1XrR tiJjeFPxRev3Y8KtF2AhHbIt8/QiZkCss2ITr5B8z6DocTgTTmWSw/5CJMRTsjY= X-Gm-Gg: ASbGncvlUTRSYZtIRQOpd42nPp/BaPrsAWMwXxym78B7Oicm/BE+tnjt6VRZjGLe0cf OE9LUzMx8XSO2q0DGikfmxwC3glIudQwxyE0TCpSwCwTo9F7U3gM3WO9gR71ZvqGuEzHBAKyYPB 0hyacJQ61pBD2mXtqOAUZvbltSe9ty2BQvPv58FlalvXiI5cKXsFiYaq/H46u2KdWwlAr5pCDLe lJ0Bga0PqT/xQS5XYb8CqDQASIxxvIxBd1YhPhWr/QqjszuaPOj2SNixLIi0ueQpI/x5nRak5gi y4o0PHt+mC2wAhVYxaoNkXRewMxUXBysanaPKIQqr0TlOSXp+Tcd7whdo4plUDS6QaQ= X-Google-Smtp-Source: AGHT+IGwo2+FL5Art0sA1XG2N0GmPu+lJHsTC9zLittsqBZNMEBc6/x0iUg6giIaGmY7yu/lvIMCzQ== X-Received: by 2002:a5d:598d:0:b0:394:ef93:9afc with SMTP id ffacd0b85a97d-39ad1741b23mr3978291f8f.18.1743094630932; Thu, 27 Mar 2025 09:57:10 -0700 (PDT) Received: from localhost ([2a00:23c8:b70a:ae01:9cf7:b69:fc50:980f]) by smtp.gmail.com with UTF8SMTPSA id ffacd0b85a97d-39c0b7a41b4sm40430f8f.85.2025.03.27.09.57.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Mar 2025 09:57:10 -0700 (PDT) From: Christopher Obbard Subject: [PATCH v3 0/2] Add support for OLED panel used on Snapdragon Lenovo T14s Gen6 Date: Thu, 27 Mar 2025 16:56:52 +0000 Message-Id: <20250327-wip-obbardc-qcom-t14s-oled-panel-v3-0-45d5f2747398@linaro.org> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAFSD5WcC/5XNsQ6CMBSF4Vchnb2mLSDi5HsYh/b2Ak2QYkuqh vDuFibddPzP8J2ZBfKWAjtlM/MUbbBuSJHvMoadGloCa1IzyWXJc8nhYUdwWitvEO7objCJIoD rycCoBupBV0VDRgpz4JwlZvTU2Od2cbmm7myYnH9tj1Gs6x94FCCAlxoLbdAcpTr3dlDe7Z1v2 apH+SmWP4gSOFCtscLa5BzxS1yW5Q0wk/ZEIwEAAA== X-Change-ID: 20250320-wip-obbardc-qcom-t14s-oled-panel-b74fed21d600 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=1822; i=christopher.obbard@linaro.org; h=from:subject:message-id; bh=r71amOuyfbTTG0ciVqmyZyygDjkrvOhR+gQqM0AucCs=; b=owEBbQKS/ZANAwAKAWNNxPBocEb4AcsmYgBn5YNhzz/2dxW57X8uzlPTVc+/7CMjWfzMM8rfN P74oMVnmuaJAjMEAAEKAB0WIQTxi9yLbCX5CqI9UXRjTcTwaHBG+AUCZ+WDYQAKCRBjTcTwaHBG +HTXEACC2cEKrGHocWdTLXewOtiNrR8tX5WSsU3WY6bUChx12yyEz7ErWw2MH12bAc5Yhb18xXz OUQfrmK0sy3xBLlDvuKYDu6i7fYyfl5sO8rs4AC8qVhXLkTmBvNt3MrQsVfLwBAd5IuFaGxDipd cgyt3E8vnIarzeDTlIkFUrvrtLoXj1NWDbjR7GDC5js+3wcMLB2lYPkhGHgF65ige3ckHiKtFOy fBvGeFJ/bJ4SbsgYPA4TAJdBAie0fcrbVekBVzPcfp/BUi3n/p3ZbCN2Kl+hKA+1USe3neFYTv7 BnfwUQ/luXWI+64OU6lErH3KMZE1p2o6vwYy8aD1mrK0LZMtzjJcpe2aWFxe2hsyw6kQaptoVGq CDdL9Bvu/CKr9ns0Vml0gnmsT4nP0nZDAAH9hqxPSP3cKf7/E9Z/tRMgearfKPZevFlGNUgHjJb brNFkusFsuzfshcywWYa1A2DJqjTWFkV9hLZbzPOXsf5V7B6U5QYeFF5ywNaKFjQ9ctNB7VYuJX behsJdZFrdRiuN8x4CNnJqBhWEwqYoVjOhc3o1OF0iA/eXKKcZXJj/g+eJk3lVGgf9zIRXWmTyu dzscG94Y6WqRasH7CLqxyyu0jARd00PR+7zki5rQUdWV7fwUMEMn9+pRs47AfNScsjI121/g+XI X5fWZ5aeLA09O1w== X-Developer-Key: i=christopher.obbard@linaro.org; a=openpgp; fpr=F18BDC8B6C25F90AA23D5174634DC4F0687046F8 The Snapdragon Lenovo T14s Gen6 can be bought with a number of different panels. This patch series adds support for the OLED model which has a Samsung ATNA40YK20 panel. With this patch series, the backlight of the OLED eDP panel does not illuminate since the brightness is incorrectly read from the eDP panel as 0 (to be clear this is not a regression). This will be fixed in a follow-up patch series as it does not block the device tree patches. Signed-off-by: Christopher Obbard Reviewed-by: Dmitry Baryshkov --- Changes in v3: - Added review trailers from v2. - Dropped dt-binding documentation patch (applied by Douglas Anderson into drm-misc-next). - Dropped eDP maximum brightness patch (will be sent in separate series). - Removed duplicate nodes in T14s OLED device tree. - Reworked WIP comments from commit messages. - Link to v2: https://lore.kernel.org/r/20250325-wip-obbardc-qcom-t14s-oled-panel-v2-0-e9bc7c9d30cc@linaro.org Changes in v2: - Use the existing atna33xc20 driver rather than panel-edp. - Add eDP panel into OLED devicetree. - Add patch to read the correct maximum brightness from the eDP panel. - Link to v1: https://lore.kernel.org/r/20250320-wip-obbardc-qcom-t14s-oled-panel-v1-1-05bc4bdcd82a@linaro.org --- Christopher Obbard (2): arm64: dts: qcom: x1e78100-t14s: add hpd gpio to eDP panel arm64: dts: qcom: x1e78100-t14s-oled: add eDP panel .../boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s-oled.dts | 8 ++++++++ arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi | 11 +++++++++++ 2 files changed, 19 insertions(+) --- base-commit: b6ae34803e82511009e2b78dc4fd154330ecdc2d change-id: 20250320-wip-obbardc-qcom-t14s-oled-panel-b74fed21d600 Best regards,