Hi Neil,

On 30 March 2018 at 16:54, Neil Armstrong <narmstr...@baylibre.com> wrote:
>
> This patch adds a "bulk" API to the reset API in order to get/deassert/
> assert/release a group of reset signals associated with a device.
>
> This bulk API will avoid adding a copy of the same code to manage
> a group of reset signals in drivers.
>
> Signed-off-by: Neil Armstrong <narmstr...@baylibre.com>
> ---
> This serie and the "clk bulk" serie is necessary and suggested by Marek Vasut
> for the "Add USB Support for Amlogic Meson GXL SoCs" to avoid adding the same
> code to manage a bulk of clocks and resets in another driver.
> I will push a RFC code to update the other drivers having a similar
> code pattern when these patches are merged.
>
>  drivers/reset/reset-uclass.c | 60 +++++++++++++++++++++++++++
>  include/reset.h              | 99 
> ++++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 159 insertions(+)
>

This looks good. Please can you add a sandbox test?

Regards,
Simon
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to