All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v6 1/7] nfc: pn533: i2c: "pn532" as dt compatible string
@ 2019-08-20 12:03 Lars Poeschel
  2019-08-20 12:03   ` Lars Poeschel
                   ` (5 more replies)
  0 siblings, 6 replies; 15+ messages in thread
From: Lars Poeschel @ 2019-08-20 12:03 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Jilayne Lovejoy, Thomas Gleixner,
	Kate Stewart, Steve Winslow, Lars Poeschel,
	open list:NFC SUBSYSTEM, open list
  Cc: Johan Hovold

It is favourable to have one unified compatible string for devices that
have multiple interfaces. So this adds simply "pn532" as the devicetree
binding compatible string and makes a note that the old ones are
deprecated.

Cc: Johan Hovold <johan@kernel.org>
Signed-off-by: Lars Poeschel <poeschel@lemonage.de>
---
Changes in v6:
- Rebased the patch series on v5.3-rc5

Changes in v3:
- This patch is new in v3

 drivers/nfc/pn533/i2c.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/nfc/pn533/i2c.c b/drivers/nfc/pn533/i2c.c
index 1832cd921ea7..1abd40398a5a 100644
--- a/drivers/nfc/pn533/i2c.c
+++ b/drivers/nfc/pn533/i2c.c
@@ -245,6 +245,11 @@ static int pn533_i2c_remove(struct i2c_client *client)
 }
 
 static const struct of_device_id of_pn533_i2c_match[] = {
+	{ .compatible = "nxp,pn532", },
+	/*
+	 * NOTE: The use of the compatibles with the trailing "...-i2c" is
+	 * deprecated and will be removed.
+	 */
 	{ .compatible = "nxp,pn533-i2c", },
 	{ .compatible = "nxp,pn532-i2c", },
 	{},
-- 
2.23.0.rc1


^ permalink raw reply related	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2019-08-26 10:31 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-20 12:03 [PATCH v6 1/7] nfc: pn533: i2c: "pn532" as dt compatible string Lars Poeschel
2019-08-20 12:03 ` [PATCH v6 2/7] nfc: pn532_uart: Add NXP PN532 to devicetree docs Lars Poeschel
2019-08-20 12:03   ` Lars Poeschel
2019-08-20 12:03 ` [PATCH v6 3/7] nfc: pn533: Add dev_up/dev_down hooks to phy_ops Lars Poeschel
2019-08-20 12:03 ` [PATCH v6 4/7] nfc: pn533: Split pn533 init & nfc_register Lars Poeschel
2019-08-22 10:08   ` Claudiu.Beznea
2019-08-23  9:07     ` Lars Poeschel
2019-08-20 12:03 ` [PATCH v6 5/7] nfc: pn533: add UART phy driver Lars Poeschel
2019-08-22 10:09   ` Claudiu.Beznea
2019-08-23 10:06     ` Lars Poeschel
2019-08-26 10:31       ` Claudiu.Beznea
2019-08-20 12:03 ` [PATCH v6 6/7] nfc: pn533: Add autopoll capability Lars Poeschel
2019-08-20 12:23   ` Johan Hovold
2019-08-20 14:32     ` Lars Poeschel
2019-08-20 12:03 ` [PATCH v6 7/7] nfc: pn532_uart: Make use of pn532 autopoll Lars Poeschel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.