]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
rt5639: add option for jack detection source
authorHarry Hong <hhong@nvidia.com>
Wed, 29 Jul 2015 04:56:52 +0000 (13:56 +0900)
committerDara Ramesh <dramesh@nvidia.com>
Thu, 6 Aug 2015 05:07:37 +0000 (22:07 -0700)
commit3e616c8a85a66f62af31ae756ea20832cec6c524
treed5b2813823bcea20fc2a2fda5448db0cd7691e99
parent7aa5e90d326bfbfbecc629cf07fab7d25ff5ac0d
rt5639: add option for jack detection source

by default, only JD2 as jack detection source is available.
for other platforms using the different source, adding dt property,
sel_jd_source.

0 = OFF
1 = GPIO1
2 = JD1
3 = JD2
4 = GPIO2

Bug 200113589

Change-Id: Ic5ce3b1d6ddf8e238786072f140c4756d3c7640a
Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/776070
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dara Ramesh <dramesh@nvidia.com>
sound/soc/codecs/rt5639.c
sound/soc/codecs/rt5639.h