Lines Matching refs:jack
1 ASoC jack detection
5 the kernel side of which can be seen in include/sound/jack.h. ASoC
8 - It allows more than one jack detection method to work together on one
9 user visible jack. In embedded systems it is common for multiple
10 to be present on a single jack but handled by separate bits of
14 automatically based on the detected jack status (eg, turning off the
18 together: the jack itself represented by a struct snd_soc_jack, sets of
20 code providing jack reporting mechanisms.
22 For example, a system may have a stereo headset jack with two reporting
26 headphone when the headphone jack status changes.
28 The jack - struct snd_soc_jack
31 This represents a physical jack on the system and is what is visible to
32 user space. The jack itself is completely passive, it is set up by the
33 machine driver and updated by jack detection methods.
41 bits supported by the jack. Each snd_soc_jack has zero or more of these
43 and associated with the jack using snd_soc_jack_add_pins(). The status
44 of the endpoint may configured to be the opposite of the jack status if
46 connected via a jack).
51 Actual jack detection is done by code which is able to monitor some
52 input to the system and update a jack by calling snd_soc_jack_report(),
53 specifying a subset of bits to update. The jack detection code should
54 be set up by the machine driver, taking configuration for the jack to
55 update and the set of things to report when the jack is connected.
60 CODEC integrated jack detection can be see in the WM8350 driver.
62 Each jack may have multiple reporting mechanisms, though it will need at
70 the list of pins to update then set up one or more jack detection
71 mechanisms to update that jack based on their current status.