aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2022-04-05 14:49:08 +0200
committerHeiko Schocher <hs@denx.de>2022-05-10 06:48:05 +0200
commit89eabd2f3562115ee56cdad03324cc748f78d177 (patch)
tree151eeb977cee82a3bd13bdaa022939abc1dd31f2
parent25965e8613c1b89ed5b29c5ed3b53a3153356913 (diff)
downloadu-boot-89eabd2f3562115ee56cdad03324cc748f78d177.zip
u-boot-89eabd2f3562115ee56cdad03324cc748f78d177.tar.gz
u-boot-89eabd2f3562115ee56cdad03324cc748f78d177.tar.bz2
misc: atsha204a: Add support for atsha204 chip
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>
-rw-r--r--drivers/misc/atsha204a-i2c.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/misc/atsha204a-i2c.c b/drivers/misc/atsha204a-i2c.c
index 5da8134..aa6acf0 100644
--- a/drivers/misc/atsha204a-i2c.c
+++ b/drivers/misc/atsha204a-i2c.c
@@ -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" },
{ }
};