aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorClaudiu Beznea <claudiu.beznea@microchip.com>2019-12-20 17:31:17 +0200
committerSebastian Reichel <sre@kernel.org>2020-01-14 23:38:28 +0100
commita4f06df13db829d3e8615f9bf476f0ea0e25c9a7 (patch)
treec586f8569fd5b2eed1a46551d3f1a6f69c6011d2 /arch
parent46aa27e742082ca4b1a30886876c24d26c2fac49 (diff)
power: reset: at91-poweroff: introduce struct shdwc_reg_config
This driver uses AT91_PMC_MCKR in poweroff() function. But the SAM9X60's PMC versions maps AT91_PMC_MCKR functionality at different offset compared to the SAMA5D2's one. This patch prepares the field so that different AT91_PMC_MCKR's offsets to be introduced in struct reg_config so that proper offset to be used for AT91_PMC_MCKR based on compatible string. Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com> Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions