Re: [PATCH v3 1/9] regmap: Add devm_regmap_init()

2020-10-01 Thread Tom Rini
On Thu, Sep 24, 2020 at 10:04:10AM +0530, Pratyush Yadav wrote: > From: Jean-Jacques Hiblot > > Most of new linux drivers are using managed-API to allocate resources. To > ease porting drivers from linux to U-Boot, introduce devm_regmap_init() as > a managed API to get a regmap from the device t

[PATCH v3 1/9] regmap: Add devm_regmap_init()

2020-09-23 Thread Pratyush Yadav
From: Jean-Jacques Hiblot Most of new linux drivers are using managed-API to allocate resources. To ease porting drivers from linux to U-Boot, introduce devm_regmap_init() as a managed API to get a regmap from the device tree. Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Simon Glass Signed-