Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp7820157ybl; Tue, 24 Dec 2019 09:33:49 -0800 (PST) X-Google-Smtp-Source: APXvYqxp/9vxCK53vYBqWkfxMsg0JN1yqi6LxZkpaj/zxFx4VbGnSvQfARObgvgEX5Npyuz7LeJ1 X-Received: by 2002:a9d:4f18:: with SMTP id d24mr35077491otl.179.1577208829270; Tue, 24 Dec 2019 09:33:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577208829; cv=none; d=google.com; s=arc-20160816; b=oDs4JxkErvYt2JxIYpb2pkZ0hIGUyd0eZ/Kn786boRemcvYUqLBIOj0ATOKYHkaXEv ajcHfJJaLtUyGotVd0WyfdM1IEc56YdfHZAC0lA72ARbIq1fJLBeHzA+7BTS4yiLX2S6 fgyCiT2/TPeE5nhqJ3pD35VZCbVdK9mQiYD5qRvIcDgBfG9QjlnK4eR2H4XdPoXTJNtq FyBC6YPVQuHUNuDII9Mia/02qut8ZxD4+Rvhb27JaH0JwQAMo684tMWxaWD5x8dxc3wM aoYPk5ZACeLOXEFK7Nj7nCpeDaEJ69XSHWlVnqPTjztXDl18uryqbd58DUvvbCyAOG92 q3vw== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=/szpEiepaF3C0i84HxXcUz3n52T2aMcRBzsQg9fqbZY=; b=c5emHX1e1cA9GASSZZofLdDgtpQZJyw/ArJwzhqKepeqtQNwdWk4prlPQdgwbOJyji 2HytlJEvgVQoYUeMZHmVCjrxl24WrWLcdWg7utNvcHwH35toZoXOqE0aJb4B+gc7gKK3 7QtVOgETdV6vJRUkeLHa5qGoz+YePWsAlweInlfpgaBErFWaCGmENKETPM045HmSNIF0 MNQOYUjOVKQrhOpxs6LzQpXMNOyl+qtA/uyIMw1p3GCAmF2PxpXQFE9m7HAEtCycwPL0 40eyuErcPueH7lXowwjsBpZu6WSm22wWekTiVcZ1hK8eNKqkThRvdNgv+EOIExXEsbB1 Mm/Q== 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 v14si11794330oto.127.2019.12.24.09.33.37; Tue, 24 Dec 2019 09:33:49 -0800 (PST) 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 S1726933AbfLXRc3 (ORCPT + 99 others); Tue, 24 Dec 2019 12:32:29 -0500 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:35307 "EHLO relay6-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726171AbfLXRc3 (ORCPT ); Tue, 24 Dec 2019 12:32:29 -0500 X-Originating-IP: 88.190.179.123 Received: from localhost (unknown [88.190.179.123]) (Authenticated sender: repk@triplefau.lt) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 649C5C0002; Tue, 24 Dec 2019 17:32:25 +0000 (UTC) From: Remi Pommarel To: Kishon Vijay Abraham I , Yue Wang , Lorenzo Pieralisi , Andrew Murray , Neil Armstrong , Kevin Hilman , Martin Blumenstingl Cc: Jerome Brunet , linux-amlogic@lists.infradead.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, Remi Pommarel , devicetree@vger.kernel.org Subject: [PATCH v3 4/5] dt-bindings: PCI: meson: Update PCIE bindings documentation Date: Tue, 24 Dec 2019 18:39:41 +0100 Message-Id: <20191224173942.18160-5-repk@triplefau.lt> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191224173942.18160-1-repk@triplefau.lt> References: <20191224173942.18160-1-repk@triplefau.lt> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Now that a new PHYs has been introduced for AXG SoC family, update dt bindings documentation. Signed-off-by: Remi Pommarel --- .../bindings/pci/amlogic,meson-pcie.txt | 22 ++++++++----------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/Documentation/devicetree/bindings/pci/amlogic,meson-pcie.txt b/Documentation/devicetree/bindings/pci/amlogic,meson-pcie.txt index 84fdc422792e..b6acbe694ffb 100644 --- a/Documentation/devicetree/bindings/pci/amlogic,meson-pcie.txt +++ b/Documentation/devicetree/bindings/pci/amlogic,meson-pcie.txt @@ -18,7 +18,6 @@ Required properties: - reg-names: Must be - "elbi" External local bus interface registers - "cfg" Meson specific 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. @@ -26,13 +25,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 for AXG SoC Family - resets: phandle to the reset lines. -- reset-names: must contain "phy" "port" and "apb" - - "phy" Share PHY reset for AXG SoC Family +- reset-names: must contain "port" and "apb" - "port" Port A or B reset - "apb" Share APB reset -- phys: should contain a phandle to the shared phy for G12A SoC Family +- phys: should contain a phandle to the PCIE phy +- phy-names: must contain "pcie" + - device_type: should be "pci". As specified in designware-pcie.txt @@ -43,9 +42,8 @@ Example configuration: compatible = "amlogic,axg-pcie", "snps,dw-pcie"; reg = <0x0 0xf9800000 0x0 0x400000 0x0 0xff646000 0x0 0x2000 - 0x0 0xff644000 0x0 0x2000 0x0 0xf9f00000 0x0 0x100000>; - reg-names = "elbi", "cfg", "phy", "config"; + reg-names = "elbi", "cfg", "config"; reset-gpios = <&gpio GPIOX_19 GPIO_ACTIVE_HIGH>; interrupts = ; #interrupt-cells = <1>; @@ -58,17 +56,15 @@ Example configuration: ranges = <0x82000000 0 0 0x0 0xf9c00000 0 0x00300000>; clocks = <&clkc CLKID_USB - &clkc CLKID_MIPI_ENABLE &clkc CLKID_PCIE_A &clkc CLKID_PCIE_CML_EN0>; clock-names = "general", - "mipi", "pclk", "port"; - resets = <&reset RESET_PCIE_PHY>, - <&reset RESET_PCIE_A>, + resets = <&reset RESET_PCIE_A>, <&reset RESET_PCIE_APB>; - reset-names = "phy", - "port", + reset-names = "port", "apb"; + phys = <&pcie_phy>; + phy-names = "pcie"; }; -- 2.24.0