linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* omap3505: HECC support and DT ?
@ 2014-12-11 14:44 Jean-Michel Hautbois
  2014-12-11 16:04 ` Nishanth Menon
  0 siblings, 1 reply; 2+ messages in thread
From: Jean-Michel Hautbois @ 2014-12-11 14:44 UTC (permalink / raw)
  To: linux-omap, linux-arm-kernel; +Cc: nm

Hi !

I have a custom board with a AM3505.
I am trying to use linux 3.18 and I have difficulties making it work.
What is needed in order to get it declared in DT ?
Is it still needed to have a board-am3517-myboard.c ?

I have a few drivers like that I need to bring up (a Micrel KSZ8873
for example) where the drivers exist, but a DT binding seems to be
missing.
But I may have missed the information, hence my question :).

Thanks in advance,
JM

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

* Re: omap3505: HECC support and DT ?
  2014-12-11 14:44 omap3505: HECC support and DT ? Jean-Michel Hautbois
@ 2014-12-11 16:04 ` Nishanth Menon
  0 siblings, 0 replies; 2+ messages in thread
From: Nishanth Menon @ 2014-12-11 16:04 UTC (permalink / raw)
  To: Jean-Michel Hautbois, linux-omap, linux-arm-kernel

On 12/11/2014 08:44 AM, Jean-Michel Hautbois wrote:
> Hi !
> 
> I have a custom board with a AM3505.
> I am trying to use linux 3.18 and I have difficulties making it work.
> What is needed in order to get it declared in DT ?
usually look at examples of an board file closely resembling the one
that you are working on and look at the commit that introduced it..
usually just Makefile and dts is needed.

> Is it still needed to have a board-am3517-myboard.c ?

ideally not. even for devices that are yet to be "dtfied" they
platform data goes to arch/arm/mach-omap2/pdata-quirks.c

See arch/arm/boot/dts/am3517-craneboard.dts as an example.

> 
> I have a few drivers like that I need to bring up (a Micrel KSZ8873
> for example) where the drivers exist, but a DT binding seems to be
> missing.

without checking the status of micrel driver in question, generically
speaking: not all drivers in linux kernel have been converted to
device tree. if your board uses one such driver, it is usually
strongly recommended to convert such a driver to DT and then integrate.

> But I may have missed the information, hence my question :).


-- 
Regards,
Nishanth Menon

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

end of thread, other threads:[~2014-12-11 16:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-11 14:44 omap3505: HECC support and DT ? Jean-Michel Hautbois
2014-12-11 16:04 ` Nishanth Menon

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).