Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp825376ybe; Wed, 11 Sep 2019 05:25:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqyBycEkdmQgKbjVHyvhA7gDq0dV3TWqDaxvR0SQeH6jLDP9wVsCQp+fRTvwEKNk/8DWUHE2 X-Received: by 2002:a17:906:244c:: with SMTP id a12mr28967677ejb.288.1568204723007; Wed, 11 Sep 2019 05:25:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568204722; cv=none; d=google.com; s=arc-20160816; b=WRyscF6dGiO+EHLnW34y4KS5BN8JyBoeGDCxpwJ6SpKAD6i26s3P1PF3BAXZ2YHiY+ Wwt6HOMHa/z/m1YxLVya1DA1vxLSY5vFEoeWsnoG0uYOdogrreHhyCw++YHDie5LgbYa JJQXrsCFsm26/ONPxUkNHznPosTt2UGz4lXvWGZbP3av3k6lCUNsJyZYdLFAWLLaS8Jr TjG0mYZDl2+530ItxScYGjAqPKPdXQG5iSqZASAs+ggKjUmiwK1aHMNQ2pCv2ogkx3Fh f2uwSJ1FKM7oLr6yqntkhBe8SV6CKDV7MNkjOEX+Ji6xO1AZOJ3R1LXa8sNvBB6s2Pmt 7/9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=jUg7/cwWvlGkHxKWa1f1+IUNCeMV09waoJJpJxgaVCI=; b=BJO6qn7WPmByD25NVdZV3axGs9y3zBHm9Nc/2i3cPcbGqOV35dEgkgQ7eL1foqkQ/X /DZ/QK5Ln1zEhUUb8tv/27V37Bh1C5jqPrwtbWjnrKKUvotpTnOpPGS2d8Sm9YNFqjtk XWmlYqck0XX446JCl3SxTvJuAkSMBB5JdR683SiZHWfLoy0xiHIDE3yEjasjsKPQk7PW Hbvmb/awyPXVnjAUR/fO0VGLWtsLy5a/XOrOuYTK7T4MysN5P/7LrbhSvNuBH4jVDcK9 hrd70ies5WAugYajJtf2Sh9W+kZonK2+aXzWXHnq1aXZLAw1iuV21PAG0GO0ll1dtCcG +Sfw== 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 v4si10544588ejw.67.2019.09.11.05.24.59; Wed, 11 Sep 2019 05:25:22 -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 S1727880AbfIKMWy (ORCPT + 99 others); Wed, 11 Sep 2019 08:22:54 -0400 Received: from foss.arm.com ([217.140.110.172]:46656 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726198AbfIKMWy (ORCPT ); Wed, 11 Sep 2019 08:22:54 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 3CAD91000; Wed, 11 Sep 2019 05:22:53 -0700 (PDT) Received: from localhost (unknown [10.37.6.20]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id A78693F59C; Wed, 11 Sep 2019 05:22:52 -0700 (PDT) Date: Wed, 11 Sep 2019 13:22:50 +0100 From: Andrew Murray To: Neil Armstrong Cc: khilman@baylibre.com, bhelgaas@google.com, lorenzo.pieralisi@arm.com, yue.wang@Amlogic.com, kishon@ti.com, devicetree@vger.kernel.org, repk@triplefau.lt, maz@kernel.org, linux-amlogic@lists.infradead.org, linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/6] dt-bindings: pci: amlogic,meson-pcie: Add G12A bindings Message-ID: <20190911122250.GT9720@e119886-lin.cambridge.arm.com> References: <1567950178-4466-1-git-send-email-narmstrong@baylibre.com> <1567950178-4466-2-git-send-email-narmstrong@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1567950178-4466-2-git-send-email-narmstrong@baylibre.com> User-Agent: Mutt/1.10.1+81 (426a6c1) (2018-08-26) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Sep 08, 2019 at 01:42:53PM +0000, Neil Armstrong wrote: > Add PCIE bindings for the Amlogic G12A SoC, the support is the same > but the PHY is shared with USB3 to control the differential lines. > > Thus this adds a phy phandle to control the PHY, and sets invalid > MIPI clock as optional for G12A. Perhaps reword to "Thus this adds a phy phandle to control the PHY, and only requires a MIPI clock for AXG SoC Family". Thanks, Andrew Murray > > Signed-off-by: Neil Armstrong > --- > .../devicetree/bindings/pci/amlogic,meson-pcie.txt | 12 ++++++++---- > 1 file changed, 8 insertions(+), 4 deletions(-) > > diff --git a/Documentation/devicetree/bindings/pci/amlogic,meson-pcie.txt b/Documentation/devicetree/bindings/pci/amlogic,meson-pcie.txt > index efa2c8b9b85a..84fdc422792e 100644 > --- a/Documentation/devicetree/bindings/pci/amlogic,meson-pcie.txt > +++ b/Documentation/devicetree/bindings/pci/amlogic,meson-pcie.txt > @@ -9,13 +9,16 @@ Additional properties are described here: > > Required properties: > - compatible: > - should contain "amlogic,axg-pcie" to identify the core. > + should contain : > + - "amlogic,axg-pcie" for AXG SoC Family > + - "amlogic,g12a-pcie" for G12A SoC Family > + to identify the core. > - reg: > should contain the configuration address space. > - reg-names: Must be > - "elbi" External local bus interface registers > - "cfg" Meson specific registers > - - "phy" Meson PCIE PHY registers > + - "phy" Meson PCIE PHY registers for AXG SoC Family > - "config" PCIe configuration space > - reset-gpios: The GPIO to generate PCIe PERST# assert and deassert signal. > - clocks: Must contain an entry for each entry in clock-names. > @@ -23,12 +26,13 @@ Required properties: > - "pclk" PCIe GEN 100M PLL clock > - "port" PCIe_x(A or B) RC clock gate > - "general" PCIe Phy clock > - - "mipi" PCIe_x(A or B) 100M ref clock gate > + - "mipi" PCIe_x(A or B) 100M ref clock gate for AXG SoC Family > - resets: phandle to the reset lines. > - reset-names: must contain "phy" "port" and "apb" > - - "phy" Share PHY reset > + - "phy" Share PHY reset for AXG SoC Family > - "port" Port A or B reset > - "apb" Share APB reset > +- phys: should contain a phandle to the shared phy for G12A SoC Family > - device_type: > should be "pci". As specified in designware-pcie.txt > > -- > 2.17.1 >