Re: [alsa-devel] [PATCH v2 2/6] ASoC: samsung: Add Samsung Low Power Audio Subsystem driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 07/05/2016 04:25 PM, Mark Brown wrote:
> There should be nothing in principle that stops you registering AMBA
> devices like MFDs currently register platform devices, or you could
> perhaps add platform device registration in the PL330 to let it be
> registered with either platform or AMBA?

As it turned out of_platform_populate() handles properly AMBA devices
by looking at the compatible string. If compatible contains
"arm,primecell" then an amba device instead of a platform device
is created for a DT node.

I used of_platform_populate() instead of mfd_add_devices() in the MFD
driver's probe(). Additionally I had to rearrange exynos5433.dtsi
and to make the LPASS devices specified as sub-nodes of the LPASS node.

It all seems to work fine, I will post v4 so we can continue commenting
on the actual patches.

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



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux