[alsa-devel] [PATCH v2 2/6] ASoC: samsung: Add Samsung Low Power Audio Subsystem driver
Sylwester Nawrocki
s.nawrocki at samsung.com
Tue Jul 5 16:58:39 CEST 2016
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.
More information about the Alsa-devel
mailing list