Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1690103imm; Thu, 16 Aug 2018 00:30:47 -0700 (PDT) X-Google-Smtp-Source: AA+uWPwm4iP9m3IILA8aVawisNOAs+GWSzklM32n/iEYkfjez8HFvX86TEFcnU/QfOAkY8pXe7qA X-Received: by 2002:a62:50c3:: with SMTP id g64-v6mr2235077pfj.244.1534404647466; Thu, 16 Aug 2018 00:30:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534404647; cv=none; d=google.com; s=arc-20160816; b=ZW6IFB8I9r4PecruEiRQHYDmrcYki/izsf2mkhoJxyBH+tcbKIC7ONDvV3W7PyzFvp qXW2GiJC7gYEC57ju2qWc3Dd1nSkkph0SKswCSX7At6xpeGHyyqtASU598LRdegV5qmg 1+e5MUdlZj7fhH7z7moOAMtXLhOiVt7ZemAtd4fAXZdGb+Rq5rqO3TK1UzLL0qAqwtIT 36tI0UzzPxyblRBJgF0qtHkUyL950nXwDEUs0HDCCra42Oooe8nIGRlxmxrrWERLPiQT J7q6JDHfAVnrXYE9fYRZgnDjAbujKYryCVjJTJYmkxnN98chdHRf7pj9jBMrHZ042aiR x9Ng== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=OQQNb1kUVN/5M4MwbtZ5H54Tm8vA8LuCMJyLxTCwg/U=; b=BuPM+PLFJnDJV9hpQ/8vYJrQ5IKV1fZ4YOcERPke285+NpzT/pAojt758M+fs+2sev yikX98xIlMCGl80X+IgGI7vmffgFMMI4lRwzBDiDa4mvWOeLibWuwdKekjBqdHmcKQAG x0akkeG5QdkAhPuZP+siywExZCfbl5bwveNDB/rIgykWmD5VrRQtmf8CaNJg9pESgrnk 5rHzQiwzAO7aKHSgDtY6SJaRmz7U//Bv/YYWxlWymNrtw+vifzxQiHGsRPK1IbYhvwKs cY2LOSAiYaBu5RAsG/G5nPkj2K889qVfJ8FZgMwu0N8gDTYJHPFFN36sxCkfAZjRY4Qy W/9g== 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 69-v6si23539553pla.505.2018.08.16.00.30.09; Thu, 16 Aug 2018 00:30:47 -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 S2387958AbeHPF4d (ORCPT + 99 others); Thu, 16 Aug 2018 01:56:33 -0400 Received: from mail-sh2.amlogic.com ([58.32.228.45]:23954 "EHLO mail-sh2.amlogic.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727697AbeHPF4d (ORCPT ); Thu, 16 Aug 2018 01:56:33 -0400 Received: from [10.18.59.72] (10.18.59.72) by mail-sh2.amlogic.com (10.18.11.6) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Thu, 16 Aug 2018 11:01:27 +0800 Subject: Re: [PATCH 1/2] dt-bindings: PCI: meson: add DT bindings for Amlogic Meson PCIe Phy controller To: Rob Herring CC: Kishon Vijay Abraham I , Yue Wang , , , , , Kevin Hilman , Carlo Caione , , References: <1534227134-151584-1-git-send-email-hanjie.lin@amlogic.com> <1534227134-151584-2-git-send-email-hanjie.lin@amlogic.com> <20180814225012.GA19305@rob-hp-laptop> From: Hanjie Lin Message-ID: <60f152b4-39b3-0205-794b-13a1617956d8@amlogic.com> Date: Thu, 16 Aug 2018 11:01:26 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20180814225012.GA19305@rob-hp-laptop> Content-Type: text/plain; charset="windows-1252" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.18.59.72] X-ClientProxiedBy: mail-sh2.amlogic.com (10.18.11.6) To mail-sh2.amlogic.com (10.18.11.6) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018/8/15 6:50, Rob Herring wrote: > 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 yes, I will fix ^ > >> with the 2.5-Gbps Gen 1.1 specification with only >> inferred idle detection supported on AMLOGIC SoCs. > > AMLOGIC or Amlogic? > yes, we will stick to '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? No, we don't. Theoretically there is only one phy in the chip, and we have distinguished ports by reset lines. Thanks for all corrections and suggestions. > >> +- 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 >> > > . >