Skip to content

Commit 3d5f3a6

Browse files
poescheldavem330
authored andcommitted
nfc: pn533: i2c: "pn532" as dt compatible string
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 <[email protected]> Cc: Simon Horman <[email protected]> Signed-off-by: Lars Poeschel <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 9014fc3 commit 3d5f3a6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

drivers/nfc/pn533/i2c.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,11 @@ static int pn533_i2c_remove(struct i2c_client *client)
245245
}
246246

247247
static const struct of_device_id of_pn533_i2c_match[] = {
248+
{ .compatible = "nxp,pn532", },
249+
/*
250+
* NOTE: The use of the compatibles with the trailing "...-i2c" is
251+
* deprecated and will be removed.
252+
*/
248253
{ .compatible = "nxp,pn533-i2c", },
249254
{ .compatible = "nxp,pn532-i2c", },
250255
{},

0 commit comments

Comments
 (0)