From b1a9edbda040a43583ff14d63ebeb91abe5848b9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Antoine=20T=C3=A9nart?= Date: Wed, 30 Jul 2014 20:13:57 +0200 Subject: [PATCH] ata: libahci: allow to use multiple PHYs MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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: Antoine Ténart Acked-by: Hans de Goede Acked-by: Kishon Vijay Abraham I Signed-off-by: Tejun Heo --- Reading git-format-patch failed