[U-Boot] [PATCH v2 07/13] reset: Get the RESET by index without device
Simon Glass
sjg at chromium.org
Thu Feb 21 02:47:31 UTC 2019
On Sun, 10 Feb 2019 at 23:00, Jagan Teki <jagan at amarulasolutions.com> wrote:
>
> Getting a RESET by index with device is not straight forward
> for some use-cases like handling clock operations for child
> node in parent driver. So we need to process the child node
> in parent probe via ofnode and process RESET operation for child
> without udevice but with ofnode.
>
> So add reset_get_by_index_nodev() and move the common code
> in reset_get_by_index_tail() to use for reset_get_by_index()
>
> Cc: Stephen Warren <swarren at nvidia.com>
> Cc: Simon Glass <sjg at chromium.org>
> Signed-off-by: Jagan Teki <jagan at amarulasolutions.com>
> ---
> drivers/reset/reset-uclass.c | 53 ++++++++++++++++++++++++------------
> include/reset.h | 16 +++++++++++
> 2 files changed, 52 insertions(+), 17 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list