OSDN Git Service

w1: ds2482: add i2c id for DS2484
authorStefan Wahren <stefan.wahren@chargebyte.com>
Thu, 6 Apr 2023 10:31:37 +0000 (12:31 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Apr 2023 12:13:23 +0000 (14:13 +0200)
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>
drivers/w1/masters/ds2482.c

index 3d8b513..1665fd2 100644 (file)
@@ -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);