]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
arm64: dts: qcom: sdm845-oneplus: Add alert-slider
authorGergo Koteles <soyer@irl.hu>
Thu, 13 Nov 2025 16:02:59 +0000 (17:02 +0100)
committerBjorn Andersson <andersson@kernel.org>
Thu, 26 Mar 2026 14:40:48 +0000 (09:40 -0500)
commit456ce97ccc73b32b774c154513e9a3e4c0606bbc
tree5ac842495c2bd18f957e8ce64b2e8f7b5dfe6041
parente6bf559f7eb92858795b7aaecf67ad98dbb43a49
arm64: dts: qcom: sdm845-oneplus: Add alert-slider

The alert-slider is a tri-state sound profile switch found on the
OnePlus 6, Android maps the states to "silent", "vibrate" and "ring".
Expose them as ABS_SND_PROFILE events.
The previous GPIO numbers were wrong. Update them to the correct ones.

Co-developed-by: Casey Connolly <casey@connolly.tech>
Signed-off-by: Casey Connolly <casey@connolly.tech>
Signed-off-by: Gergo Koteles <soyer@irl.hu>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Tested-by: Guido Günther <agx@sigxcpu.org> # oneplus,fajita & oneplus,enchilada
Reviewed-by: Guido Günther <agx@sigxcpu.org>
Signed-off-by: David Heidelberg <david@ixit.cz>
Reviewed-by: Pavel Machek <pavel@ucw.cz>
Link: https://lore.kernel.org/r/20251113-op6-tri-state-v8-2-54073f3874bc@ixit.cz
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi