Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752556AbbEKXUn (ORCPT ); Mon, 11 May 2015 19:20:43 -0400 Received: from mail-pa0-f42.google.com ([209.85.220.42]:34780 "EHLO mail-pa0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751564AbbEKXUk (ORCPT ); Mon, 11 May 2015 19:20:40 -0400 Date: Mon, 11 May 2015 16:20:34 -0700 From: Brian Norris To: Kishon Vijay Abraham I Cc: Tejun Heo , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Gregory Fong , Florian Fainelli , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org, Hans de Goede , bcm-kernel-feedback-list@broadcom.com Subject: Re: [PATCH v2 0/5] AHCI and SATA PHY support for Broadcom STB SoCs Message-ID: <20150511232034.GK32500@ld-irv-0074> References: <1429757950-28789-1-git-send-email-computersforpeace@gmail.com> <5550BF7D.6010107@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5550BF7D.6010107@ti.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1670 Lines: 39 Hi Kishon, On Mon, May 11, 2015 at 08:11:01PM +0530, Kishon Vijay Abraham I wrote: > On Thursday 23 April 2015 08:29 AM, Brian Norris wrote: > >Here are my updates based on everyone's feedback. I'll try to include most of > >the changelog info in each patch, but a few summary points for v1 -> v2: > > > > - reworked the PHY DT binding so that we don't need do any custom xlate in the > > PHY driver > > > > - moved all handling of the 'SATA_TOP_CTRL' block into the SATA driver, > > instead of sharing it between SATA and PHY drivers. This means we have to do > > a little extra work in sata_brcmstb.c to decide which ports to power on, but > > at least this way, we're really describing the hardware, not just how the SW > > frameworks want to use the hardware. > > I don't see any problems with the PHY patches. Let me know If I can > take this via linux-phy tree. I think the only remaining objections were about endianness. Incidentally, the PHY driver was using readl()/writel(), so that should be OK then. It might be a problem for big endian MIPS, but this particular PHY IP is not available on MIPS. If it ever is used there, then we may need to patch in something like this: if (big endian MIPS) iowrite32be(val, addr); else iowrite32(val, addr); But for now, I think all is OK, so feel free to take it. I'll just rework/resend the SATA driver, SATA binding, and ARM/dts updates. Brian -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/