commit | 6a84aafdd06e016e9a343f5bb97aea9ff745b98e | [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 | ad8f8ab7ffd8fed8c1bfcfd24e1a8efed641c16e [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>