25 Jun
2018
25 Jun
'18
2:40 p.m.
On Mon, Jun 25, 2018 at 02:19:02PM +0200, Hans de Goede wrote:
Hmm, that seems like a complicated solution to use for non DT platforms
It should be fine for board file systems as well. I think it's just ACPI that's painful here :(
I already need to deal with this in the sound/soc/intel/boards/bytcr_rt5651.c machine driver (call devm_acpi_dev_add_driver_gpios), so I'm tempted to model this a supply for the speaker (which it in essence is) inside the machine driver and make that supply directly control the GPIO, would that be acceptable?
Sure.