diff options
author | Marco Felsch <m.felsch@pengutronix.de> | 2024-02-23 00:09:01 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-03-05 16:29:30 +0300 |
commit | 8774ea7a553e2aec323170d49365b59af0a2b7e0 (patch) | |
tree | a2f1f8b4fc973381112bcaa6adb10c4b031f109c | |
parent | 0be4e1d4df32cfb9222bdea67a9ae9665af57a9c (diff) | |
download | linux-8774ea7a553e2aec323170d49365b59af0a2b7e0.tar.xz |
usb: typec: tcpci: add generic tcpci fallback compatible
The driver already support the tcpci binding for the i2c_device_id so
add the support for the of_device_id too.
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20240222210903.208901-3-m.felsch@pengutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/usb/typec/tcpm/tcpci.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/typec/tcpm/tcpci.c b/drivers/usb/typec/tcpm/tcpci.c index 40c7b6224c74..c962014bba4e 100644 --- a/drivers/usb/typec/tcpm/tcpci.c +++ b/drivers/usb/typec/tcpm/tcpci.c @@ -911,6 +911,7 @@ MODULE_DEVICE_TABLE(i2c, tcpci_id); #ifdef CONFIG_OF static const struct of_device_id tcpci_of_match[] = { { .compatible = "nxp,ptn5110", }, + { .compatible = "tcpci", }, {}, }; MODULE_DEVICE_TABLE(of, tcpci_of_match); |