[U-Boot] [PATCH 01/21] reset: Add STi reset support

Simon Glass sjg at chromium.org
Wed Mar 22 13:05:15 UTC 2017


Hi.

On 17 March 2017 at 10:25,  <patrice.chotard at st.com> wrote:
> From: Patrice Chotard <patrice.chotard at st.com>
>
> This patch adds a reset controller implementation for STMicroelectronics
> STi family SoCs; it allows a group of related reset like controls found
> in multiple system configuration registers to be represented by a single
> controller device.
>
> Driver code has been mainly extracted from kernel
> drivers/reset/sti/reset-stih407.c
>
> Signed-off-by: Patrice Chotard <patrice.chotard at st.com>
> ---
>  arch/arm/Kconfig                |   1 +
>  configs/stih410-b2260_defconfig |   1 +
>  drivers/reset/Kconfig           |   8 +
>  drivers/reset/Makefile          |   1 +
>  drivers/reset/sti-reset.c       | 321 ++++++++++++++++++++++++++++++++++++++++
>  5 files changed, 332 insertions(+)
>  create mode 100644 drivers/reset/sti-reset.c

Instead of using fdt_node_offset_by_compatible() do you have a way to
get the offset using a phandle or similar?

Regards,
Simon


More information about the U-Boot mailing list