staging: typec: tcpci: add compatible string for nxp ptn5110
authorLi Jun <jun.li@nxp.com>
Tue, 26 Jun 2018 23:45:21 +0000 (07:45 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Jun 2018 10:49:47 +0000 (19:49 +0900)
Add nxp ptn5110 typec controller compatible string: "nxp,ptn5110",
which is a standard tcpci chip with power delivery support. Meanwhile
remove "usb,tcpci" because it doesn't follow the binding format rule
and has not been used yet.

Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Li Jun <jun.li@nxp.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/typec/tcpci.c

index 076d97eaff6faf04117e7093c036e6c1b877bc2b..dd2928824ef6c34cb969718423984440de714fbf 100644 (file)
@@ -575,7 +575,7 @@ MODULE_DEVICE_TABLE(i2c, tcpci_id);
 
 #ifdef CONFIG_OF
 static const struct of_device_id tcpci_of_match[] = {
-       { .compatible = "usb,tcpci", },
+       { .compatible = "nxp,ptn5110", },
        {},
 };
 MODULE_DEVICE_TABLE(of, tcpci_of_match);