Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp4485529ybe; Mon, 16 Sep 2019 13:05:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqzJllCtzFzCqTO4few1h8UzRROsMu7QMElY9ogCIh9eEBS8rEz0IJuzPBSj9L+tcjwdNcdd X-Received: by 2002:a17:906:82c1:: with SMTP id a1mr1628779ejy.187.1568664310141; Mon, 16 Sep 2019 13:05:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568664310; cv=none; d=google.com; s=arc-20160816; b=Ei7LSQrOru7vF8YXW+pypg61AegZlLJtpmxp6Wkh7cRafrUlGyxikEQVnbeAyA4x7T E+OzMcUQzHxYft84MoKoeyxEGlLHELZeGTyn0KVFa3SWWAOd4vhslJdHeJGsjEdh/aHV 4rc/v92v11t0AlMIBJU+RK0AF39Ql+jO/m/ujE2yF7lLmaR12hIiI13bZRPS5kzL22om MOaMkDuwAzou7rM+aPFJ2+QX88kZI6kWtwrigP3wScHzeLpdn8eZrCGeNrkgzSBzhQoG 8C9whOVPPNfMkjfffezegL90wIvKbi1nXDULOGYMqcK+FPOm+4vwsZ9p5zTiqJ2IRB40 KNJQ== 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 :dkim-signature; bh=XUfEPcm9zIxhFldZrxhkkyEwszDIg8DVmTXvmpvcNks=; b=lmElDU9UY6MuVOaN5UM/jCMXYnr0DJQbwC8DjMtwxBkY0qlVnM4bhQEPwosWgvHEFu gIQb5Dwcl7IzFt/QS4Fwk/bsL6w4ykMDFCmY2fYEYLm6eAPapa204skkaOuZZFdcJEeO pBQyB0o/WCYwcK5ggBtTsDTviHKsPABLZlkngqEtsKHDlwD0AlqjCqPe7pdfdAJZfBWT NqF1y7ifvj2yoppG7pGrxnBsSYIEPzT6vfELTP8dikd4Z5xLIY+YmSPmjg4aaR/ZHDI4 +UJMD5Vk+AwSVcdi+9x6jj41A0FfmSLTWNWnJ4ZdmvOyMpGi1YPtcG3CCNxNI1AxT01h OF1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=hGzPVFic; 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 kt5si5003333ejb.283.2019.09.16.13.04.46; Mon, 16 Sep 2019 13:05:10 -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; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=hGzPVFic; 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 S1732837AbfIPMua (ORCPT + 99 others); Mon, 16 Sep 2019 08:50:30 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:37095 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732824AbfIPMu2 (ORCPT ); Mon, 16 Sep 2019 08:50:28 -0400 Received: by mail-wm1-f65.google.com with SMTP id r195so10209803wme.2 for ; Mon, 16 Sep 2019 05:50:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=XUfEPcm9zIxhFldZrxhkkyEwszDIg8DVmTXvmpvcNks=; b=hGzPVFic9jJ7l+dNqFEPZDAs17LUMFemybtUi2RQyKw4lNI31vG7ESwuhjCNfAhchl XL+JaCuTHmaduj2rp+jzvbG91jeWWFl1S9rh+MWdyOgDafQ3dHPu6spLWfinKamEXsYu k7J6v10E1nloeG+cbZ/Flvr4V7zrS9/24ysmPwpsMtcwmsC6Z6s2dyXzqyPMKgBDTPXE DbPgewVsW58oXs4phbQA2y/j4zIEN0faYeqmg0zyBS5BTYeL59yvrlEaFGFlFzr5IEwm l9RMFVTn1uiwphZ5Tf7dAoaD0AhtQYQ8F+B91Hhfkaknc14B0KVq7faVT4m9nScuyOuZ 9+gA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=XUfEPcm9zIxhFldZrxhkkyEwszDIg8DVmTXvmpvcNks=; b=DCsDhBqUIpj2O/I93E1I3RFLjibYvFbMjRxKMAR3+SHtRqlSSGOFASu+UY5KBPWAZk 5UUCfc3DmBhAwFe6PX60WmVYO6upJFJWZzJRB3YbRDSfG+eTG0mo1airQxtm5LLTqVDn gqvpz4hgBCA+WnLP5yYA5U95O/WODULX9R9nF540SKOTjUC9RnnAZV/ZEOL3nLWe1quO zTQD3nXtuc9UinVrh1uXFf8MCaHvyUvwM/HQSWJCpKm1Pob+dgUHKIY1ujFh9e1bcNzO 5ZkdnblUvH6jWkGX+QoFAbbPg3z83HvbgemEZbG6/7JUalLs1ajVno9dsFnM7KwTJ3qf xmAQ== X-Gm-Message-State: APjAAAVYXj/kW5EZBbYq92ukxIwHeI40ueQPszDcj3yHi1mC3DNdWHXn jp6KSA2dHr0ZyYCwXbA6SIm44w== X-Received: by 2002:a1c:7fcc:: with SMTP id a195mr14283145wmd.27.1568638225511; Mon, 16 Sep 2019 05:50:25 -0700 (PDT) Received: from bender.baylibre.local (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id o12sm15109960wrm.23.2019.09.16.05.50.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Sep 2019 05:50:24 -0700 (PDT) From: Neil Armstrong To: khilman@baylibre.com, lorenzo.pieralisi@arm.com, kishon@ti.com, bhelgaas@google.com, andrew.murray@arm.com, devicetree@vger.kernel.org Cc: Neil Armstrong , 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: [PATCH v2 1/6] dt-bindings: pci: amlogic,meson-pcie: Add G12A bindings Date: Mon, 16 Sep 2019 14:50:17 +0200 Message-Id: <20190916125022.10754-2-narmstrong@baylibre.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190916125022.10754-1-narmstrong@baylibre.com> References: <20190916125022.10754-1-narmstrong@baylibre.com> 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 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 --- .../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