Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp525086ybl; Wed, 28 Aug 2019 01:18:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqwSBBJZlsfde3dLXq9RvPm0BiZrQN+e7a8a8Y3B1/H4f0MznxX5jP35ujoJ+1iEIKlrqYVS X-Received: by 2002:a65:6093:: with SMTP id t19mr2362741pgu.79.1566980297796; Wed, 28 Aug 2019 01:18:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566980297; cv=none; d=google.com; s=arc-20160816; b=bswrSQPQ7veBA/lLX915v3dMQLprovlPdWWb1XSH02WvMFKfEiqMscfh9Ooiaq2TF3 re1jJ3F4fvG3rIc/w27IWbo0PRVTGjL3dp/KnYan1DrJBWmgckckKveFV3jiuDn7EY/M wT7AM04ZxZ3ZsOkZI0YWVgNBLB7tCXoDSm4F8kWg5P0VnY1VItJpSI6STRyXUiTd7q4P 1uSNH4lM1SNxdkCev8qkWfIzN9ZBF0C3ALH/NUSC9yBw9WdN64hlmeJ5qhBi0vp4yBvK ZVMCu0++oLsY+pT/71vh2UypKSJn4AbeDM1ajqPxhdnTzQabr+fiO0Co6fTHuCsYj45K N35g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=elcDxralvab5BCLPwy6aNqNRddh9yUrA4hJ16xi48PI=; b=dzFu2vopAsYlaPIc0mGvnWzIvHQVMiNEDlEOn8SwHZ4vul/Di22dC5AFr87d33y0sb DFd6ie3IDOB/oQ3ISGxyHj8r/BJE3wI++idbsLfc7cgzxs6SSL4k0X8MtN6nWTVWZb94 tkPeZK8lxEbbPNA45ujp3K3YOC3UYRWYWN57/VG5+ZszAKvQbjKzq227v49EQA+FbVp+ 7cSo68sINk1vKcr9J+ALyZLHmrQnFn7/GgHR1V37gGKENdW95e1eFN5G0YYt7ydiNeP6 DEkRw9Us4uS3/u47BltbIT60TrLb2XdNHNjCKM/07nVevHn7nStAko+0tbn/luB7gLO7 YM7w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a18si1903748pfa.177.2019.08.28.01.18.02; Wed, 28 Aug 2019 01:18:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726444AbfH1IRM (ORCPT + 99 others); Wed, 28 Aug 2019 04:17:12 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:44245 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726292AbfH1IRL (ORCPT ); Wed, 28 Aug 2019 04:17:11 -0400 Received: by mail-wr1-f67.google.com with SMTP id j11so690459wrp.11; Wed, 28 Aug 2019 01:17:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=elcDxralvab5BCLPwy6aNqNRddh9yUrA4hJ16xi48PI=; b=KsERq02pyOdSj8DPaDZ0SanJNIq3WnXBJWhH4yeuGICKoNdcG/9JkmJnkyKaf1Bs5E wySG6bGoQYTgWbP1BBBPPmK3AKu5ZToZxtlj7LomlVhH+QBpvbXmcflr7LwXDdObalFd hSmRWdwk1tYK+9e6k+wmNKw8P1diniRId/9fYsbaongF4Icrao+lOa4pR5iNMV+FOwpF y8WVPgwaYs9swp9fsTSOlYtsQ3x2DH6w52xLLsUIa68bBQF0bQZ9lFTaB4gQaRAlOTcZ bt7stDAHzHBNx4o7yDZTvAUOBi51FLw1hnC/SQmGIh4o+1QWQr9PMIJ6EmJzWX5c/fZL i1Pw== X-Gm-Message-State: APjAAAW+awAfq6FaYJpF9ifkLDUanahXWBdAMWQLz/BYvXvU5GUH0ppN l1W7RG5o7oa1xsl7OGIiyuc= X-Received: by 2002:adf:efd2:: with SMTP id i18mr2910751wrp.145.1566980229213; Wed, 28 Aug 2019 01:17:09 -0700 (PDT) Received: from 1aq-andre ([77.107.218.170]) by smtp.gmail.com with ESMTPSA id p19sm1406467wmg.31.2019.08.28.01.17.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Aug 2019 01:17:08 -0700 (PDT) Message-ID: Subject: Re: [PATCH 2/2] dt-bindings: imx6q-pcie: add "fsl,pcie-phy-refclk-internal" for i.MX7D From: =?ISO-8859-1?Q?Andr=E9?= Draszik To: Rob Herring Cc: linux-kernel@vger.kernel.org, Richard Zhu , Lucas Stach , Bjorn Helgaas , Mark Rutland , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Date: Wed, 28 Aug 2019 09:17:07 +0100 In-Reply-To: <20190827155626.GA29948@bogus> References: <20190813103759.38358-1-git@andred.net> <20190813103759.38358-2-git@andred.net> <20190827155626.GA29948@bogus> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.5-1.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rob, On Tue, 2019-08-27 at 10:56 -0500, Rob Herring wrote: > On Tue, Aug 13, 2019 at 11:37:59AM +0100, André Draszik wrote: > > The i.MX7D variant of the IP can use either an external > > crystal oscillator input or an internal clock input as > > a reference clock input for the PCIe PHY. > > > > Document the optional property 'fsl,pcie-phy-refclk-internal' > > > > Signed-off-by: André Draszik > > Cc: Richard Zhu > > Cc: Lucas Stach > > Cc: Bjorn Helgaas > > Cc: Rob Herring > > Cc: Mark Rutland > > Cc: Shawn Guo > > Cc: Sascha Hauer > > Cc: Pengutronix Kernel Team > > Cc: Fabio Estevam > > Cc: NXP Linux Team > > Cc: linux-pci@vger.kernel.org > > Cc: linux-arm-kernel@lists.infradead.org > > Cc: devicetree@vger.kernel.org > > Cc: linux-kernel@vger.kernel.org > > --- > > Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt | 5 +++++ > > 1 file changed, 5 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt > > b/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt > > index a7f5f5afa0e6..985d7083df9f 100644 > > --- a/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt > > +++ b/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt > > @@ -56,6 +56,11 @@ Additional required properties for imx7d-pcie and imx8mq-pcie: > > - "turnoff" > > - fsl,imx7d-pcie-phy: A phandle to an fsl,imx7d-pcie-phy node. > > Not sure how this got in, but why is the phy binding not used here? > > > > > +Additional optional properties for imx7d-pcie: > > +- fsl,pcie-phy-refclk-internal: If present then an internal PLL input is used > > + as PCIe PHY reference clock source. By default an external ocsillator input > > + is used. > > Can't the clock binding and maybe 'assigned-clocks' be used here? > > Also, this is a property of the PHY, so it belongs in the PHY's node. Thanks for pointing this out. I'll have a look. Andre'