]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
dm: Add support for register maps (regmap)
authorSimon Glass <sjg@chromium.org>
Tue, 23 Jun 2015 21:38:42 +0000 (15:38 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 9 Sep 2015 11:36:29 +0000 (13:36 +0200)
commit36e77e52b28e379054b5a8b4b586f1b5cc065e6d
tree5a8f182e032df75d56b3ff37dce23c3409d2e553
parent8c5c7d4515a9709f5304e917eac47daf510b6ea4
dm: Add support for register maps (regmap)

Add a simple implementaton of register maps, supporting only direct I/O
for now. This can be enhanced later to support buses which have registers,
such as I2C, SPI and PCI.

It allows drivers which can operate with multiple buses to avoid dealing
with the particulars of register access on that bus.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/core/Makefile
drivers/core/regmap.c [new file with mode: 0644]
include/regmap.h [new file with mode: 0644]