OSDN Git Service

ata: ahci-platform: add reset control support
authorKunihiko Hayashi <hayashi.kunihiko@socionext.com>
Fri, 23 Mar 2018 01:30:53 +0000 (10:30 +0900)
committerTejun Heo <tj@kernel.org>
Mon, 26 Mar 2018 14:40:01 +0000 (07:40 -0700)
commitf0f56716fc3e5d547fd7811eb218a30ed0695605
tree98e855715735d806bdc2dfec4836decb8799ef50
parent3d6f22b74d919a5f32a6093666e85be110cc06de
ata: ahci-platform: add reset control support

Add support to get and control a list of resets for the device
as optional and shared. These resets must be kept de-asserted until
the device is enabled.

This is specified as shared because some SoCs like UniPhier series
have common reset controls with all ahci controller instances.

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Documentation/devicetree/bindings/ata/ahci-platform.txt
drivers/ata/ahci.h
drivers/ata/libahci_platform.c