Re: [RFC PATCH 23/30] of/platform: Export of_platform_device_create_pdata()

From: Rob Herring
Date: Mon Jun 10 2019 - 13:48:23 EST


On Tue, Jun 4, 2019 at 7:19 AM Kishon Vijay Abraham I <kishon@xxxxxx> wrote:
>
> Export of_platform_device_create_pdata() to be used by drivers to
> create child devices with the given platform data. This can be used
> by platform specific driver to send platform data core driver. For e.g.,
> this will be used by TI's J721E SoC specific PCIe driver to send
> ->start_link() ops and ->is_link_up() ops to Cadence core PCIe driver.

NAK

of_platform_device_create_pdata() is purely for legacy handling of
auxdata which is something I hope to get rid of someday. Or to put it
another way, auxdata use is a sign of platforms not fully converted to
DT.

Rob