From mboxrd@z Thu Jan 1 00:00:00 1970 From: antoine.tenart@free-electrons.com (Antoine =?iso-8859-1?Q?T=E9nart?=) Date: Wed, 30 Jul 2014 09:38:16 +0200 Subject: [PATCH v12 4/8] ata: libahci: allow to use multiple PHYs In-Reply-To: <20140729143438.GB4791@htj.dyndns.org> References: <1406618447-25499-1-git-send-email-antoine.tenart@free-electrons.com> <20140729143438.GB4791@htj.dyndns.org> Message-ID: <20140730073816.GA29900@kwain> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Tue, Jul 29, 2014 at 10:34:38AM -0400, Tejun Heo wrote: > On Tue, Jul 29, 2014 at 09:20:47AM +0200, Antoine T?nart wrote: > > 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 > > Patch doesn't apply to libata/for-3.17. Please refresh. This patch is base on top of v3.16-rc7, taking in account a patch[1] introduced after rc1 modifying this same file. [1] https://lkml.org/lkml/2014/6/6/75 Antoine -- Antoine T?nart, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com