From: Marco Felsch Date: Thu, 22 Feb 2024 21:09:01 +0000 (+0100) Subject: usb: typec: tcpci: add generic tcpci fallback compatible X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=8774ea7a553e2aec323170d49365b59af0a2b7e0;p=linux.git 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 Reviewed-by: Heikki Krogerus Link: https://lore.kernel.org/r/20240222210903.208901-3-m.felsch@pengutronix.de Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/typec/tcpm/tcpci.c b/drivers/usb/typec/tcpm/tcpci.c index 40c7b6224c74b..c962014bba4e8 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);