drivers: soc: atmel: add per soc id and version match masks
authorClaudiu Beznea <claudiu.beznea@microchip.com>
Fri, 22 Jan 2021 12:21:35 +0000 (14:21 +0200)
committerNicolas Ferre <nicolas.ferre@microchip.com>
Tue, 26 Jan 2021 09:02:28 +0000 (10:02 +0100)
commitaf3a10513cd628269c3207bc50b8a5886c566ec4
treeef29451eb27753b66641bb61fc9dc72acfb54e54
parent11272a373c44a5bea3a1dd051a7e84e396926c14
drivers: soc: atmel: add per soc id and version match masks

SAMA7G5 has different masks for chip ID and chip version on CIDR
register compared to previous AT91 SoCs. For this the commit adapts
the code for SAMA7G5 addition by introducing 2 new members in
struct at91_soc and fill them properly and also preparing the
parsing of proper DT binding.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/1611318097-8970-6-git-send-email-claudiu.beznea@microchip.com
drivers/soc/atmel/soc.c
drivers/soc/atmel/soc.h