]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
misc: atsha204a: Add support for atsha204 chip
authorPali Rohár <pali@kernel.org>
Tue, 5 Apr 2022 12:49:08 +0000 (14:49 +0200)
committerHeiko Schocher <hs@denx.de>
Tue, 10 May 2022 04:48:05 +0000 (06:48 +0200)
atsha204 chip is predecessor of atsha204a chip. Current U-Boot driver
atsha204a-i2c.c can use both atsha204 and atsha204a chips because it does
not call specific functions to just one of these chips.

So just add compatible string for atsha204.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Heiko Schocher <hs@denx.de>
drivers/misc/atsha204a-i2c.c

index 5da8134f05c4195f7a0a63957a897e68063156a0..aa6acf0f9a0eefccc22999c16564210b43b67681 100644 (file)
@@ -283,6 +283,7 @@ static int atsha204a_of_to_plat(struct udevice *dev)
 }
 
 static const struct udevice_id atsha204a_ids[] = {
+       { .compatible = "atmel,atsha204" },
        { .compatible = "atmel,atsha204a" },
        { }
 };