Re: [PATCH v3] arm64: dts: qcom: x1e80100-lenovo-yoga-slim7x: Add lid switch
From: Bjorn Andersson
Date: Thu Dec 26 2024 - 13:27:34 EST
On Thu, 19 Dec 2024 17:05:08 +0100, Anthony Ruhier wrote:
> Add the lid switch for the Lenovo Yoga Slim 7x.
>
> Other x1e80100 laptops use the GPIO pin 92 only, however on the Yoga
> Slim 7x this pin seems to be bridged with the pin 71. By default, the
> pin 71 is set as output-high, which blocks any event on pin 92.
>
> This patch sets the pin 71 as output-disable and sets the LID switch on
> pin 92. This is aligned with how they're configured on Windows:
> GPIO 71 | 0xf147000 | in | func0 | hi | pull up | 16 mA
> GPIO 92 | 0xf15c000 | in | func0 | lo | no pull | 2 mA
>
> [...]
Applied, thanks!
[1/1] arm64: dts: qcom: x1e80100-lenovo-yoga-slim7x: Add lid switch
commit: 7069abcd5340f4c8dc4a96b814609b25d7e332ee
Best regards,
--
Bjorn Andersson <andersson@xxxxxxxxxx>