Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1977546pxb; Sun, 31 Oct 2021 05:10:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzQER1zY9D/cckQxKS7RW4nlZw0Nkm9P8Y7J90q/36Z9mWDBlcHF9/MxMPaanQudbreV10W X-Received: by 2002:a05:6602:27ce:: with SMTP id l14mr15911608ios.193.1635682215553; Sun, 31 Oct 2021 05:10:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635682215; cv=none; d=google.com; s=arc-20160816; b=D+Sv8nDvNrsIG22YIjsHliI5L4RiYgsiu30Iz73nipEYUTuzDXvWTF9s6GW1Lr7TCy sj7u7KMiOqBAopYW1qIZ8harL1ajVy7Vbyb+M9Z0cZMDStJ4IvysuDM294l+c42o3K8f Rw8p9GL4w1r5oQ8Yirnfp1gnNkuYRzQaUAJ5l0QL5ly78JMvid3ZCtkKGFtHC7VxgTEI Qtw8Trk/HQ69FS9QOj/m5lNZ1KXskY+KzGAiH7lBfIoJO+PS7SgHnLDPbNMkU/ToMlfv 91Z4UNjnmD781lESd2tdCqClPQ1juyzYGWf6b+Vf8OpNKT8iO55ofiIQHuLMtTGHxAWt i2tQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=F+8gu9hZCCdEjt5uT/O7323gSxFeIkUT6UKFNzqTy2o=; b=IzsGy6r1L7rPe+ezr/SeB5tsIJsWf5H3zXseLmwsn7ILsCZHgbAAoMp5PlkWJ5DD8z RzTw/kYk21AMGcy5q7oSuAfClyJ9fyy9UBZCO8uVB3heIPdbut6v0oWiDMppmhvhEASf PaLc3IK7UHIp/TQ7vuL+jB90aDp6xvYrXxNnBFe1IhjENrqubgLKwG0Vf50mbVjj1SFY NXNCTvhq57ygQXB7JKwPz4G3kIk78YkHEjckbvi6nvigmqV/sM+sGfWG+PFwN+4HEJt1 qUIrpQPH1OWLqp2fwMVhIUuwfLTb78e3bSwnPt9XkWgueTy8WV22bCpR0QiS1uBHWMwL V0ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ixit.cz header.s=dkim header.b=bAMrXFCT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=ixit.cz Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b13si1381410ilj.177.2021.10.31.05.09.30; Sun, 31 Oct 2021 05:10:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ixit.cz header.s=dkim header.b=bAMrXFCT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=ixit.cz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229887AbhJaLnl (ORCPT + 99 others); Sun, 31 Oct 2021 07:43:41 -0400 Received: from ixit.cz ([94.230.151.217]:40008 "EHLO ixit.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229638AbhJaLnk (ORCPT ); Sun, 31 Oct 2021 07:43:40 -0400 Received: from localhost.localdomain (ip-89-176-96-70.net.upcbroadband.cz [89.176.96.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ixit.cz (Postfix) with ESMTPSA id 2446B24E71; Sun, 31 Oct 2021 12:32:52 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ixit.cz; s=dkim; t=1635679972; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=F+8gu9hZCCdEjt5uT/O7323gSxFeIkUT6UKFNzqTy2o=; b=bAMrXFCTCljUDf5oM9CfK7UtrwI1DLTqIm5MEFDYtqadhoSNVdHYxY/KZYVXdjAiV6dfEQ BrJ++SiWduMge1wCgna2L7YdQ0tcUQEkQl5oByKYS2IHHwwjgMXj8XsHSHIeGo0hKdZ7cl 86nx8i2baMo+Ubt1Rj59mXIFZzmYZB8= From: David Heidelberg To: Kishon Vijay Abraham I , Vinod Koul , Rob Herring , Thierry Reding , Jonathan Hunter Cc: ~okias/devicetree@lists.sr.ht, David Heidelberg , Thierry Reding , linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] dt-bindings: phy: Tegra194 P2U convert to YAML Date: Sun, 31 Oct 2021 12:32:36 +0100 Message-Id: <20211031113236.29712-1-david@ixit.cz> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam: Yes Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Convert Tegra194 P2U binding to the YAML format. Signed-off-by: David Heidelberg --- .../bindings/phy/phy-tegra194-p2u.txt | 28 ------------ .../bindings/phy/phy-tegra194-p2u.yaml | 44 +++++++++++++++++++ 2 files changed, 44 insertions(+), 28 deletions(-) delete mode 100644 Documentation/devicetree/bindings/phy/phy-tegra194-p2u.txt create mode 100644 Documentation/devicetree/bindings/phy/phy-tegra194-p2u.yaml diff --git a/Documentation/devicetree/bindings/phy/phy-tegra194-p2u.txt b/Documentation/devicetree/bindings/phy/phy-tegra194-p2u.txt deleted file mode 100644 index d23ff90baad5..000000000000 --- a/Documentation/devicetree/bindings/phy/phy-tegra194-p2u.txt +++ /dev/null @@ -1,28 +0,0 @@ -NVIDIA Tegra194 P2U binding - -Tegra194 has two PHY bricks namely HSIO (High Speed IO) and NVHS (NVIDIA High -Speed) each interfacing with 12 and 8 P2U instances respectively. -A P2U instance is a glue logic between Synopsys DesignWare Core PCIe IP's PIPE -interface and PHY of HSIO/NVHS bricks. Each P2U instance represents one PCIe -lane. - -Required properties: -- compatible: For Tegra19x, must contain "nvidia,tegra194-p2u". -- reg: Should be the physical address space and length of respective each P2U - instance. -- reg-names: Must include the entry "ctl". - -Required properties for PHY port node: -- #phy-cells: Defined by generic PHY bindings. Must be 0. - -Refer to phy/phy-bindings.txt for the generic PHY binding properties. - -Example: - -p2u_hsio_0: phy@3e10000 { - compatible = "nvidia,tegra194-p2u"; - reg = <0x03e10000 0x10000>; - reg-names = "ctl"; - - #phy-cells = <0>; -}; diff --git a/Documentation/devicetree/bindings/phy/phy-tegra194-p2u.yaml b/Documentation/devicetree/bindings/phy/phy-tegra194-p2u.yaml new file mode 100644 index 000000000000..9a89d05efbda --- /dev/null +++ b/Documentation/devicetree/bindings/phy/phy-tegra194-p2u.yaml @@ -0,0 +1,44 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/phy/phy-tegra194-p2u.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: NVIDIA Tegra194 P2U binding + +maintainers: + - Thierry Reding + +description: > + Tegra194 has two PHY bricks namely HSIO (High Speed IO) and NVHS (NVIDIA High + Speed) each interfacing with 12 and 8 P2U instances respectively. + A P2U instance is a glue logic between Synopsys DesignWare Core PCIe IP's PIPE + interface and PHY of HSIO/NVHS bricks. Each P2U instance represents one PCIe + lane. + +properties: + compatible: + const: nvidia,tegra194-p2u + + reg: + maxItems: 1 + description: Should be the physical address space and length of respective each P2U instance. + + reg-names: + items: + - const: ctl + + '#phy-cells': + const: 0 + +additionalProperties: false + +examples: + - | + p2u_hsio_0: phy@3e10000 { + compatible = "nvidia,tegra194-p2u"; + reg = <0x03e10000 0x10000>; + reg-names = "ctl"; + + #phy-cells = <0>; + }; -- 2.33.0