diff options
author | 2019-10-29 15:43:14 +0100 | |
---|---|---|
committer | 2019-10-29 21:05:26 -0700 | |
commit | 3d5f3a67e466f08920b3a2e5964bc03743932552 (patch) | |
tree | 078e797cea069cdb98f0ea5d4485ced029ffa618 /drivers/nfc/pn533 | |
parent | Merge branch 'bridge-fdbs-bitops' (diff) | |
download | linux-3d5f3a67e466f08920b3a2e5964bc03743932552.tar.gz linux-3d5f3a67e466f08920b3a2e5964bc03743932552.tar.bz2 linux-3d5f3a67e466f08920b3a2e5964bc03743932552.zip |
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 <johan@kernel.org>
Cc: Simon Horman <horms@verge.net.au>
Signed-off-by: Lars Poeschel <poeschel@lemonage.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/nfc/pn533')
-rw-r--r-- | drivers/nfc/pn533/i2c.c | 5 |
1 files changed, 5 insertions, 0 deletions
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", }, {}, |