]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - queue-6.8/usb-typec-tcpci-add-generic-tcpci-fallback-compatibl.patch
Linux 6.6.27
[thirdparty/kernel/stable-queue.git] / queue-6.8 / usb-typec-tcpci-add-generic-tcpci-fallback-compatibl.patch
1 From 358761707169d90b8257c20ebddcd299be3780ab Mon Sep 17 00:00:00 2001
2 From: Sasha Levin <sashal@kernel.org>
3 Date: Thu, 22 Feb 2024 22:09:01 +0100
4 Subject: usb: typec: tcpci: add generic tcpci fallback compatible
5
6 From: Marco Felsch <m.felsch@pengutronix.de>
7
8 [ Upstream commit 8774ea7a553e2aec323170d49365b59af0a2b7e0 ]
9
10 The driver already support the tcpci binding for the i2c_device_id so
11 add the support for the of_device_id too.
12
13 Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
14 Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
15 Link: https://lore.kernel.org/r/20240222210903.208901-3-m.felsch@pengutronix.de
16 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
17 Signed-off-by: Sasha Levin <sashal@kernel.org>
18 ---
19 drivers/usb/typec/tcpm/tcpci.c | 1 +
20 1 file changed, 1 insertion(+)
21
22 diff --git a/drivers/usb/typec/tcpm/tcpci.c b/drivers/usb/typec/tcpm/tcpci.c
23 index 0ee3e6e29bb17..7118551827f6a 100644
24 --- a/drivers/usb/typec/tcpm/tcpci.c
25 +++ b/drivers/usb/typec/tcpm/tcpci.c
26 @@ -889,6 +889,7 @@ MODULE_DEVICE_TABLE(i2c, tcpci_id);
27 #ifdef CONFIG_OF
28 static const struct of_device_id tcpci_of_match[] = {
29 { .compatible = "nxp,ptn5110", },
30 + { .compatible = "tcpci", },
31 {},
32 };
33 MODULE_DEVICE_TABLE(of, tcpci_of_match);
34 --
35 2.43.0
36