8 May
2015
8 May
'15
12:25 p.m.
On Fri, May 08, 2015 at 11:13:39AM +0300, Mika Westerberg wrote:
Looks like some of the context is lost but if I decode the above right, you want to know if there is anything that corresponds to of_get_named_gpio() in the generic property API?
You can use fwnode_get_named_gpiod() if you need to extract a GPIO directly from firmware node. Otherwise you should be using devm_gpiod_get() and friends.
Right, almost certainly devm_gpiod_get() in this case as I've said several times now :(