]> 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)
commit6135e4e3c1a11f04f2e1610958b1241061e272e3
tree98e855715735d806bdc2dfec4836decb8799ef50
parent515c64fb8625ff93805ccea8c06c0933a9490169
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