]> git.sur5r.net Git - u-boot/commit
dm: Add support for register maps (regmap)
authorSimon Glass <sjg@chromium.org>
Tue, 23 Jun 2015 21:38:42 +0000 (15:38 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 21 Jul 2015 23:39:23 +0000 (17:39 -0600)
commit6f98b7504f7097ea36df451c58d718f3ad2aa4ea
tree6cc45f592bf1fb09a25d4d40b17d647c69b2741e
parentefa677fb481aec0888d3d37803643219d4ea57d1
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]