This series add initial support for OnePlus 6 and 6T, but other OnePlus phones contains same mechanism to switch sound profiles.
This code was tested for two years within the downstream Snapdragon 845 tree. It is now perfectly integrated with feedbackd in the Phosh environment. The series is also available (until merged) at [email protected]:dhxx/linux.git b4/op6-tri-state Changes in v7: - Separated GPIO number fix from the original commit "arm64: dts: qcom: sdm845-oneplus: Add alert-slider" - Rebased again next-20251008 - Link to v6: https://lore.kernel.org/r/[email protected] Changes in v6: - Rebased again next-20250731, otherwise just a resent. - Link to v5: https://lore.kernel.org/r/[email protected] Changes in v5: - Dropped merged "Input: gpio-keys - add support for linux,input-value DTS property" - Link to v4: https://lore.kernel.org/all/[email protected]/ Changes in v4: - DTS: use default debounce-interval, order alphabetically - Link to v3: https://lore.kernel.org/lkml/[email protected]/ Changes in v3: - rename tri-state-key to alert-slider, fix DTS warnings, Changes in v2: - rebase to qcom/for-next add SND_PROFILE_* identifiers to input-event-codes.h --- Gergo Koteles (3): Input: add ABS_SND_PROFILE arm64: dts: qcom: sdm845-oneplus: Correct gpio used for slider arm64: dts: qcom: sdm845-oneplus: Add alert-slider Documentation/input/event-codes.rst | 6 ++++ .../arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi | 39 ++++++++++++++++++++-- drivers/hid/hid-debug.c | 1 + include/uapi/linux/input-event-codes.h | 9 +++++ 4 files changed, 53 insertions(+), 2 deletions(-) --- base-commit: 52ba76324a9d7c39830c850999210a36ef023cde change-id: 20250419-op6-tri-state-ed1a05a11125 Best regards, -- David Heidelberg <[email protected]>
