[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250306090503.724390-1-abel.vesa@linaro.org>
Date: Thu, 6 Mar 2025 11:05:01 +0200
From: Abel Vesa <abel.vesa@...aro.org>
To: Bjorn Andersson <andersson@...nel.org>,
Konrad Dybcio <konradybcio@...nel.org>,
Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>
Cc: Johan Hovold <johan@...nel.org>,
Dmitry Baryshkov <dmitry.baryshkov@...aro.org>,
linux-arm-msm@...r.kernel.org,
devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
Sebastian Reichel <sre@...nel.org>
Subject: [RFC 0/2] arm64: dts: qcom: x1e78100-t14s: Rework devicetree for LCD and OLED SKUs
The Lenovo Thinkpad T14s Gen6 comes in different SKUs when it comes to
panels. The only difference that is important is whether it is an OLED
or an LCD. The way that backlight is handled in devicetree between OLED
and LCD forces the need of two separate DTBs.
So create a common T14s dtsi that describes everything except the
backlight handling, by renaming the existent dts to dtsi. Then make the
legacy dts the LCD version, while adding a prepended oled dts. Both
include the generic T14s dtsi.
For the OLED version, I do not have HW to test it on, so OLED specific
bits will come at a later stage. Still, add the OLED dts in order to set
the stage for it.
Sending this as an RFC in order to get an agreement on the way this will
be handled from now on.
Had to format it using "git format-patch" since b4 doesn't currently
support -B when formatting the patch, and the renaming of the dts into
dtsi (plus the panel properties being dropped) would've not been visible
enough for reviewers.
Abel Vesa (2):
arm64: dts: qcom: x1e78100-t14s: Add LCD variant with backlight
support
arm64: dts: qcom: x1e78100-t14s: Add OLED variant
arch/arm64/boot/dts/qcom/Makefile | 1 +
.../x1e78100-lenovo-thinkpad-t14s-oled.dts | 6 +
.../qcom/x1e78100-lenovo-thinkpad-t14s.dts | 1190 +----------------
...dts => x1e78100-lenovo-thinkpad-t14s.dtsi} | 6 +-
4 files changed, 64 insertions(+), 1139 deletions(-)
create mode 100644 arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s-oled.dts
rewrite arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dts (98%)
copy arch/arm64/boot/dts/qcom/{x1e78100-lenovo-thinkpad-t14s.dts => x1e78100-lenovo-thinkpad-t14s.dtsi} (99%)
--
2.34.1
Powered by blists - more mailing lists