devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* driver using another driver
@ 2014-07-30 14:45 Priebe, Sebastian
       [not found] ` <E70AF999396FDF4EAE40E195B84709611F84671F-VHQhki0MIenpQFNhCJRnZ0Yy6alPw7Wn0MAMd6zgKLc@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Priebe, Sebastian @ 2014-07-30 14:45 UTC (permalink / raw)
  To: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org

Hello,

I am working on a project with an ARMv6 cpu and I am currently trying to port our board file to a device tree.
Our custom hardware has a CPLD with is used by multiple driver.
In the past we shared the CPLD driver resource (struct resource...) among the drivers platform data to be able to access the CPLD registers from all the drivers.
The CPLD driver allocated the resource, returned it to our platform code and our platform code passed it to the other drivers.
In other words the CPLD driver is used by the other driver.
How can I achieve the same with a device tree?

Greetings
Sebastian Priebe



==========================================
CADCON
Ingenieurgesellschaft mbH & Co. KG
Geschaeftsfuehrer: Robert Bauer, Andreas Gundel
Sitz der Gesellschaft: D-86368 Gersthofen
Registergericht: Amtsgericht Augsburg HRA 14521
==========================================


--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2014-08-07  7:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-30 14:45 driver using another driver Priebe, Sebastian
     [not found] ` <E70AF999396FDF4EAE40E195B84709611F84671F-VHQhki0MIenpQFNhCJRnZ0Yy6alPw7Wn0MAMd6zgKLc@public.gmane.org>
2014-08-01  6:31   ` Sascha Hauer
     [not found]     ` <20140801063105.GV23235-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2014-08-01  7:15       ` AW: " Priebe, Sebastian
     [not found]         ` <E70AF999396FDF4EAE40E195B84709611F847086-VHQhki0MIenpQFNhCJRnZ0Yy6alPw7Wn0MAMd6zgKLc@public.gmane.org>
2014-08-01  8:51           ` Sascha Hauer
     [not found]             ` <20140801085148.GW23235-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2014-08-01  9:08               ` AW: " Priebe, Sebastian
     [not found]                 ` <CA+8Hj81tTdCMm-we8F6ZbNq8wPVWsEZZ8tYixLN3--tjiQpyfw@mail.gmail.com>
     [not found]                   ` <CA+8Hj81tTdCMm-we8F6ZbNq8wPVWsEZZ8tYixLN3--tjiQpyfw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-08-07  7:49                     ` Priebe, Sebastian

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