[PATCH v3 1/2] drivers: reset: Add a managed API to get reset controllers from the DT

Tom Rini trini at konsulko.com
Thu Oct 1 16:07:11 CEST 2020


On Wed, Sep 09, 2020 at 03:37:03PM +0530, Pratyush Yadav wrote:

> From: Jean-Jacques Hiblot <jjhiblot at ti.com>
> 
> Add managed functions to get a reset_ctl from the device-tree, based on a
> name or an index.
> Also add a managed functions to get a reset_ctl_bulk (array of reset_ctl)
> from the device-tree.
> 
> When the device is unbound, the reset controllers are automatically
> released and the data structure is freed.
> 
> Signed-off-by: Jean-Jacques Hiblot <jjhiblot at ti.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> Signed-off-by: Pratyush Yadav <p.yadav at ti.com>

Applied to u-boot/next, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20201001/1482fc6f/attachment.sig>


More information about the U-Boot mailing list