Skip to content

reset: Add a managed API

Jean-Jacques Hiblot u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drivers: reset: Handle gracefully NULL pointersdrivers/reset/reset-uclass.c+17 -133 replies
2/3drivers: reset: Add a managed API to get reset controllers from the DTdrivers/reset/reset-uclass.c include/reset.h+247 -41 reply
2/3drivers: reset: Add a managed API to get reset controllers from the DT+0 -02 replies
2/3drivers: reset: Add a managed API to get reset controllers from the DT+0 -00 replies
3/3test: reset: Add tests for the managed APIarch/sandbox/include/asm/reset.h drivers/reset/sandbox-reset-test.c drivers/reset/sandbox-reset.c +1 more+123 -60 replies

Reviews trailers per patch

3 of 5 patches have a Reviewed-by or Acked-by.

PatchSimon Glass
1/3
2/3R-b
2/3R-b
2/3R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [U-Boot] [PATCH v1 0/3] reset: Add a managed API

This is the 3rd of a few series, the goal of which is to facilitate porting drivers from the linux kernel. Most of the series will be about adding managed API to existing infrastructure (GPIO, reset, phy,...)

This particular series is about reset controllers. It adds a managed API, close to that of linux. The main difference is that bulk and reset_ctl are handled with different functions.

Jean-Jacques Hiblot (3):
drivers: reset: Handle gracefully NULL pointers
drivers: reset: Add a managed API to get reset controllers from the DT
test: reset: Add tests for the managed API

 arch/sandbox/include/asm/reset.h   |   1 +
 drivers/reset/reset-uclass.c       | 146 +++++++++++++++++++++++++----
 drivers/reset/sandbox-reset-test.c |  50 ++++++++--
 drivers/reset/sandbox-reset.c      |  19 ++++
 include/reset.h                    | 135 +++++++++++++++++++++++++-
 test/dm/reset.c                    |  59 ++++++++++++
 6 files changed, 387 insertions(+), 23 deletions(-)
Signature · 1 line
2.17.1