From mboxrd@z Thu Jan 1 00:00:00 1970 From: stefan.wahren@i2se.com (Stefan Wahren) Date: Mon, 27 Oct 2014 08:10:18 +0100 Subject: Subsystem communication In-Reply-To: <1640626236.190592.1413233150604.JavaMail.open-xchange@oxbaltgw01.schlund.de> References: <1640626236.190592.1413233150604.JavaMail.open-xchange@oxbaltgw01.schlund.de> Message-ID: <544DEFDA.1050801@i2se.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org Am 13.10.2014 um 22:45 schrieb Stefan Wahren: > Hi, > > currently i want to implement a driver for the power subsystem of the Freescale > i.MX28 (ARM9). On the one hand the driver should trigger the registering of the > underlying components like regulators and on the other hand it should take care > of the incoming interrupts and provide the results to the underlying components. > > I think the first task can easily done by of_platform_populate(). > > But for the second task i'm not sure how to achieve a clean, mostly readonly > access from the regulator drivers to the power subsystem driver. > > I have read about exporting symbols and RCU, but i'm not sure what's preferred > in that situation. > > Best regards > > Stefan > > _______________________________________________ > Kernelnewbies mailing list > Kernelnewbies at kernelnewbies.org > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ping