extcon: madera: Add support for Cirrus Logic Madera codecs
authorRichard Fitzgerald <rf@opensource.wolfsonmicro.com>
Thu, 20 Oct 2016 15:45:59 +0000 (16:45 +0100)
committer강신형 <s47.kang@samsung.com>
Tue, 19 Jun 2018 06:54:02 +0000 (15:54 +0900)
commitb9addd21abee3a346909a307c53e38ff4d33945e
treef09b85775da97790951d17a30be74efc89ad1818
parentd0c66c54bdf930e9847282a3a07a8a73a460a63a
extcon: madera: Add support for Cirrus Logic Madera codecs

The Cirrus Logic Madera-class codecs include highly flexible support
for jack detection, accessory detection and accessory buttons.

Although the driver is very configurable, it is impossible to cover
in generic code every possible way in which the accessory detect block
could be used and every possible combination of external hardware. We
therefore provide enough configurability to cover all common cases but
we allow customers to provide custom replacements for some or all of
the detection state machine to provided added ability to handle unusual
hardware or applications without having to create a branched and modified
version of this driver.

Change-Id: Ibbef6dc9a5a139075daed8c1556698bfd8e6bb16
Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Signed-off-by: Stuart Henderson <stuarth@opensource.wolfsonmicro.com>
Documentation/devicetree/bindings/extcon/extcon-madera.txt [new file with mode: 0644]
MAINTAINERS
drivers/extcon/Kconfig
drivers/extcon/Makefile
drivers/extcon/extcon-madera.c [new file with mode: 0644]
include/dt-bindings/extcon/extcon-madera.h [new file with mode: 0644]
include/linux/extcon/extcon-madera-pdata.h [new file with mode: 0644]
include/linux/extcon/extcon-madera.h [new file with mode: 0644]
include/linux/mfd/madera/core.h
include/linux/mfd/madera/pdata.h