Skip to content
Commit b1a9edbd authored by Antoine Tenart's avatar Antoine Tenart Committed by Tejun Heo
Browse files

ata: libahci: allow to use multiple PHYs



The current implementation of the libahci does not allow to use multiple
PHYs. This patch adds the support of multiple PHYs by the libahci while
keeping the old bindings valid for device tree compatibility.

This introduce a new way of defining SATA ports in the device tree, with
one port per sub-node. This as the advantage of allowing a per port
configuration. Because some ports may be accessible but disabled in the
device tree, the port_map mask is computed automatically when using
this.

Signed-off-by: default avatarAntoine Ténart <antoine.tenart@free-electrons.com>
Acked-by: default avatarHans de Goede <hdegoede@redhat.com>
Acked-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 725c7b57
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment