Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

extcon: fsa9480: Support the FSA880 variant

The older compatible variant of this chip is called FSA880
and works the same way, if we need some quirks in the future,
it is good to let it have its own compatible string.

Cc: devicetree@vger.kernel.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>

authored by

Linus Walleij and committed by
Chanwoo Choi
6527c685 a6d9cfcb

+4 -1
+3 -1
Documentation/devicetree/bindings/extcon/extcon-fsa9480.txt
··· 5 5 microphone, and UART data to use a common connector port. 6 6 7 7 Required properties: 8 - - compatible : Must be "fcs,fsa9480" 8 + - compatible : Must be one of 9 + "fcs,fsa9480" 10 + "fcs,fsa880" 9 11 - reg : Specifies i2c slave address. Must be 0x25. 10 12 - interrupts : Should contain one entry specifying interrupt signal of 11 13 interrupt parent to which interrupt pin of the chip is connected.
+1
drivers/extcon/extcon-fsa9480.c
··· 363 363 364 364 static const struct of_device_id fsa9480_of_match[] = { 365 365 { .compatible = "fcs,fsa9480", }, 366 + { .compatible = "fcs,fsa880", }, 366 367 { }, 367 368 }; 368 369 MODULE_DEVICE_TABLE(of, fsa9480_of_match);