On 2012-11-06 08:19, Ricardo Neri wrote: > Hi Tomi, l-o list, > > The main purpose of this patch set is to create a platform device for audio > support from the OMAPDSS HDMI driver. This tries to follow an approach similar > to MFD drivers in which a core driver creates domain-specific devices. Under > this approach, the OMAPDSS HDMI drivers acts as the core driver, retrieves its > resources (from DT or hwmod) and passes the relevant audio resources for > other drivers to use. > > This is also beneficial for future DT boot support, as the OMAP HDMI IP will be > represented by a single node in the tree. > > Before creating the platform device for audio, I also did minor cleanup to the > OMAPDSS HDMI driver probe function. > > Changes from v2: > *Check the validity of the audio platform device by checking a non-NULL condition > rather than an error pointer condition. > *Pass the ID of the HDMI platform device to handle more than one instance of > HDMI audio platform devices. This is for future implementations that support > more than one HDMI output. > > Changes from v1: > *Simplify ioremap further by using devm_request_and_ioremap. > *Pass to the audio driver only the DMA port and not the whole register space. > *Use a local array for the audio resources and init them with DEFINE_RES_MEM. > *Obtain the DMA port address offset and size from the HDMI IP-specific library. > > v2 is accessible here: > http://www.mail-archive.com/linux-omap@xxxxxxxxxxxxxxx/msg79529.html > > v1 is accessible here: > http://www.mail-archive.com/linux-omap@xxxxxxxxxxxxxxx/msg77861.html Looks good to me, I'll apply to omapdss tree. Tomi
Attachment:
signature.asc
Description: OpenPGP digital signature