diff options
author | Marco Felsch <m.felsch@pengutronix.de> | 2024-02-22 22:09:01 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-04-13 13:05:18 +0200 |
commit | 57e6634e591b6e51cbb59957d24630af18b3869f (patch) | |
tree | 43ec6c7a85452177a44e058e9b39a41dcd357f6a | |
parent | f692c547e3f2d5644499f9aca9dd4696306e72c0 (diff) | |
download | linux-stable-57e6634e591b6e51cbb59957d24630af18b3869f.tar.gz linux-stable-57e6634e591b6e51cbb59957d24630af18b3869f.tar.bz2 linux-stable-57e6634e591b6e51cbb59957d24630af18b3869f.zip |
usb: typec: tcpci: add generic tcpci fallback compatible
[ Upstream commit 8774ea7a553e2aec323170d49365b59af0a2b7e0 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.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 816945913ed0..f649769912e5 100644 --- a/drivers/usb/typec/tcpm/tcpci.c +++ b/drivers/usb/typec/tcpm/tcpci.c @@ -875,6 +875,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); |