diff options
author | Jean-Jacques Hiblot <jjhiblot@ti.com> | 2020-09-09 15:37:03 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-09-30 11:55:22 -0400 |
commit | 139e4a1cbe60de96d4febbc6db5882929801ca46 (patch) | |
tree | 042a6deb8830e8877ee4bfe3d6c45112ea25ea5e /drivers/reset/sandbox-reset.c | |
parent | 01114adfc1e0bf3cf5e2f3da858bb2c8e9810c1c (diff) |
drivers: reset: Add a managed API to get reset controllers from the DT
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@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Pratyush Yadav <p.yadav@ti.com>
Diffstat (limited to 'drivers/reset/sandbox-reset.c')
0 files changed, 0 insertions, 0 deletions