-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dt-bindings: phy: Tegra194 P2U convert to YAML
Convert Tegra194 P2U binding to the YAML format. Signed-off-by: David Heidelberg <david@ixit.cz> Reviewed-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20211031113236.29712-1-david@ixit.cz Signed-off-by: Vinod Koul <vkoul@kernel.org>
- Loading branch information
David Heidelberg
authored and
Vinod Koul
committed
Nov 23, 2021
1 parent
e45dbd3
commit 5c2ecfc
Showing
2 changed files
with
44 additions
and
28 deletions.
There are no files selected for viewing
28 changes: 0 additions & 28 deletions
28
Documentation/devicetree/bindings/phy/phy-tegra194-p2u.txt
This file was deleted.
Oops, something went wrong.
44 changes: 44 additions & 0 deletions
44
Documentation/devicetree/bindings/phy/phy-tegra194-p2u.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 <treding@nvidia.com> | ||
|
||
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>; | ||
}; |