Received: by 2002:a4a:311b:0:0:0:0:0 with SMTP id k27-v6csp4017281ooa; Mon, 13 Aug 2018 23:13:32 -0700 (PDT) X-Google-Smtp-Source: AA+uWPzNciYGgR6uPd1xw/mH3ht5Y5JIsousjd+K/vVzwO6vlWG0IgsvX636VdscEHCYNbyTSgJF X-Received: by 2002:a17:902:142:: with SMTP id 60-v6mr19462156plb.330.1534227212203; Mon, 13 Aug 2018 23:13:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534227212; cv=none; d=google.com; s=arc-20160816; b=L2YXd5IrNt/Y2FeB8/NGDpYbNxB3ZtP2aCXA8Ri2Rv4Ny39pJxhZtT46rC0e5hBMFN blIv8qv5hLw7tnakGNBS4LGnbA84R0sBwWwciYMA4b/wWljzMI8Mamyx/YJ1LGRSQHJl rd/keqW5ynJtvy0K0sPoPhTKgPFcDyO3dSwQxJKp+swtH9ndWGCwEEZtTdqKKfhgS01+ iB5P6JuI/CjqDgRjAlJuA1Uw4GCiiCDV9OQYG+WV74KFzuDpgkAj56uvbTZYO/GQXzuI sMrFsAWabQndxJ6kYeDmOZlhHcBMwD0FQ3DI0gxFym31++BlDX2qnKKQiJ3LhpRcEYBp 2D9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=K10tZpeLS0OM2FSYzGUKENpGjFWixnzOzWthMCFV24g=; b=wWfO/ew+zYk5hFdNpyIU7eDFb7gyxVafdhI73idQgXERml1NyZacOAKxAcsxLeGEbk f+JLdd+m3qmOvKvPjusSV40ArVIajcLo+0xpUV4g/t7OQZb/wYu1UGLK30cHlDP1Sna3 Stkh2yGooTylrC7JSyq7fB1W+M1Lyxkfd/S/k9ZdONgq7k910jF3AN/O3hQE6KV9JH/8 Sszi0xM7kl9IvZmPhea9636Db963Khirk7HrF7MToseNLMKj6fkCSlj9kPEyJFDTJVlk /wY89wlP4nF/31Acd3bCXyJIxQqk5KbkSslpEfKOwNYzylhz29/g00Qdamm8FEsaYMeq pnvg== 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 c5-v6si15668620pll.275.2018.08.13.23.13.15; Mon, 13 Aug 2018 23:13:32 -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 S1731105AbeHNI52 (ORCPT + 99 others); Tue, 14 Aug 2018 04:57:28 -0400 Received: from mail-sh2.amlogic.com ([58.32.228.45]:60107 "EHLO mail-sh2.amlogic.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728483AbeHNI51 (ORCPT ); Tue, 14 Aug 2018 04:57:27 -0400 Received: from droid10.amlogic.com (10.18.11.213) by mail-sh2.amlogic.com (10.18.11.6) with Microsoft SMTP Server id 15.0.1320.4; Tue, 14 Aug 2018 14:11:49 +0800 From: Hanjie Lin To: Kishon Vijay Abraham I CC: Yue Wang , Hanjie Lin , , , , , "Kevin Hilman" , Carlo Caione , Rob Herring , , Subject: [PATCH 1/2] dt-bindings: PCI: meson: add DT bindings for Amlogic Meson PCIe Phy controller Date: Tue, 14 Aug 2018 02:12:13 -0400 Message-ID: <1534227134-151584-2-git-send-email-hanjie.lin@amlogic.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1534227134-151584-1-git-send-email-hanjie.lin@amlogic.com> References: <1534227134-151584-1-git-send-email-hanjie.lin@amlogic.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.18.11.213] Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Yue Wang The Meson-PCIE-PHY controller supports the 5-Gbps data rate of the PCI Express Gen 2 specification and is backwardcompatible with the 2.5-Gbps Gen 1.1 specification with only inferred idle detection supported on AMLOGIC SoCs. 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) +- 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