Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp7821094ybl; Tue, 24 Dec 2019 09:35:01 -0800 (PST) X-Google-Smtp-Source: APXvYqzb4nye0fpAPghVT6ptJOLvs4dfsULlI6kCxRu+q1CHOS4YhzkPwtrYH5zBpZvDIjH/CT7U X-Received: by 2002:a9d:51c1:: with SMTP id d1mr37588639oth.136.1577208901472; Tue, 24 Dec 2019 09:35:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577208901; cv=none; d=google.com; s=arc-20160816; b=iQyyMMreZeEaSL1ZSi3RtGakpXwZEPX2r1RtCy7TmV5eHPyXfcdWuutwpttEaMtncy L8TJzZAWDYn4Q1i/LDdm/Mp1HE99Ohppmu5PYuXvoF/qjtwCqZh3NqS42rQfhpeH9mdv YIIE3OPlggtUPEqXVTHZizV4W4LjLlS5oczzs1xc8kOg+Jghgir24nkwcocPOV+bxAtf 8yyUiXYdlEWudcpsLXekya5r7xmvJmn00uTNfqdik0ssRM2U+gFpohEP2JG3uaIxCEo7 kX2syiORuzatQ28rhv7t2uHyXGnVRMNM9nH7f3A8fS+qLawpCUTlAqIVF0mwbype69pw afKg== 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=t46IW0QZKCuOUnw3jURZelCuE3At/lP3LYfT8f7rYPA=; b=kNOicz9/nOI45nWDXyuQUOdx+76eJDpYVitNcPmB/j7eWeJRFU4BPMV+/VI20B7Rr5 OV/5TswNt3LRSL3cbOM3rmljehzeikUw2pOutBjrSesexD4+PflRFRIyD4iSx+lt0VVg XU/JLOJIREb601CdYeQVcDyrnCCJP34GbNvdKvr17yUq4irYmlvjhf1f9aTTEByPCeW6 5M/LdpLeddhQanQkxIXNIjfDmLBUKmfgWAmFzS8qWGG+DOyR5Xp9bMgT1s5AAGI6HzWc I3Qce7zR51FOjTLmJlaXA4XC4o+/v59gsPKk5A52eDP9nBv989nz2+h1VNpc3w92o6IA TiGQ== 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 a15si8671468otq.83.2019.12.24.09.34.49; Tue, 24 Dec 2019 09:35:01 -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 S1726982AbfLXRcd (ORCPT + 99 others); Tue, 24 Dec 2019 12:32:33 -0500 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:35039 "EHLO relay1-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726171AbfLXRcd (ORCPT ); Tue, 24 Dec 2019 12:32:33 -0500 X-Originating-IP: 88.190.179.123 Received: from localhost (unknown [88.190.179.123]) (Authenticated sender: repk@triplefau.lt) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 650CA240003; Tue, 24 Dec 2019 17:32:29 +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 5/5] dt-bindings: Add AXG PCIE PHY bindings Date: Tue, 24 Dec 2019 18:39:42 +0100 Message-Id: <20191224173942.18160-6-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 Add documentation for PCIE PHYs found in AXG SoCs. Signed-off-by: Remi Pommarel --- .../bindings/phy/amlogic,meson-axg-pcie.yaml | 51 +++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/amlogic,meson-axg-pcie.yaml diff --git a/Documentation/devicetree/bindings/phy/amlogic,meson-axg-pcie.yaml b/Documentation/devicetree/bindings/phy/amlogic,meson-axg-pcie.yaml new file mode 100644 index 000000000000..c622a1b38ffc --- /dev/null +++ b/Documentation/devicetree/bindings/phy/amlogic,meson-axg-pcie.yaml @@ -0,0 +1,51 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +# Copyright 2019 BayLibre, SAS +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/phy/amlogic,meson-axg-pcie.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: Amlogic AXG PCIE PHY + +maintainers: + - Remi Pommarel + +properties: + compatible: + enum: + - amlogic,axg-pcie-phy + + reg: + maxItems: 1 + + aml,hhi-gpr: + maxItems: 1 + + resets: + maxItems: 1 + + reset-names: + items: + - const: phy + + "#phy-cells": + const: 0 + +required: + - compatible + - reg + - aml,hhi-gpr + - resets + - reset-names + - "#phy-cells" + +examples: + - | + pcie_phy: pcie-phy@ff644000 { + compatible = "amlogic,axg-pcie-phy"; + reg = <0x0 0xff644000 0x0 0x2000>; + aml,hhi-gpr = <&sysctrl>; + resets = <&reset RESET_PCIE_PHY>; + reset-names = "phy"; + #phy-cells = <0>; + }; -- 2.24.0