commit | 5725128507eca41bb110d702858ca2c8d7dc4085 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Tue Jun 23 15:38:43 2015 -0600 |
committer | Simon Glass <sjg@chromium.org> | Tue Jul 21 17:39:24 2015 -0600 |
tree | 64ad9fddd8e970d2cb610b956a5a31f248e43fc4 | |
parent | 6f98b7504f7097ea36df451c58d718f3ad2aa4ea [diff] |
dm: Add support for generic system controllers (syscon) Many SoCs have a number of system controllers which are dealt with as a group by a single driver. It is a pain to have to add lots of compatible strings and/or separate drivers for each. Instead we can identify the controllers by a number and request the address of the one we want. Add a simple implementation of this which can be used by SoC driver code. Signed-off-by: Simon Glass <sjg@chromium.org>