aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/sound/rt5651.txt
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2019-03-05 12:38:59 +0100
committerMark Brown <broonie@kernel.org>2019-03-18 12:08:02 +0000
commit8a68a509ae6b5d7d18c6bfc88553ca7761029ada (patch)
tree6bae1d8c7856f749fb18ab34c495652ad2c24990 /Documentation/devicetree/bindings/sound/rt5651.txt
parentASoC: stm32: spdifrx: add power management (diff)
downloadlinux-dev-8a68a509ae6b5d7d18c6bfc88553ca7761029ada.tar.xz
linux-dev-8a68a509ae6b5d7d18c6bfc88553ca7761029ada.zip
ASoC: rt5651: Add support for active-high jack detect
Some boards use a jack-receptacle with a switch which reports the jack-inserted status as active-high, rather then the standard active-low reporting most jacks use. This commit adds support for it. This is activated by a boolean "realtek,jack-detect-not-inverted" device-property. The not-inverted in the device-property name, rather then active-high, was chosen to keep the device-property naming consistent with the rt5640 codec driver. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/rt5651.txt')
-rw-r--r--Documentation/devicetree/bindings/sound/rt5651.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/rt5651.txt b/Documentation/devicetree/bindings/sound/rt5651.txt
index a41199a5cd79..56e736a1cba9 100644
--- a/Documentation/devicetree/bindings/sound/rt5651.txt
+++ b/Documentation/devicetree/bindings/sound/rt5651.txt
@@ -22,6 +22,11 @@ Optional properties:
2: Use JD1_2 pin for jack-detect
3: Use JD2 pin for jack-detect
+- realtek,jack-detect-not-inverted
+ bool. Normal jack-detect switches give an inverted (active-low) signal,
+ set this bool in the rare case you've a jack-detect switch which is not
+ inverted.
+
- realtek,over-current-threshold-microamp
u32, micbias over-current detection threshold in µA, valid values are
600, 1500 and 2000µA.