* [PATCH v7] arm64: dts: qcom: x1e78100-t14s-oled: Add eDP panel
@ 2025-08-14 20:16 Christopher Obbard
2025-09-05 0:14 ` Christopher Obbard
2025-09-05 5:19 ` Jens Glathe
0 siblings, 2 replies; 3+ messages in thread
From: Christopher Obbard @ 2025-08-14 20:16 UTC (permalink / raw)
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,
Aleksandrs Vinarskis, Sibi Sankar, Rajendra Nayak, Xilin Wu,
Jens Glathe, Srinivas Kandagatla
Cc: dri-devel, linux-kernel, linux-arm-msm, Johan Hovold,
Rui Miguel Silva, Abel Vesa, devicetree, Konrad Dybcio,
Konrad Dybcio, Christopher Obbard
Add the Samsung ATNA40YK20 eDP panel to the device tree for the
Snapdragon T14s OLED model.
Signed-off-by: Christopher Obbard <christopher.obbard@linaro.org>
---
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.
This series depends on [0] which adds the edp_hpd_active pinctrl node.
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 (to be clear this is not a regression). This is fixed in [1].
[0]: https://lore.kernel.org/linux-arm-msm/20250814-x1e80100-add-edp-hpd-v1-0-a52804db53f6@linaro.org/
[1]: https://lore.kernel.org/all/20250814-topic-x1e80100-t14s-oled-dp-brightness-v7-1-b3d7b4dfe8c5@linaro.org/
---
Changes in v7:
- Remove patch adding edp_hpd_active since now handled in Stephan's series [0].
- Properly add OLED brighness patch as dependency [1].
- Link to v6: https://lore.kernel.org/r/20250731-wip-obbardc-qcom-t14s-oled-panel-v6-0-4782074104d1@linaro.org
Changes in v6:
- Squash patches adding "edp_hpd_active" node & its user (Johan).
- Sort new pinctrl node correctly by name (Johan).
- Use correct function "edp0_hot" instead of "edp_hot" (Johan).
- Drop review tags.
- Link to v5: https://lore.kernel.org/r/20250402-wip-obbardc-qcom-t14s-oled-panel-v5-0-ff33f4d0020f@linaro.org
Changes in v5:
- Move edp_hpd_active from T14s DTS into SoC DTSI (Dmitry).
- Link to v4: https://lore.kernel.org/r/20250402-wip-obbardc-qcom-t14s-oled-panel-v4-0-41ba3f3739d0@linaro.org
Changes in v4:
- Rework HPD GPIO into eDP device rather than panel (Johan).
- Drop review tags for HPD GPIO patch.
- Link to v3: https://lore.kernel.org/r/20250327-wip-obbardc-qcom-t14s-oled-panel-v3-0-45d5f2747398@linaro.org
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
---
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";
+};
---
base-commit: 33a21dab19b31540dfeb06dde02e55129a10aec4
change-id: 20250320-wip-obbardc-qcom-t14s-oled-panel-b74fed21d600
prerequisite-message-id: <20250814-x1e80100-add-edp-hpd-v1-0-a52804db53f6@linaro.org>
prerequisite-patch-id: 658fd45e0cb953e3c667a30f2cf78cfd3582d552
prerequisite-patch-id: fc665d8cdd099464e6fa4401489fde70b65bed30
prerequisite-patch-id: 13ff38b40f2dcb283be82485e88ca4efc249599b
prerequisite-patch-id: 7d02075f074ad8f32eeaf5ee8833d0c6a230cea8
prerequisite-patch-id: 380fed6c07ca1ecdb73768054454e47c984d00e9
prerequisite-patch-id: 1f8b24fc983fa23abc97512e15626394ce760ffe
prerequisite-patch-id: 7d29e2fee2b19cf2d12d54cca052b1c1fb808c9d
prerequisite-patch-id: c5bf1706ecf4df7782707bbf0d18a0568842b562
prerequisite-patch-id: 34889448fd92cdc916e7e19eac8446710d2a646a
prerequisite-message-id: <20250814-topic-x1e80100-t14s-oled-dp-brightness-v7-1-b3d7b4dfe8c5@linaro.org>
prerequisite-patch-id: ceed93f46ae27c7980c5b57022068daaad8dc8c9
Best regards,
--
Christopher Obbard <christopher.obbard@linaro.org>
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v7] arm64: dts: qcom: x1e78100-t14s-oled: Add eDP panel
2025-08-14 20:16 [PATCH v7] arm64: dts: qcom: x1e78100-t14s-oled: Add eDP panel Christopher Obbard
@ 2025-09-05 0:14 ` Christopher Obbard
2025-09-05 5:19 ` Jens Glathe
1 sibling, 0 replies; 3+ messages in thread
From: Christopher Obbard @ 2025-09-05 0:14 UTC (permalink / raw)
To: Bjorn Andersson
Cc: dri-devel, linux-kernel, linux-arm-msm, Johan Hovold,
Rui Miguel Silva, Abel Vesa, devicetree, Konrad Dybcio,
Konrad Dybcio, Douglas Anderson, Neil Armstrong, Jessica Zhang,
Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, David Airlie,
Simona Vetter, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Konrad Dybcio, Dmitry Baryshkov, Aleksandrs Vinarskis,
Sibi Sankar, Rajendra Nayak, Xilin Wu, Jens Glathe,
Srinivas Kandagatla
Hi Bjorn,
Any feedback on this patch ?
I'd love it if you could consider it for inclusion in your next qcom
pull request.
Or if there is any issues, I can send another version quickly. Let me know !
Cheers!
Chris
On Thu, 14 Aug 2025 at 21:16, Christopher Obbard
<christopher.obbard@linaro.org> wrote:
>
> Add the Samsung ATNA40YK20 eDP panel to the device tree for the
> Snapdragon T14s OLED model.
>
> Signed-off-by: Christopher Obbard <christopher.obbard@linaro.org>
> ---
> 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.
>
> This series depends on [0] which adds the edp_hpd_active pinctrl node.
>
> 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 (to be clear this is not a regression). This is fixed in [1].
>
> [0]: https://lore.kernel.org/linux-arm-msm/20250814-x1e80100-add-edp-hpd-v1-0-a52804db53f6@linaro.org/
> [1]: https://lore.kernel.org/all/20250814-topic-x1e80100-t14s-oled-dp-brightness-v7-1-b3d7b4dfe8c5@linaro.org/
> ---
> Changes in v7:
> - Remove patch adding edp_hpd_active since now handled in Stephan's series [0].
> - Properly add OLED brighness patch as dependency [1].
> - Link to v6: https://lore.kernel.org/r/20250731-wip-obbardc-qcom-t14s-oled-panel-v6-0-4782074104d1@linaro.org
>
> Changes in v6:
> - Squash patches adding "edp_hpd_active" node & its user (Johan).
> - Sort new pinctrl node correctly by name (Johan).
> - Use correct function "edp0_hot" instead of "edp_hot" (Johan).
> - Drop review tags.
> - Link to v5: https://lore.kernel.org/r/20250402-wip-obbardc-qcom-t14s-oled-panel-v5-0-ff33f4d0020f@linaro.org
>
> Changes in v5:
> - Move edp_hpd_active from T14s DTS into SoC DTSI (Dmitry).
> - Link to v4: https://lore.kernel.org/r/20250402-wip-obbardc-qcom-t14s-oled-panel-v4-0-41ba3f3739d0@linaro.org
>
> Changes in v4:
> - Rework HPD GPIO into eDP device rather than panel (Johan).
> - Drop review tags for HPD GPIO patch.
> - Link to v3: https://lore.kernel.org/r/20250327-wip-obbardc-qcom-t14s-oled-panel-v3-0-45d5f2747398@linaro.org
>
> 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
> ---
> 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";
> +};
>
> ---
> base-commit: 33a21dab19b31540dfeb06dde02e55129a10aec4
> change-id: 20250320-wip-obbardc-qcom-t14s-oled-panel-b74fed21d600
> prerequisite-message-id: <20250814-x1e80100-add-edp-hpd-v1-0-a52804db53f6@linaro.org>
> prerequisite-patch-id: 658fd45e0cb953e3c667a30f2cf78cfd3582d552
> prerequisite-patch-id: fc665d8cdd099464e6fa4401489fde70b65bed30
> prerequisite-patch-id: 13ff38b40f2dcb283be82485e88ca4efc249599b
> prerequisite-patch-id: 7d02075f074ad8f32eeaf5ee8833d0c6a230cea8
> prerequisite-patch-id: 380fed6c07ca1ecdb73768054454e47c984d00e9
> prerequisite-patch-id: 1f8b24fc983fa23abc97512e15626394ce760ffe
> prerequisite-patch-id: 7d29e2fee2b19cf2d12d54cca052b1c1fb808c9d
> prerequisite-patch-id: c5bf1706ecf4df7782707bbf0d18a0568842b562
> prerequisite-patch-id: 34889448fd92cdc916e7e19eac8446710d2a646a
> prerequisite-message-id: <20250814-topic-x1e80100-t14s-oled-dp-brightness-v7-1-b3d7b4dfe8c5@linaro.org>
> prerequisite-patch-id: ceed93f46ae27c7980c5b57022068daaad8dc8c9
>
> Best regards,
> --
> Christopher Obbard <christopher.obbard@linaro.org>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v7] arm64: dts: qcom: x1e78100-t14s-oled: Add eDP panel
2025-08-14 20:16 [PATCH v7] arm64: dts: qcom: x1e78100-t14s-oled: Add eDP panel Christopher Obbard
2025-09-05 0:14 ` Christopher Obbard
@ 2025-09-05 5:19 ` Jens Glathe
1 sibling, 0 replies; 3+ messages in thread
From: Jens Glathe @ 2025-09-05 5:19 UTC (permalink / raw)
To: Christopher Obbard, 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, Aleksandrs Vinarskis, Sibi Sankar,
Rajendra Nayak, Xilin Wu, Srinivas Kandagatla
Cc: dri-devel, linux-kernel, linux-arm-msm, Johan Hovold,
Rui Miguel Silva, Abel Vesa, devicetree, Konrad Dybcio,
Konrad Dybcio
On 8/14/25 22:16, Christopher Obbard wrote:
> Add the Samsung ATNA40YK20 eDP panel to the device tree for the
> Snapdragon T14s OLED model.
>
Hi Christopher,
I have this model and the prerequisite patches in my tree and using it
daily. Working very well.
Tested-by: Jens Glathe <jens.glathe@oldschoolsolutions.biz>
with best regards
Jens
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-09-05 5:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-14 20:16 [PATCH v7] arm64: dts: qcom: x1e78100-t14s-oled: Add eDP panel Christopher Obbard
2025-09-05 0:14 ` Christopher Obbard
2025-09-05 5:19 ` Jens Glathe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).