[U-Boot] [PATCH v3 21/54] dm: Add support for generic system controllers (syscon)
Simon Glass
sjg at chromium.org
Sat Jul 18 01:56:55 CEST 2015
On 23 June 2015 at 15:38, Simon Glass <sjg at chromium.org> wrote:
> 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 at chromium.org>
> ---
>
> Changes in v3: None
> Changes in v2: None
>
> drivers/core/Makefile | 1 +
> drivers/core/syscon-uclass.c | 73 ++++++++++++++++++++++++++++++++++++++++++++
> include/dm/uclass-id.h | 1 +
> include/syscon.h | 56 +++++++++++++++++++++++++++++++++
> 4 files changed, 131 insertions(+)
> create mode 100644 drivers/core/syscon-uclass.c
> create mode 100644 include/syscon.h
Applied to u-boot-dm.
More information about the U-Boot
mailing list