diff options
author | Ryan Walklin <ryan@testtoast.com> | 2025-02-15 11:02:25 +1300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-03-13 22:50:06 +0000 |
commit | a149377c033afe6557c50892ebbfc0e8b7e2e253 (patch) | |
tree | 4ce8b35ae47bbcda1dd57d9574e0e4a6f84f3acc /scripts/generate_rust_analyzer.py | |
parent | ae5f76d4044d1580849316c49290678605e0889d (diff) |
ASoC: sun4i-codec: support hp-det-gpios property
Add support for GPIO headphone detection with the hp-det-gpios
property. In order for this to properly disable the path upon
removal of headphones, the output must be labelled Headphone which
is a common sink in the driver.
Describe a headphone jack and detection GPIO in the driver, check for
a corresponding device tree node, and enable jack detection in a new
machine init function if described.
Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
Signed-off-by: Ryan Walklin <ryan@testtoast.com>
--
Changelog v1..v2:
- Separate DAPM changes into separate patch and add rationale.
Tested-by: Philippe Simons <simons.philippe@gmail.com>
Link: https://patch.msgid.link/20250214220247.10810-4-ryan@testtoast.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions