On Thu, Jun 04, 2015 at 10:24:39AM +0100, Charles Keepax wrote: > On Thu, Jun 04, 2015 at 10:19:24AM +0100, Mark Brown wrote: > > There's that as well, but more generally I'm not sure if there's even > > any use of those defines for the driver (without looking at the source > > to check). > Many of the drivers contain a gpio defaults style entry in the > pdata, which basically is doing what pin control should be and > setting up the pulls/functions etc. But replacing that in all > the legacy CODECs would be a massive task. Sure, I just don't know without looking if this particular driver ever bothered doing that. The defines aren't pinctrl support by themselves they're just mechanically generated defines. To be honest I'm not sure pinctrl is actually making life easier for these devices, especially without ACPI bindings given that people are now deploying ACPI based systems. There's also the whole MFD thing.
Attachment:
signature.asc
Description: Digital signature