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)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:22:26 +0000 (20:22 +0300)
commit9a572e0b5808af9feb3a84ab191223bbbb782c2c
tree23fea67cf64da122d001d5f0918058294fe0108a
parent947bf62b4ab67ac5389e58c1b762919a8114a20d
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