Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp144815imm; Tue, 14 Aug 2018 15:52:07 -0700 (PDT) X-Google-Smtp-Source: AA+uWPw216pPv/I08OdLtILpDKgjG+ysigjzCowZu0B0zkdXwVeBD77KMF5J16I9mfORtRC6e0wv X-Received: by 2002:a17:902:9a47:: with SMTP id x7-v6mr9415071plv.37.1534287127906; Tue, 14 Aug 2018 15:52:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534287127; cv=none; d=google.com; s=arc-20160816; b=zf84SYNfYcaCUZdsaNwrBw42aZ7TOXZnWin1vRbkhB9NChzhI+r3+NGyffU9NsYwlx jhF4ebSfScNJvqvP6RcUBlx6oJEWmpr5BwEdkr52rG8ywixXO2WQggp0hzKUQkWlWjUb tGm0DAQEZYIYUzL8lZfIrHK9aTw8qi4MbKFjuAiJOZmcVNI5prETGBu/VAPtYc/fczjG V+5AbFo+BLjOAteq5Z3CyBOyW4rURyP4OM2WSm8H+pgVBFhH+iI5qIAvkVoyVW+PWbqF zCzWQ4b0sNRoNuydJlWSZXJ8psoWMR5IqL27YtieHbZKpLZNRq1eUCjPJbH16SWXw+S3 PFrA== 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:arc-authentication-results; bh=m3bpnkmjaKXsxRO/eHbXgejx0ldGkK96dJbJO3+PG18=; b=XHPQnbgHXgjER7/N7ZHctPSxOUK1Z8dLraYQyb8Bz0u5vrjRi8ZV0pWGu7QyNeAfk6 IR/Q7cWg178UkZxJjg6r+jfmLR/tuvq7A1bhM8sIKsCXu7e/3inSnnHkN/YCM9VYTkHc A3iwrIiFJkwdZdpHzM4eXwa/rl/POeKismD9pCyuUKh8mLWOZrNHZFLVjewti+Wzh1yP E3mUqQG2g70L+miIra2I4D+0AcVDP0be5x3gpwfqJyA7w6qH+BDziMwlQhy9FqOoUecJ WacZnn/jgUGSqQ/9+2G1nfRTlx1cJ24G4DTLsOgdidIgXEhNAK7Vh1JYmT46iJkjxtiC Nqog== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k4-v6si16295505pll.456.2018.08.14.15.51.39; Tue, 14 Aug 2018 15:52:07 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731200AbeHOBjh (ORCPT + 99 others); Tue, 14 Aug 2018 21:39:37 -0400 Received: from mail-io0-f193.google.com ([209.85.223.193]:42161 "EHLO mail-io0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728103AbeHOBjg (ORCPT ); Tue, 14 Aug 2018 21:39:36 -0400 Received: by mail-io0-f193.google.com with SMTP id n18-v6so19945263ioa.9; Tue, 14 Aug 2018 15:50:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=m3bpnkmjaKXsxRO/eHbXgejx0ldGkK96dJbJO3+PG18=; b=CAVSiVhy7ZcP5w+tVG5NfAsueEg5hnorrKeNRjRDiAAS8POhplb6TEuSRhNXS7gZuM tvrZgK4hXyu0dzknXyb09IafC5d33xqyl+3DQQqauyJq1++gGIB1T7MVf6KdAZ4gDQyE AFvmqk1a6kSRCFum6eVYvjFPeNGbMTO13OKWdw94zW4ixo+BWZkcOcP+x/5J5fZ7Okkd vLlG/BlR9aRTqAgJF/DAgOFxlOScUh8IaIXdDVMJ5m7SEJvgioYTYft3U+3a1geq6IIN 1ZNHX9uxmHzGb4ly+Y+RmtkVgzyWxte7n+YvKZoWJZV0Nzh62gP2vzf7skXug5+jabty B0ag== X-Gm-Message-State: AOUpUlFic8ZRn0ed1oj6Er0nlRrFu5r/5/Cb9y4Z2d4WiMYEV9eQovME b8wv/rtW6msQFBO80p3Few== X-Received: by 2002:a5e:9b14:: with SMTP id j20-v6mr21310141iok.193.1534287014473; Tue, 14 Aug 2018 15:50:14 -0700 (PDT) Received: from localhost ([24.51.61.72]) by smtp.gmail.com with ESMTPSA id w76-v6sm190314itc.0.2018.08.14.15.50.13 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 14 Aug 2018 15:50:13 -0700 (PDT) Date: Tue, 14 Aug 2018 16:50:12 -0600 From: Rob Herring To: Hanjie Lin Cc: Kishon Vijay Abraham I , Yue Wang , linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Kevin Hilman , Carlo Caione , shawn.lin@rock-chips.com, devicetree@vger.kernel.org Subject: Re: [PATCH 1/2] dt-bindings: PCI: meson: add DT bindings for Amlogic Meson PCIe Phy controller Message-ID: <20180814225012.GA19305@rob-hp-laptop> References: <1534227134-151584-1-git-send-email-hanjie.lin@amlogic.com> <1534227134-151584-2-git-send-email-hanjie.lin@amlogic.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1534227134-151584-2-git-send-email-hanjie.lin@amlogic.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 14, 2018 at 02:12:13AM -0400, Hanjie Lin wrote: > From: Yue Wang Subject should be "dt-bindings: phy: ..." > The Meson-PCIE-PHY controller supports the 5-Gbps data rate > of the PCI Express Gen 2 specification and is backwardcompatible space ^ > with the 2.5-Gbps Gen 1.1 specification with only > inferred idle detection supported on AMLOGIC SoCs. AMLOGIC or Amlogic? > > Signed-off-by: Hanjie Lin > Signed-off-by: Yue Wang > --- > .../bindings/phy/amlogic,meson-pcie-phy.txt | 31 ++++++++++++++++++++++ > 1 file changed, 31 insertions(+) > create mode 100644 Documentation/devicetree/bindings/phy/amlogic,meson-pcie-phy.txt > > diff --git a/Documentation/devicetree/bindings/phy/amlogic,meson-pcie-phy.txt b/Documentation/devicetree/bindings/phy/amlogic,meson-pcie-phy.txt > new file mode 100644 > index 0000000..db99085 > --- /dev/null > +++ b/Documentation/devicetree/bindings/phy/amlogic,meson-pcie-phy.txt > @@ -0,0 +1,31 @@ > +* Amlogic Meson AXG PCIE PHY binding > + > +Required properties: > +- compatible: Should be > + - "amlogic,axg-pcie-phy" > +- #phys-cells: must be 0 (see phy-bindings.txt in this directory) You don't need to distinguish port A and B? > +- reg: The base address and length of the registers > +- resets: phandle to the reset lines > +- reset-names: must contain "phy" and "peripheral" > + - "port_a" Port A reset > + - "port_b" Port B reset > + - "phy" PHY reset > + - "apb" APB reset > +Optional properties: > +- phy-supply: see phy-bindings.txt in this directory > + > +Example: > + pcie_phy: pcie-phy@ff644000 { > + #phy-cells = <0>; > + compatible = "amlogic,axg-pcie-phy"; > + reg = <0x0 0xff644000 0x0 0x2000>; > + resets = <&reset RESET_PCIE_A>, > + <&reset RESET_PCIE_B>, > + <&reset RESET_PCIE_PHY>, > + <&reset RESET_PCIE_APB>; > + reset-names = > + "port_a", > + "port_b", > + "phy", > + "apb"; > + }; > -- > 2.7.4 >