mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-27 12:57:53 +00:00
usb: typec: tcpci: add generic tcpci fallback compatible
[ Upstream commit 8774ea7a55
]
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>
This commit is contained in:
parent
f692c547e3
commit
57e6634e59
1 changed files with 1 additions and 0 deletions
|
@ -875,6 +875,7 @@ MODULE_DEVICE_TABLE(i2c, tcpci_id);
|
||||||
#ifdef CONFIG_OF
|
#ifdef CONFIG_OF
|
||||||
static const struct of_device_id tcpci_of_match[] = {
|
static const struct of_device_id tcpci_of_match[] = {
|
||||||
{ .compatible = "nxp,ptn5110", },
|
{ .compatible = "nxp,ptn5110", },
|
||||||
|
{ .compatible = "tcpci", },
|
||||||
{},
|
{},
|
||||||
};
|
};
|
||||||
MODULE_DEVICE_TABLE(of, tcpci_of_match);
|
MODULE_DEVICE_TABLE(of, tcpci_of_match);
|
||||||
|
|
Loading…
Reference in a new issue