diff options
| author | Pali Rohár <[email protected]> | 2022-04-05 14:49:08 +0200 |
|---|---|---|
| committer | Heiko Schocher <[email protected]> | 2022-05-10 06:48:05 +0200 |
| commit | 89eabd2f3562115ee56cdad03324cc748f78d177 (patch) | |
| tree | 151eeb977cee82a3bd13bdaa022939abc1dd31f2 /drivers/misc | |
| parent | 25965e8613c1b89ed5b29c5ed3b53a3153356913 (diff) | |
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 <[email protected]>
Reviewed-by: Heiko Schocher <[email protected]>
Diffstat (limited to 'drivers/misc')
| -rw-r--r-- | drivers/misc/atsha204a-i2c.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/misc/atsha204a-i2c.c b/drivers/misc/atsha204a-i2c.c index 5da8134f05c..aa6acf0f9a0 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" }, { } }; |
