RE: [PATCH v5 03/14] staging: typec: tcpci: add compatible string for nxp ptn5110
Hi > -Original Message- > From: Mats Karrman [mailto:mats.dev.l...@gmail.com] > Sent: 2018年5月12日 3:52 > To: Jun Li <jun...@nxp.com>; robh...@kernel.org; gre...@linuxfoundation.org; > heikki.kroge...@linux.intel.com; li...@roeck-us.net > Cc: a.ha...@samsung.com; cw00.c...@samsung.com; > shufan_...@richtek.com; Peter Chen <peter.c...@nxp.com>; > gso...@gmail.com; devicet...@vger.kernel.org; linux-usb@vger.kernel.org; > dl-linux-imx <linux-...@nxp.com> > Subject: Re: [PATCH v5 03/14] staging: typec: tcpci: add compatible string for > nxp ptn5110 > > Hi Li Jun, > > On 2018-05-03 02:24, Li Jun wrote: > > > Add nxp ptn5110 typec controller compatible string: usb-tcpci,ptn5110, > > which is a standard tcpci chip with power delivery support. > > > > Signed-off-by: Li Jun <jun...@nxp.com> > > --- > > drivers/staging/typec/tcpci.c | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/drivers/staging/typec/tcpci.c > > b/drivers/staging/typec/tcpci.c index 076d97e..741a80a 100644 > > --- a/drivers/staging/typec/tcpci.c > > +++ b/drivers/staging/typec/tcpci.c > > @@ -576,6 +576,7 @@ MODULE_DEVICE_TABLE(i2c, tcpci_id); > > #ifdef CONFIG_OF > > static const struct of_device_id tcpci_of_match[] = { > > { .compatible = "usb,tcpci", }, > > Either this line should go away, or a "generic TCPCI controller" line should > be > added to the DT documentation. This binding name didn't follow the rule ", ", AFAIK there is no user on upstream kernel, if no objection, I can remove it. Li Jun > > BR // Mats > > > + { .compatible = "nxp,ptn5110", }, > > {}, > > }; > > MODULE_DEVICE_TABLE(of, tcpci_of_match); > > N�r��yb�X��ǧv�^�){.n�+{��^n�r���z���h�&���G���h�(�階�ݢj"���m��z�ޖ���f���h���~�m�
Re: [PATCH v5 03/14] staging: typec: tcpci: add compatible string for nxp ptn5110
Hi Li Jun, On 2018-05-03 02:24, Li Jun wrote: Add nxp ptn5110 typec controller compatible string: usb-tcpci,ptn5110, which is a standard tcpci chip with power delivery support. Signed-off-by: Li Jun--- drivers/staging/typec/tcpci.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/typec/tcpci.c b/drivers/staging/typec/tcpci.c index 076d97e..741a80a 100644 --- a/drivers/staging/typec/tcpci.c +++ b/drivers/staging/typec/tcpci.c @@ -576,6 +576,7 @@ MODULE_DEVICE_TABLE(i2c, tcpci_id); #ifdef CONFIG_OF static const struct of_device_id tcpci_of_match[] = { { .compatible = "usb,tcpci", }, Either this line should go away, or a "generic TCPCI controller" line should be added to the DT documentation. BR // Mats + { .compatible = "nxp,ptn5110", }, {}, }; MODULE_DEVICE_TABLE(of, tcpci_of_match); -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[PATCH v5 03/14] staging: typec: tcpci: add compatible string for nxp ptn5110
Add nxp ptn5110 typec controller compatible string: usb-tcpci,ptn5110, which is a standard tcpci chip with power delivery support. Signed-off-by: Li Jun--- drivers/staging/typec/tcpci.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/typec/tcpci.c b/drivers/staging/typec/tcpci.c index 076d97e..741a80a 100644 --- a/drivers/staging/typec/tcpci.c +++ b/drivers/staging/typec/tcpci.c @@ -576,6 +576,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); -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html