]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
dm: Add support for generic system controllers (syscon)
authorSimon Glass <sjg@chromium.org>
Tue, 23 Jun 2015 21:38:43 +0000 (15:38 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 9 Sep 2015 11:36:30 +0000 (13:36 +0200)
commitb8e1940146f426566bb84d949e130cd9d831a89a
treed6c05e118c97f679e50c264151aab8ea73da1624
parent36e77e52b28e379054b5a8b4b586f1b5cc065e6d
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>
drivers/core/Makefile
drivers/core/syscon-uclass.c [new file with mode: 0644]
include/dm/uclass-id.h
include/syscon.h [new file with mode: 0644]