Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753746AbaAKNHF (ORCPT ); Sat, 11 Jan 2014 08:07:05 -0500 Received: from moutng.kundenserver.de ([212.227.17.8]:55725 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753654AbaAKNHA (ORCPT ); Sat, 11 Jan 2014 08:07:00 -0500 From: Arnd Bergmann To: Tanmay Inamdar Subject: Re: [RFC PATCH 3/3] dt-bindings: pci: xgene pcie device tree bindings Date: Sat, 11 Jan 2014 14:06:52 +0100 User-Agent: KMail/1.12.2 (Linux/3.8.0-22-generic; KDE/4.3.2; x86_64; ; ) Cc: "linux-arm-kernel@lists.infradead.org" , Bjorn Helgaas , Grant Likely , Catalin Marinas , Rob Landley , devicetree@vger.kernel.org, linux-doc@vger.kernel.org, linux-pci@vger.kernel.org, patches , "linux-kernel@vger.kernel.org" , Jon Masters References: <1387785725-24262-1-git-send-email-tinamdar@apm.com> <201401071635.02006.arnd@arndb.de> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201401111406.52935.arnd@arndb.de> X-Provags-ID: V02:K0:0D7natKUJ2vrNnXVeRc9azYEloCTbpfbbsyDx0aA9Di lONzB/kg4k3ZkSafssuegvCKPvs0hCqgug+KAFb9EtF4PIIsfp +giHBKXXrED6tNd5uWUav+i6LATNGiD2NoWpFwkQGYuN8XuOoT VaDj2RgjXf7a3y8eU7k1A6UMF8wOUywxkcx2Bm2pqBsjRcDat1 ps+CA0na6yAuz9Uj46WBFYSvVm8B4B7Z6thdltd12zKXTiAZ/x mj8smjBSFmK8DTKU3WEIid0w/NcNBjn1oCmzhR04qctmI4FisM n1u6WqIib+Q9AMTu+sLcz0DVzR86UUiR53uu89QVFhaofOqPNT 1tVRPljMBKQXPHFVVuBw= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Saturday 11 January 2014, Tanmay Inamdar wrote: > On Tue, Jan 7, 2014 at 7:35 AM, Arnd Bergmann wrote: > > On Tuesday 07 January 2014, Tanmay Inamdar wrote: > >> On Fri, Jan 3, 2014 at 1:49 AM, Arnd Bergmann wrote: > >> > > >> > Better use an anonymous clock? > >> > >> Sorry. Can you please elaborate? > > > > I mean drop the "clock-names" property. > > > Did you mean clock-names in pcie-clock node or pcie node? I can drop > clock-names from pcie clock node. However if I drop clock-names from > pcie node, then clk_get call from pcie host driver would result in > failure. Right? I meant drop it from the pcie node, and change the clk_get call to pass NULL instead of the name, which will get the handle for the only clock provided. You only need clock-names if you have more than one clock in the device node and want to identify them. The pcie-clock node should not have a "clock-names" property at all, unless it has a "clocks" property as well and refers to its clock parent with it. I already noticed in another review that the xgene clocks get this part wrong and that should be fixed for all those clock provides, but it's unrelated to what I was talking about here. Arnd -- 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/