[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <vgbobvds33l6xzlatmvdbcyexf73e3digkwp7fukqdm5gotwbf@dn3a6lh3fr5x>
Date: Fri, 27 Dec 2024 13:29:17 +0100
From: aruhier@...lbox.org
To: Bjorn Andersson <andersson@...nel.org>
Cc: Konrad Dybcio <konradybcio@...nel.org>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>, Conor Dooley <conor+dt@...nel.org>,
linux-arm-msm@...r.kernel.org, devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
Konrad Dybcio <konrad.dybcio@....qualcomm.com>, Maya Matuszczyk <maccraft123mc@...il.com>
Subject: Re: [PATCH v3] arm64: dts: qcom: x1e80100-lenovo-yoga-slim7x: Add
lid switch
On Thu, Dec 26, 2024 at 12:26:34PM -0600, Bjorn Andersson wrote:
>
> 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@...nel.org>
Thanks for the review and merge!
--
Anthony Ruhier
Powered by blists - more mailing lists