Re: [PATCH v3] platform: set of_node in platform_device_register_full()

2019-02-22 Thread Måns Rullgård
"Rafael J. Wysocki" writes: > On Thu, Feb 21, 2019 at 12:29 PM Mans Rullgard wrote: >> >> If the provided fwnode is an OF node, set dev.of_node as well. >> >> Also add an of_node_reused flag to struct platform_device_info and copy >> this to the new device. This is needed to avoid pinctrl setti

Re: [PATCH v3] platform: set of_node in platform_device_register_full()

2019-02-22 Thread Rafael J. Wysocki
On Thu, Feb 21, 2019 at 12:29 PM Mans Rullgard wrote: > > If the provided fwnode is an OF node, set dev.of_node as well. > > Also add an of_node_reused flag to struct platform_device_info and copy > this to the new device. This is needed to avoid pinctrl settings being > requested twice. See 4e7

[PATCH v3] platform: set of_node in platform_device_register_full()

2019-02-21 Thread Mans Rullgard
If the provided fwnode is an OF node, set dev.of_node as well. Also add an of_node_reused flag to struct platform_device_info and copy this to the new device. This is needed to avoid pinctrl settings being requested twice. See 4e75e1d7dac9 ("driver core: add helper to reuse a device-tree node")