All of lore.kernel.org
 help / color / mirror / Atom feed
* Moving platform_data contents to device tree
@ 2011-02-11  3:29 Thomas Abraham
       [not found] ` <AANLkTikGa9dkM5DMJrM=RDs9twMY=uE21u5NmOv-=dPG-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Abraham @ 2011-02-11  3:29 UTC (permalink / raw)
  To: devicetree-discuss

Hi,

I am currently adding device tree support for Samsung's S5PV310
processor. I have a question about handling platform_data when adding
device tree support in drivers, specifically about the sdhci-s3c
driver.

The platform data that is passed to the sdhci-s3c driver is defined in
file arch/arm/plat-samsung/plat/sdhci.h, struct s3c_sdhci_platdata. In
this structure, there are some function pointers that are passed to
the driver. These function pointers are setup by the platform code in
arch/arm/plat-samsung. But when platform devices are created from the
device tree, how would such function pointers be passed to the driver?

Any suggestions on the approach to handle the platform_data
information when moving to device tree would be very helpful.

Thanks,
Thomas.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-02-11 16:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-11  3:29 Moving platform_data contents to device tree Thomas Abraham
     [not found] ` <AANLkTikGa9dkM5DMJrM=RDs9twMY=uE21u5NmOv-=dPG-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-02-11 15:45   ` Rob Herring
2011-02-11 16:01     ` Grant Likely

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.