devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* No support of platform device instance id?
@ 2011-03-12  7:00 Shawn Guo
       [not found] ` <20110312070057.GB9650-+NayF8gZjK2ctlrPMvKcciBecyulp+rMXqFh9Ls21Oc@public.gmane.org>
  0 siblings, 1 reply; 10+ messages in thread
From: Shawn Guo @ 2011-03-12  7:00 UTC (permalink / raw)
  To: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ
  Cc: linaro-dev-cunTk1MwBs8s++Sfvej+rw

Hello all,

I'm looking at function of_device_alloc in drivers/of/platform.c, and
surprisingly found that the platform device instance id is being
hard-coded as -1 when calling platform_device_alloc.  Does this mean
that there is no support of pdev id in DT?  If yes, can anyone please
help me understand why we do not have something in DT node to reflect
this id and get it supported?  Or this is something on TODO list?

I'm asking this because I feel we still need pdev id support in DT when
reviewing the patch set of 'mx51 basic DT support'.

-- 
Regards,
Shawn

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

end of thread, other threads:[~2011-03-20  2:45 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-12  7:00 No support of platform device instance id? Shawn Guo
     [not found] ` <20110312070057.GB9650-+NayF8gZjK2ctlrPMvKcciBecyulp+rMXqFh9Ls21Oc@public.gmane.org>
2011-03-12  9:46   ` Grant Likely
     [not found]     ` <20110312094620.GM9347-MrY2KI0G/OVr83L8+7iqerDks+cytr/Z@public.gmane.org>
2011-03-12 14:55       ` Shawn Guo
     [not found]         ` <20110312145532.GA10194-+NayF8gZjK2ctlrPMvKcciBecyulp+rMXqFh9Ls21Oc@public.gmane.org>
2011-03-14 21:10           ` Grant Likely
     [not found]             ` <20110314211019.GH16096-MrY2KI0G/OVr83L8+7iqerDks+cytr/Z@public.gmane.org>
2011-03-16 13:58               ` Shawn Guo
     [not found]                 ` <20110316135800.GB11658-+NayF8gZjK2ctlrPMvKcciBecyulp+rMXqFh9Ls21Oc@public.gmane.org>
2011-03-16 23:05                   ` Grant Likely
     [not found]                     ` <20110316230500.GB15557-MrY2KI0G/OVr83L8+7iqerDks+cytr/Z@public.gmane.org>
2011-03-17  4:31                       ` Shawn Guo
     [not found]                         ` <20110317043114.GG11658-+NayF8gZjK2ctlrPMvKcciBecyulp+rMXqFh9Ls21Oc@public.gmane.org>
2011-03-17 17:08                           ` Grant Likely
     [not found]                             ` <20110317170819.GF9597-MrY2KI0G/OVr83L8+7iqerDks+cytr/Z@public.gmane.org>
2011-03-20  2:39                               ` Shawn Guo
     [not found]                                 ` <20110320023905.GA27709-+NayF8gZjK2ctlrPMvKcciBecyulp+rMXqFh9Ls21Oc@public.gmane.org>
2011-03-20  2:45                                   ` Grant Likely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).