[alsa-devel] SSM2518 Device Tree support ?
Lars-Peter Clausen
lars at metafoo.de
Thu Aug 13 14:21:52 CEST 2015
On 08/13/2015 02:12 PM, Ricard Wanderlof wrote:
>
> We needed DT support in the SSM2518 codec driver, and I noticed that there
> is already a set of bindings specified in Documentation/devicetree,
> however, there doesn't seem to be any DT support in the driver itself. I
> don't know if this is the result of a missing commit ?
There is DT support in the driver. E.g. see the of_get_gpio() call.
What's not in the driver is a explicit of match table. It will work without
since the I2C subsystem supports matching based on the I2C ID table. But,
yes, it is better to add a explicit OF table to indicate that this works.
>
> Documentation/devicetree/bindings/sound/ssm2518.c seems to have been added
> in May 2013.
>
> I've added rudimentary support for at least the compatible property so
> that the driver can be used in a system with DT configuration (sent as a
> separate email).
More information about the Alsa-devel
mailing list