]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
arm64: dts: qcom: c630: Expose LID events
authorBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 25 Nov 2020 06:08:38 +0000 (00:08 -0600)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 30 Nov 2020 16:42:44 +0000 (10:42 -0600)
commit71b83b74cca3f6b583b7c343896be3922ea80466
tree201f8bc27a8dbc718b59d7dfd5e7faa43bc9436d
parent683227e5a34e4ca40bb13bca47952b48516ea87d
arm64: dts: qcom: c630: Expose LID events

The LID state can be read from GPIO 124 and the "tablet mode" from GPIO
95, expose these to the system using gpio-keys and mark the falling edge
of the LID state as a wakeup-source - to wake the system from suspend.

Tested-by: Steev Klimaszewski <steev@kali.org>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Link: https://lore.kernel.org/r/20201125060838.165576-1-bjorn.andersson@linaro.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts