commit | 6f98b7504f7097ea36df451c58d718f3ad2aa4ea | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Tue Jun 23 15:38:42 2015 -0600 |
committer | Simon Glass <sjg@chromium.org> | Tue Jul 21 17:39:23 2015 -0600 |
tree | 6cc45f592bf1fb09a25d4d40b17d647c69b2741e | |
parent | efa677fb481aec0888d3d37803643219d4ea57d1 [diff] |
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>