From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932515AbcEMVEp (ORCPT ); Fri, 13 May 2016 17:04:45 -0400 Received: from mail-pf0-f174.google.com ([209.85.192.174]:33960 "EHLO mail-pf0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932311AbcEMVEp (ORCPT ); Fri, 13 May 2016 17:04:45 -0400 Date: Fri, 13 May 2016 14:04:40 -0700 From: Brian Norris To: Doug Anderson Cc: Shawn Lin , Kishon Vijay Abraham I , Heiko Stuebner , "linux-kernel@vger.kernel.org" , "open list:ARM/Rockchip SoC..." , "linux-arm-kernel@lists.infradead.org" , Brian Norris Subject: Re: [PATCH 2/4] phy: rockchip-emmc: configure frequency range and drive impedance Message-ID: <20160513210440.GA99074@google.com> References: <1463092986-61777-1-git-send-email-briannorris@chromium.org> <1463092986-61777-2-git-send-email-briannorris@chromium.org> <3695875b-09c3-cd80-3062-55d985e51f70@rock-chips.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 On Fri, May 13, 2016 at 11:46:33AM -0700, Doug Anderson wrote: > On Thu, May 12, 2016 at 6:02 PM, Shawn Lin wrote: > > On 2016/5/13 6:43, Brian Norris wrote: > >> @@ -154,6 +167,20 @@ static int rockchip_emmc_phy_power_on(struct phy > >> *phy) > >> struct rockchip_emmc_phy *rk_phy = phy_get_drvdata(phy); > >> int ret = 0; > >> > >> + /* DLL operation: 170 to 200 MHz */ > > > > > > What is 170 here? Should we expose them to dt instead of hardcoding > > them? > > This was probably my fault. I did some searching and found > . > It appears to be docs for a similar (but not identical) PHY. We were > looking at it to try to get more clarity on some bits that were hard > to understand in the docs we had. > > In that doc there appear to be 3 bits for selecting the DLL operation > and they have ranges defined. In Rockchip's PHY there are only 2 > bits. Thus things don't map totally properly. > > Anyway, comment should probably be removed. [...] > So overall: > > * Should re-spin and remove the comment about 170 MHz. > > * I think this could land as-is other than the comment. Right, will fix the first bullet point. Brian