From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932480AbcDHJNR (ORCPT ); Fri, 8 Apr 2016 05:13:17 -0400 Received: from us01smtprelay-2.synopsys.com ([198.182.47.9]:43891 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753462AbcDHJNM (ORCPT ); Fri, 8 Apr 2016 05:13:12 -0400 Subject: Re: [PATCH v12 8/9] add TC G210 platform driver To: Rob Herring , Joao Pinto References: <20160404051546.GE17806@rob-hp-laptop> <57024677.2060009@synopsys.com> <20160407175708.GB32257@rob-hp-laptop> CC: , , , , , , , , , , , , , From: Joao Pinto Message-ID: <5707761D.7000804@synopsys.com> Date: Fri, 8 Apr 2016 10:13:01 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <20160407175708.GB32257@rob-hp-laptop> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.13.184.19] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rob, On 4/7/2016 6:57 PM, Rob Herring wrote: > On Mon, Apr 04, 2016 at 11:48:23AM +0100, Joao Pinto wrote: >> >> Hi Rob, >> >> On 4/4/2016 6:15 AM, Rob Herring wrote: >>> On Thu, Mar 31, 2016 at 07:57:21PM +0100, Joao Pinto wrote: >>>> This patch adds a glue platform driver for the Synopsys G210 Test Chip. >>>> >>>> Signed-off-by: Joao Pinto >>>> --- >> >> [snip] >> >>>> + >>>> +Required properties: >>>> +- compatible : compatible list must contain the PHY type & version: >>>> + "snps, g210-tc-6.00-20bit" >>>> + "snps, g210-tc-6.00-40bit" >>> Remove the space ^ >>> >>>> + complemented with the Controller IP version: >>>> + "snps, dwc-ufshcd-1.40a" >>> >>> ditto >> >> Ok, will do that! >> >>> >>> Combining the phy and controller compatible strings is a bit strange. >>> Generally, they would be separate nodes using the common phy binding. >>> >> >> Correct, but in this case is just the compatibility string is just to tell the >> dw ufs host that it has a 40-bit or a 20-bit test chip connected. The Test chip >> is initialized by a unipro command sequence and there is no more ops related to it. > > Okay. In that case, I think it should be a separate property unless the > controller h/w is synthesized for one or the other. Yes, the hardware must be synthesized for a certain PHY type, 20 or 40-bit. > > Rob > Joao