[PATCH v2 0/2] arm64: dts: qcom: x1p42100-lenovo-thinkbook-16: enable HDMI out

Jens Glathe via B4 Relay posted 2 patches 1 month, 1 week ago
.../boot/dts/qcom/x1p42100-lenovo-thinkbook-16.dts | 90 ++++++++++++++++++++++
1 file changed, 90 insertions(+)
[PATCH v2 0/2] arm64: dts: qcom: x1p42100-lenovo-thinkbook-16: enable HDMI out
Posted by Jens Glathe via B4 Relay 1 month, 1 week ago
This patch set enables the HDMI port on the Lenovo ThinkBook 16 G7 QOY. 
The definitions have been derived from the T14s device tree, with some
necessary changes. The HDMI bridge seems to utilize the enable pin. 
The required GPIO was derived from the AeoB dump of the Windows GPU 
driver, and then actually guessed with comparision to pinctrl-x1e80100.c.

Since the qmpphy involved is usb_1_ss2_qmpphy, and that usb_1_ss2 block 
is also used to operate the fingerprint reader, there's some possible
interference. The explicit port configuration on usb_1_ss2_dwc3 minimizes
this, however it works more reliable with the pipe_clk patch [1] that 
is discussed. Booting with HDMI cable cold-plugged results in the 
fingerprint reader not enumerating. Hot-plug and suspend doesn't kill it,
though.

[1]: https://lore.kernel.org/all/2564cdec-9726-4efa-ba07-a2f2646168c6@packett.cool/

Signed-off-by: Jens Glathe <jens.glathe@oldschoolsolutions.biz>
---
Changes in v2:
- reviewed and discovered / verified hdmi bridge enable is gpio120, 
  resolving the previous clash. Also, configured the gpio120 with 
  pull-down to avoid a floating pin.
- Link to v1: https://lore.kernel.org/r/20251220-tb16-hdmi-v1-0-18b1e20b396e@oldschoolsolutions.biz

---
Jens Glathe (2):
      arm64: dts: qcom: x1p42100-lenovo-thinkbook-16: force usb2-only mode on usb_1_ss2_dwc3
      arm64: dts: qcom: x1p42100-lenovo-thinkbook-16: add hdmi bridge with enable pin

 .../boot/dts/qcom/x1p42100-lenovo-thinkbook-16.dts | 90 ++++++++++++++++++++++
 1 file changed, 90 insertions(+)
---
base-commit: cc3aa43b44bdb43dfbac0fcb51c56594a11338a8
change-id: 20251220-tb16-hdmi-371648c80397

Best regards,
-- 
Jens Glathe <jens.glathe@oldschoolsolutions.biz>
Re: [PATCH v2 0/2] arm64: dts: qcom: x1p42100-lenovo-thinkbook-16: enable HDMI out
Posted by Bjorn Andersson 1 month ago
On Sat, 03 Jan 2026 10:00:22 +0100, Jens Glathe wrote:
> This patch set enables the HDMI port on the Lenovo ThinkBook 16 G7 QOY.
> The definitions have been derived from the T14s device tree, with some
> necessary changes. The HDMI bridge seems to utilize the enable pin.
> The required GPIO was derived from the AeoB dump of the Windows GPU
> driver, and then actually guessed with comparision to pinctrl-x1e80100.c.
> 
> Since the qmpphy involved is usb_1_ss2_qmpphy, and that usb_1_ss2 block
> is also used to operate the fingerprint reader, there's some possible
> interference. The explicit port configuration on usb_1_ss2_dwc3 minimizes
> this, however it works more reliable with the pipe_clk patch [1] that
> is discussed. Booting with HDMI cable cold-plugged results in the
> fingerprint reader not enumerating. Hot-plug and suspend doesn't kill it,
> though.
> 
> [...]

Applied, thanks!

[1/2] arm64: dts: qcom: x1p42100-lenovo-thinkbook-16: force usb2-only mode on usb_1_ss2_dwc3
      commit: 3802966a9c489708228b98b7265d8db87d8f6db3
[2/2] arm64: dts: qcom: x1p42100-lenovo-thinkbook-16: add hdmi bridge with enable pin
      commit: 67ce203eee94946768397a6fa16c43ee5292f31a

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>