mfd: syscon: atmel-smc: Add new helpers to ease SMC regs manipulation
authorBalamanikandan Gunasundar <balamanikandan.gunasundar@microchip.com>
Tue, 25 Oct 2022 10:51:05 +0000 (16:21 +0530)
committerEugen Hristev <eugen.hristev@microchip.com>
Thu, 8 Dec 2022 16:06:27 +0000 (18:06 +0200)
commit2dc1b8fe17b283db4e4485f01ba10dff6b37d693
tree7edbd0d44426175749e1b7820ab8e5c033d3ff13
parent68ddf18dc3bd6b9c229bae0f9cf383f7255c0437
mfd: syscon: atmel-smc: Add new helpers to ease SMC regs manipulation

Add helper functions for atmel Static Memory Controller. The functions
are required to configure SMC. This file is inherited from the work
done by Boris Brezillon for Linux

Signed-off-by: Balamanikandan Gunasundar <balamanikandan.gunasundar@microchip.com>
drivers/Kconfig
drivers/Makefile
drivers/mfd/Kconfig [new file with mode: 0644]
drivers/mfd/Makefile [new file with mode: 0644]
drivers/mfd/atmel-smc.c [new file with mode: 0644]
include/linux/mfd/syscon/atmel-smc.h [new file with mode: 0644]