linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* LVDS (LDB) driver for i.MX53 IPU
@ 2013-03-04 17:51 Martin Fuzzey
  2013-03-10 22:32 ` Sascha Hauer
  0 siblings, 1 reply; 4+ messages in thread
From: Martin Fuzzey @ 2013-03-04 17:51 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Sascha,

I need to add LVDS support to your staging imx/drm driver.

First of all are there any patches floating around to do that? (a search 
of the mailing list didn't turn up any).

 From a hardware point of view it looks quite simple (just one register 
to configure) but unfortunately that register is in the IOMUXC region.

That means that if I write a new platform driver similar to 
drivers/staging/imx-drm/parallel-display.c (with a new DT node pointing 
to the reg) the request_resource() will fail since it will already be 
claimed by the iomuxc driver.

The only solutions I can think of are:
1) Add exported function to the iomuxc driver to get the register
or
2) Directly ioremap() the address

Both of these sound horrible.

Do you have any suggestions?

I guess the generic question I'm asking is how to handle the case where 
unrelated drivers require access to the same memory regions?

Regards,

Martin

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

end of thread, other threads:[~2013-05-24 13:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-04 17:51 LVDS (LDB) driver for i.MX53 IPU Martin Fuzzey
2013-03-10 22:32 ` Sascha Hauer
2013-05-24 12:35   ` Guennadi Liakhovetski
2013-05-24 13:12     ` Martin Fuzzey

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