]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2963010a45231704a84346f26bf712eaaf6db113
tree98e855715735d806bdc2dfec4836decb8799ef50
parent053dbb66ddd89fa7efae16c817b3d9a9a87bcae0
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