ata: ahci_platform: add support for AHCI controller regulator
authorCorentin Labbe <clabbe.montjoie@gmail.com>
Mon, 3 Sep 2018 10:01:54 +0000 (12:01 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 3 Sep 2018 14:17:12 +0000 (08:17 -0600)
commita37da9180f42c953416c8aa3be2fbedf59fc4e3b
treec8b9e6e03546c1ca75449cddc30486c9fdcd46dc
parent15fd6ec97d4c6277ddfa170718ca277f044524d6
ata: ahci_platform: add support for AHCI controller regulator

The SoC R40 AHCI controller need a regulator to work.
So this patch add a way to add an optional regulator on AHCI controller.

Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/ata/ahci.h
drivers/ata/libahci_platform.c