drivers: syscon: Add generic syscon API

A syscon device is a device managing a memory region containing a set of
registers that are not cohesive enough to represent as any specific type
of device. We need a driver for that because several other drivers could
use the same region at the same time and we need to io-map the region at
boot for MMU enabled platforms.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
This commit is contained in:
Carlo Caione 2021-06-03 11:03:48 +02:00 committed by Christopher Friedt
commit bc30598456
8 changed files with 249 additions and 0 deletions

View file

@ -115,4 +115,6 @@ source "drivers/disk/Kconfig"
source "drivers/cache/Kconfig"
source "drivers/syscon/Kconfig"
endmenu