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

2020-10-01 Thread Tom Rini
On Wed, Sep 09, 2020 at 03:37:03PM +0530, Pratyush Yadav wrote: > From: Jean-Jacques Hiblot > > 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. > >

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

2020-09-09 Thread Pratyush Yadav
From: Jean-Jacques Hiblot 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