public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH] misc: atsha204a: Add support for atsha204 chip
@ 2022-04-05 12:49 Pali Rohár
  2022-04-05 13:14 ` Stefan Roese
  0 siblings, 1 reply; 12+ messages in thread
From: Pali Rohár @ 2022-04-05 12:49 UTC (permalink / raw)
  To: Adrian Fiergolski, Marek Behún
  Cc: Wolfgang Denk, Simon Glass, Stefan Roese, u-boot

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>
---
 drivers/misc/atsha204a-i2c.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/misc/atsha204a-i2c.c b/drivers/misc/atsha204a-i2c.c
index 63fe541dade3..8b0055f99893 100644
--- a/drivers/misc/atsha204a-i2c.c
+++ b/drivers/misc/atsha204a-i2c.c
@@ -399,6 +399,7 @@ static int atsha204a_of_to_plat(struct udevice *dev)
 }
 
 static const struct udevice_id atsha204a_ids[] = {
+	{ .compatible = "atmel,atsha204" },
 	{ .compatible = "atmel,atsha204a" },
 	{ }
 };
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2022-05-10  8:51 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-05 12:49 [PATCH] misc: atsha204a: Add support for atsha204 chip Pali Rohár
2022-04-05 13:14 ` Stefan Roese
2022-04-05 13:28   ` Pali Rohár
2022-04-05 13:52     ` Stefan Roese
2022-04-05 14:10       ` Pali Rohár
2022-04-21  4:11         ` Heiko Schocher
2022-04-21  9:40           ` Pali Rohár
2022-04-21 13:47             ` Pali Rohár
2022-04-22  3:59             ` Heiko Schocher
2022-04-28 19:00               ` Pali Rohár
2022-05-10  4:45               ` Heiko Schocher
2022-05-10  8:51                 ` Heiko Schocher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox