summaryrefslogtreecommitdiffstats
path: root/include/syscon.h
Commit message (Collapse)AuthorAgeFilesLines
* dm: syscon: Allow finding devices by driver dataSimon Glass2016-01-241-0/+14
| | | | | | | | We have a way to find a regmap by its syscon driver data value. Add the same for syscon itself. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
* dm: Add support for generic system controllers (syscon)Simon Glass2015-07-211-0/+56
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>
OpenPOWER on IntegriCloud