Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp4521539ybe; Mon, 16 Sep 2019 13:45:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqzL3AymjIJz8DKDCLm31ePzFL8zmIFFEq8K/FD4GpRKhalSo25hPoTWUcSze9ISQywGwpPQ X-Received: by 2002:a17:906:8041:: with SMTP id x1mr1815194ejw.132.1568666744293; Mon, 16 Sep 2019 13:45:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568666744; cv=none; d=google.com; s=arc-20160816; b=F0okVNiGF0PVw+ipb5A4JYJuL6d3wbG5W3zSEnme+pQDNrkP43anw7Ji/EPKWVMpT3 rwOhIGTpV7D6lIbj5ggPl2tmtsCq2dkxBwctJ9yTTFjVIrH7AKrhQiDPgErbyzbyIprA oIfgEYFLpOU2NOcoeHjzegkYmHLfZE+OAYWTGfDvUQHCgrcY1qQhE/VP+xSERS5cfbCp yS51e8cGIvbnhl1mmD3nQ57niE4AAIhfFA+Dh0+rTZ7Kg5vAwbXvTnMZiGeZpMYeZ0uD x1XGpT/iYGp340TlAdO0OHorq7LepjetwxwMaQscPCim4TK0h6Qp9JnRlsgv5/gUBzO5 HedQ== 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=7oxdGFWmOJ9acX+ZsFQIe37ydXhp44hak2IIuwkLPYw=; b=KPUOUwsFVJ8vTBxoIP105xnHptMZlyJYaMCYRaBnHCPWbALCptb40o7zLbmwVLQiH9 KeYJhIZPfzlBzV4j/cJw7sYj1MZMGGIRoDmEjQjiyAz1UDwVYHSvuoM1zp95CiN4Ftgn TQ3xh6GiOPP6GKSJDQ78ynciJ3VUi+ziyZOmuLjm9EMmVD8APx6PsLqPW10hjy94hiBQ tl2rW9nVhiQ9Bkzo4mHSJ1wEWnbtfIw9yxxDRfP0oJ/h1ZkQJ08Wq7qVgLUqgaDDquvC LOL1cK6r+yXGALKF5B+VaHV84Pkpu4R8yRQDUlrM7bjgimB8wZiFuIWsJgusl7ehaNVB kHew== 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 b1si134115edm.271.2019.09.16.13.45.20; Mon, 16 Sep 2019 13:45:44 -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 S2387596AbfIPNqr (ORCPT + 99 others); Mon, 16 Sep 2019 09:46:47 -0400 Received: from foss.arm.com ([217.140.110.172]:45138 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727806AbfIPNqq (ORCPT ); Mon, 16 Sep 2019 09:46:46 -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 E1E8A337; Mon, 16 Sep 2019 06:46:45 -0700 (PDT) Received: from localhost (unknown [10.37.6.20]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 596C63F67D; Mon, 16 Sep 2019 06:46:45 -0700 (PDT) Date: Mon, 16 Sep 2019 14:46:43 +0100 From: Andrew Murray To: Neil Armstrong Cc: khilman@baylibre.com, lorenzo.pieralisi@arm.com, kishon@ti.com, bhelgaas@google.com, devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, yue.wang@Amlogic.com, maz@kernel.org, repk@triplefau.lt, nick@khadas.com, gouwa@khadas.com, Rob Herring Subject: Re: [PATCH v2 1/6] dt-bindings: pci: amlogic,meson-pcie: Add G12A bindings Message-ID: <20190916134643.GT9720@e119886-lin.cambridge.arm.com> References: <20190916125022.10754-1-narmstrong@baylibre.com> <20190916125022.10754-2-narmstrong@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190916125022.10754-2-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 Mon, Sep 16, 2019 at 02:50:17PM +0200, 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 only requires the > MIPI clock for the Amlogic AXG SoC Family. > > Signed-off-by: Neil Armstrong > Reviewed-by: Rob Herring > --- Reviewed-by: Andrew Murray > .../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.22.0 >