summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorStefan Wahren <stefan.wahren@chargebyte.com>2023-04-06 13:31:37 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-04-20 15:13:23 +0300
commit58ecb03fc74a5ec4b8c8222c5b4bac572a264c47 (patch)
treeb4c33928c9f256240d25e853e51059a1b49e30ef /drivers
parent22ab6c515d9602e5ddf41998ce5352e8887f4543 (diff)
downloadlinux-58ecb03fc74a5ec4b8c8222c5b4bac572a264c47.tar.xz
w1: ds2482: add i2c id for DS2484
The DS2484 is compatible to the DS2482-100, but also supports a pin-controlled power-saving sleep mode. Link: https://www.analog.com/media/en/technical-documentation/data-sheets/DS2484.pdf Signed-off-by: Stefan Wahren <stefan.wahren@chargebyte.com> Link: https://lore.kernel.org/r/20230406103137.6092-3-stefan.wahren@chargebyte.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/w1/masters/ds2482.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/w1/masters/ds2482.c b/drivers/w1/masters/ds2482.c
index 3d8b51316bef..1665fd28b964 100644
--- a/drivers/w1/masters/ds2482.c
+++ b/drivers/w1/masters/ds2482.c
@@ -544,6 +544,7 @@ static void ds2482_remove(struct i2c_client *client)
*/
static const struct i2c_device_id ds2482_id[] = {
{ "ds2482", 0 },
+ { "ds2484", 0 },
{ }
};
MODULE_DEVICE_TABLE(i2c, ds2482_id);