Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1991731ybv; Sat, 8 Feb 2020 10:37:36 -0800 (PST) X-Google-Smtp-Source: APXvYqzUrO6/MrBpu8O5HcOfZL+vjqCGxOuwzD2fBLnxLqBToaeA7SOKeHxiXQIh6DjT8ZHwTQLT X-Received: by 2002:a05:6830:154c:: with SMTP id l12mr4237813otp.275.1581187055936; Sat, 08 Feb 2020 10:37:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581187055; cv=none; d=google.com; s=arc-20160816; b=IIGnF1RatvRhVZC61e9QRD69sNfCF5fPr2tRQE5XfmVcJoonZiPD4EmKrdUSegY52W i1YGj2RwIkMfZDVjdiilzIahXBQpfuahMPoMkt3FVif3Q73rGKza7k095ClAZUXYWupV aGgaNDAulDV9yElWQF6uanYVebQ4XijttdUSDe5sbC2Q68izTP7NunA5J9+deq4YIza2 r8PkpgNdaZUZ7XWJGnyrt8dTzZf49puy1QEfrdHC7oRepLlmXTrBpG9hqEviVPTukFw6 E1hZYFSvI+FWSPokL9KQNgFKImMujaaJL9mRrqpXwhBTfnaahqJdkC7B8y05urGO1Js4 y2aA== 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=h4wkoWcQnJp+t8wN1Rg1EugZCOCvQJKoH8CuDWH6aPc=; b=oVsaBqonGNIWFvIym5/HeETSjy2dQtbmC//jitQYWs/UfTEe3/CrzgYD9ZEulchFqU uFTacH6AofTLKxVMCJWbwD+by2Ei8dLFBvc6zZk6HeCzAxWV8DbS8VY27yvuV63jiyhX m7/RsTp0Cnj2aPZPWy7HWAtfSQWlQPLgXkhl9fKT6F32VDw71SdXYel/iRzaaW/qejwn lnENpiLCHuPhB4cUDcqLgPeEAFZN7PREUsrRRy9Npo2h/RH1cvFPs8Bge0PgSKLSRiP5 1xK53rdcdxmYAhQyq2RbzWwSsCNUnWp1kYvZidAF1Id0uL3qX9XJIAP6PeWme90IzZ9e y+qA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=QbULqGc5; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z20si5374901oib.26.2020.02.08.10.37.24; Sat, 08 Feb 2020 10:37:35 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=QbULqGc5; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728490AbgBHShF (ORCPT + 99 others); Sat, 8 Feb 2020 13:37:05 -0500 Received: from mail-wm1-f67.google.com ([209.85.128.67]:34153 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727945AbgBHShB (ORCPT ); Sat, 8 Feb 2020 13:37:01 -0500 Received: by mail-wm1-f67.google.com with SMTP id s144so5398510wme.1; Sat, 08 Feb 2020 10:37:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=h4wkoWcQnJp+t8wN1Rg1EugZCOCvQJKoH8CuDWH6aPc=; b=QbULqGc5tmXT0mWgOLyvt9tb0dNgj4Amg0ebxx8YgfZAUyLehH8BQNhW8ZYO6YlpOS kcYNDFUIFmYhZ7Tan6akUSxIMLUw9yst1CaiCBd63JNfKNTApYQc4oTqk3n/SPcjd3UE JvkKRbs+WN5ZLan58rC/xOfIaFs0qzcRlhkmd301tqnZ/4JA2Uz6c+/aqmdS3afniTS/ C0eTF1TGk3oewzg4c29F2jvTkEx97oUw1fNhehggLBm7f9Fti9cDOujU4X0T4bwjUgB6 y/DUjpDopqbpBYW8QloomzxlUeoB+N4Iv9kV71l56cD48x8TriXOc0sg7v/SbeoMnwk4 3MRg== 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=h4wkoWcQnJp+t8wN1Rg1EugZCOCvQJKoH8CuDWH6aPc=; b=EW/ucCb8zTdwEgNVyukWa5D/ktBUif1gXwHWpTc7WBn5sbNWkMabhYR7e2dCE+9K1q +DZjZwM3y920eLLqvsaWP5CReYaNGv2UUW8BEf6KAFyAAC0dkOLS1nBu3kIyf7NHJ8iL L4YubWIufNjj+qbW6RAmoUPbtdtKhUZDoZKK8bAcZHpk9JY2jPiudBzCiMnZHq6BvRM6 Diwcp9a5igx1WGaOmI50X39dz6MBa0qyG6iVgTIG4beTyKT71c8/X+tH2ZAYc9m2+7c1 7bQPYWvHSa1BNzkGv+LJAR0mhEmm3GcdRjAQKO7QAC/Z6x6DzYQ49G80vOmtfgF8X4Ku qk/w== X-Gm-Message-State: APjAAAVXp2Xb3ufrP4A2b9o5xOx+Ls6zLOJwbRQfTAxRnliE763PutQ1 M5MU5saRkQzTEpT7X2OUdFA= X-Received: by 2002:a1c:a78b:: with SMTP id q133mr5271814wme.28.1581187019830; Sat, 08 Feb 2020 10:36:59 -0800 (PST) Received: from prasmi.home ([2a00:23c8:2510:d000:a553:90a1:93f5:e306]) by smtp.gmail.com with ESMTPSA id b67sm8404385wmc.38.2020.02.08.10.36.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 Feb 2020 10:36:59 -0800 (PST) From: Lad Prabhakar X-Google-Original-From: Lad Prabhakar To: Bjorn Helgaas , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , Kishon Vijay Abraham I , Lorenzo Pieralisi , Arnd Bergmann , Greg Kroah-Hartman , Jingoo Han , Gustavo Pimentel , Marek Vasut , Yoshihiro Shimoda , Shawn Lin , Heiko Stuebner Cc: Andrew Murray , linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-renesas-soc@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Lad Prabhakar Subject: [PATCH v4 4/6] dt-bindings: PCI: rcar: Add bindings for R-Car PCIe endpoint controller Date: Sat, 8 Feb 2020 18:36:39 +0000 Message-Id: <20200208183641.6674-5-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200208183641.6674-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20200208183641.6674-1-prabhakar.mahadev-lad.rj@bp.renesas.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 This patch adds the bindings for the R-Car PCIe endpoint driver. Signed-off-by: Lad Prabhakar --- .../devicetree/bindings/pci/rcar-pci-ep.yaml | 76 ++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 Documentation/devicetree/bindings/pci/rcar-pci-ep.yaml diff --git a/Documentation/devicetree/bindings/pci/rcar-pci-ep.yaml b/Documentation/devicetree/bindings/pci/rcar-pci-ep.yaml new file mode 100644 index 0000000..07cd5a7 --- /dev/null +++ b/Documentation/devicetree/bindings/pci/rcar-pci-ep.yaml @@ -0,0 +1,76 @@ +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2020 Renesas Electronics Europe GmbH - https://www.renesas.com/eu/en/ +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pci/rcar-pci-ep.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Renesas R-Car PCIe Endpoint + +maintainers: + - Lad Prabhakar + +properties: + compatible: + items: + - const: renesas,r8a774c0-pcie-ep + - const: renesas,rcar-gen3-pcie-ep + + reg: + maxItems: 5 + + reg-names: + items: + - const: apb-base + - const: memory0 + - const: memory1 + - const: memory2 + - const: memory3 + + power-domains: + maxItems: 1 + + resets: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-names: + items: + - const: pcie + + max-functions: + minimum: 1 + maximum: 6 + +required: + - compatible + - reg + - reg-names + - resets + - power-domains + - clocks + - clock-names + - max-functions + +examples: + - | + #include + #include + + pcie0_ep: pcie-ep@fe000000 { + compatible = "renesas,r8a774c0-pcie-ep", + "renesas,rcar-gen3-pcie-ep"; + reg = <0 0xfe000000 0 0x80000>, + <0x0 0xfe100000 0 0x100000>, + <0x0 0xfe200000 0 0x200000>, + <0x0 0x30000000 0 0x8000000>, + <0x0 0x38000000 0 0x8000000>; + reg-names = "apb-base", "memory0", "memory1", "memory2", "memory3"; + resets = <&cpg 319>; + power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>; + clocks = <&cpg CPG_MOD 319>; + clock-names = "pcie"; + max-functions = /bits/ 8 <1>; + }; -- 2.7.4