Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
989a57f9
Commit
989a57f9
authored
Mar 13, 2020
by
Thierry Reding
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'for-5.7/dt-bindings' into for-5.7/arm/dt
parents
bb6d3fb3
eba51237
Changes
9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
596 additions
and
304 deletions
+596
-304
Documentation/devicetree/bindings/arm/tegra/nvidia,tegra20-pmc.txt
...tion/devicetree/bindings/arm/tegra/nvidia,tegra20-pmc.txt
+0
-300
Documentation/devicetree/bindings/arm/tegra/nvidia,tegra20-pmc.yaml
...ion/devicetree/bindings/arm/tegra/nvidia,tegra20-pmc.yaml
+354
-0
Documentation/devicetree/bindings/phy/nvidia,tegra124-xusb-padctl.txt
...n/devicetree/bindings/phy/nvidia,tegra124-xusb-padctl.txt
+24
-0
Documentation/devicetree/bindings/usb/nvidia,tegra-xudc.yaml
Documentation/devicetree/bindings/usb/nvidia,tegra-xudc.yaml
+190
-0
include/dt-bindings/clock/tegra114-car.h
include/dt-bindings/clock/tegra114-car.h
+3
-1
include/dt-bindings/clock/tegra124-car-common.h
include/dt-bindings/clock/tegra124-car-common.h
+3
-1
include/dt-bindings/clock/tegra210-car.h
include/dt-bindings/clock/tegra210-car.h
+3
-1
include/dt-bindings/clock/tegra30-car.h
include/dt-bindings/clock/tegra30-car.h
+3
-1
include/dt-bindings/soc/tegra-pmc.h
include/dt-bindings/soc/tegra-pmc.h
+16
-0
No files found.
Documentation/devicetree/bindings/arm/tegra/nvidia,tegra20-pmc.txt
deleted
100644 → 0
View file @
bb6d3fb3
This diff is collapsed.
Click to expand it.
Documentation/devicetree/bindings/arm/tegra/nvidia,tegra20-pmc.yaml
0 → 100644
View file @
989a57f9
This diff is collapsed.
Click to expand it.
Documentation/devicetree/bindings/phy/nvidia,tegra124-xusb-padctl.txt
View file @
989a57f9
...
...
@@ -37,6 +37,7 @@ Required properties:
- Tegra132: "nvidia,tegra132-xusb-padctl", "nvidia,tegra124-xusb-padctl"
- Tegra210: "nvidia,tegra210-xusb-padctl"
- Tegra186: "nvidia,tegra186-xusb-padctl"
- Tegra194: "nvidia,tegra194-xusb-padctl"
- reg: Physical base address and length of the controller's registers.
- resets: Must contain an entry for each entry in reset-names.
- reset-names: Must include the following entries:
...
...
@@ -62,6 +63,10 @@ For Tegra186:
- vclamp-usb-supply: Bias rail for USB pad. Must supply 1.8 V.
- vddio-hsic-supply: HSIC PHY power supply. Must supply 1.2 V.
For Tegra194:
- avdd-usb-supply: USB I/Os, VBUS, ID, REXT, D+/D- power supply. Must supply
3.3 V.
- vclamp-usb-supply: Bias rail for USB pad. Must supply 1.8 V.
Pad nodes:
==========
...
...
@@ -154,6 +159,11 @@ For Tegra210, the list of valid PHY nodes is given below:
- sata: sata-0
- functions: "usb3-ss", "sata"
For Tegra194, the list of valid PHY nodes is given below:
- usb2: usb2-0, usb2-1, usb2-2, usb2-3
- functions: "xusb"
- usb3: usb3-0, usb3-1, usb3-2, usb3-3
- functions: "xusb"
Port nodes:
===========
...
...
@@ -174,6 +184,12 @@ Required properties:
- "device": for USB device mode
- "otg": for USB OTG mode
Required properties for OTG/Peripheral capable USB2 ports:
- usb-role-switch: Boolean property to indicate that the port support OTG or
peripheral mode. If present, the port supports switching between USB host
and peripheral roles. Connector should be added as subnode.
See usb/usb-conn-gpio.txt.
Optional properties:
- nvidia,internal: A boolean property whose presence determines that a port
is internal. In the absence of this property the port is considered to be
...
...
@@ -221,6 +237,11 @@ Optional properties:
is internal. In the absence of this property the port is considered to be
external.
- maximum-speed: Only for Tegra194. A string property that specifies maximum
supported speed of a usb3 port. Valid values are:
- "super-speed-plus": default, the usb3 port supports USB 3.1 Gen 2 speed.
- "super-speed": the usb3 port supports USB 3.1 Gen 1 speed only.
For Tegra124 and Tegra132, the XUSB pad controller exposes the following
ports:
- 3x USB2: usb2-0, usb2-1, usb2-2
...
...
@@ -233,6 +254,9 @@ For Tegra210, the XUSB pad controller exposes the following ports:
- 2x HSIC: hsic-0, hsic-1
- 4x super-speed USB: usb3-0, usb3-1, usb3-2, usb3-3
For Tegra194, the XUSB pad controller exposes the following ports:
- 4x USB2: usb2-0, usb2-1, usb2-2, usb2-3
- 4x super-speed USB: usb3-0, usb3-1, usb3-2, usb3-3
Examples:
=========
...
...
Documentation/devicetree/bindings/usb/nvidia,tegra-xudc.yaml
0 → 100644
View file @
989a57f9
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML
1.2
---
$id
:
"
http://devicetree.org/schemas/usb/nvidia,tegra-xudc.yaml#"
$schema
:
"
http://devicetree.org/meta-schemas/core.yaml#"
title
:
Device tree binding for NVIDIA Tegra XUSB device mode controller (XUDC)
description
:
The Tegra XUDC controller supports both USB 2.0 HighSpeed/FullSpeed and
USB 3.0 SuperSpeed protocols.
maintainers
:
-
Nagarjuna Kristam <nkristam@nvidia.com>
-
JC Kuo <jckuo@nvidia.com>
-
Thierry Reding <treding@nvidia.com>
properties
:
compatible
:
items
:
-
enum
:
-
nvidia,tegra210-xudc
# For Tegra210
-
nvidia,tegra186-xudc
# For Tegra186
reg
:
minItems
:
2
maxItems
:
3
items
:
-
description
:
XUSB device controller registers
-
description
:
XUSB device PCI Config registers
-
description
:
XUSB device registers.
reg-names
:
minItems
:
2
maxItems
:
3
items
:
-
const
:
base
-
const
:
fpci
-
const
:
ipfs
interrupts
:
maxItems
:
1
description
:
Must contain the XUSB device interrupt.
clocks
:
minItems
:
4
maxItems
:
5
items
:
-
description
:
Clock to enable core XUSB dev clock.
-
description
:
Clock to enable XUSB super speed clock.
-
description
:
Clock to enable XUSB super speed dev clock.
-
description
:
Clock to enable XUSB high speed dev clock.
-
description
:
Clock to enable XUSB full speed dev clock.
clock-names
:
minItems
:
4
maxItems
:
5
items
:
-
const
:
dev
-
const
:
ss
-
const
:
ss_src
-
const
:
fs_src
-
const
:
hs_src
power-domains
:
maxItems
:
2
items
:
-
description
:
XUSBB(device) power-domain
-
description
:
XUSBA(superspeed) power-domain
power-domain-names
:
maxItems
:
2
items
:
-
const
:
dev
-
const
:
ss
nvidia,xusb-padctl
:
$ref
:
/schemas/types.yaml#/definitions/phandle-array
description
:
phandle to the XUSB pad controller that is used to configure the USB pads
used by the XUDC controller.
phys
:
minItems
:
1
description
:
Must contain an entry for each entry in phy-names.
See ../phy/phy-bindings.txt for details.
phy-names
:
minItems
:
1
items
:
-
const
:
usb2-0
-
const
:
usb2-1
-
const
:
usb2-2
-
const
:
usb2-3
-
const
:
usb3-0
-
const
:
usb3-1
-
const
:
usb3-2
-
const
:
usb3-3
avddio-usb-supply
:
description
:
PCIe/USB3 analog logic power supply. Must supply 1.05 V.
hvdd-usb-supply
:
description
:
USB controller power supply. Must supply 3.3 V.
required
:
-
compatible
-
reg
-
reg-names
-
interrupts
-
clocks
-
clock-names
-
power-domains
-
power-domain-names
-
nvidia,xusb-padctl
-
phys
-
phy-names
allOf
:
-
if
:
properties
:
compatible
:
contains
:
enum
:
-
nvidia,tegra210-xudc
then
:
properties
:
reg
:
minItems
:
3
reg-names
:
minItems
:
3
clocks
:
minItems
:
5
clock-names
:
minItems
:
5
required
:
-
avddio-usb-supply
-
hvdd-usb-supply
-
if
:
properties
:
compatible
:
contains
:
enum
:
-
nvidia,tegra186-xudc
then
:
properties
:
reg
:
maxItems
:
2
reg-names
:
maxItems
:
2
clocks
:
maxItems
:
4
clock-names
:
maxItems
:
4
examples
:
-
|
#include <dt-bindings/clock/tegra210-car.h>
#include <dt-bindings/gpio/tegra-gpio.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
usb@700d0000 {
compatible = "nvidia,tegra210-xudc";
reg = <0x0 0x700d0000 0x0 0x8000>,
<0x0 0x700d8000 0x0 0x1000>,
<0x0 0x700d9000 0x0 0x1000>;
reg-names = "base", "fpci", "ipfs";
interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&tegra_car TEGRA210_CLK_XUSB_DEV>,
<&tegra_car TEGRA210_CLK_XUSB_SS>,
<&tegra_car TEGRA210_CLK_XUSB_SSP_SRC>,
<&tegra_car TEGRA210_CLK_XUSB_FS_SRC>,
<&tegra_car TEGRA210_CLK_XUSB_HS_SRC>;
clock-names = "dev", "ss", "ss_src", "fs_src", "hs_src";
power-domains = <&pd_xusbdev>, <&pd_xusbss>;
power-domain-names = "dev", "ss";
nvidia,xusb-padctl = <&padctl>;
phys = <µ_b>;
phy-names = "usb2-0";
avddio-usb-supply = <&vdd_pex_1v05>;
hvdd-usb-supply = <&vdd_3v3_sys>;
};
include/dt-bindings/clock/tegra114-car.h
View file @
989a57f9
...
...
@@ -228,6 +228,8 @@
#define TEGRA114_CLK_CLK_M 201
#define TEGRA114_CLK_CLK_M_DIV2 202
#define TEGRA114_CLK_CLK_M_DIV4 203
#define TEGRA114_CLK_OSC_DIV2 202
#define TEGRA114_CLK_OSC_DIV4 203
#define TEGRA114_CLK_PLL_REF 204
#define TEGRA114_CLK_PLL_C 205
#define TEGRA114_CLK_PLL_C_OUT1 206
...
...
@@ -274,7 +276,7 @@
#define TEGRA114_CLK_CLK_OUT_2 246
#define TEGRA114_CLK_CLK_OUT_3 247
#define TEGRA114_CLK_BLINK 248
/* 249 */
#define TEGRA114_CLK_OSC 249
/* 250 */
/* 251 */
#define TEGRA114_CLK_XUSB_HOST_SRC 252
...
...
include/dt-bindings/clock/tegra124-car-common.h
View file @
989a57f9
...
...
@@ -227,6 +227,8 @@
#define TEGRA124_CLK_CLK_M 201
#define TEGRA124_CLK_CLK_M_DIV2 202
#define TEGRA124_CLK_CLK_M_DIV4 203
#define TEGRA124_CLK_OSC_DIV2 202
#define TEGRA124_CLK_OSC_DIV4 203
#define TEGRA124_CLK_PLL_REF 204
#define TEGRA124_CLK_PLL_C 205
#define TEGRA124_CLK_PLL_C_OUT1 206
...
...
@@ -273,7 +275,7 @@
#define TEGRA124_CLK_CLK_OUT_2 246
#define TEGRA124_CLK_CLK_OUT_3 247
#define TEGRA124_CLK_BLINK 248
/* 249 */
#define TEGRA124_CLK_OSC 249
/* 250 */
/* 251 */
#define TEGRA124_CLK_XUSB_HOST_SRC 252
...
...
include/dt-bindings/clock/tegra210-car.h
View file @
989a57f9
...
...
@@ -262,6 +262,8 @@
#define TEGRA210_CLK_CLK_M 233
#define TEGRA210_CLK_CLK_M_DIV2 234
#define TEGRA210_CLK_CLK_M_DIV4 235
#define TEGRA210_CLK_OSC_DIV2 234
#define TEGRA210_CLK_OSC_DIV4 235
#define TEGRA210_CLK_PLL_REF 236
#define TEGRA210_CLK_PLL_C 237
#define TEGRA210_CLK_PLL_C_OUT1 238
...
...
@@ -355,7 +357,7 @@
#define TEGRA210_CLK_PLL_A_OUT_ADSP 323
#define TEGRA210_CLK_PLL_A_OUT0_OUT_ADSP 324
/* 325 */
/* 326 */
#define TEGRA210_CLK_OSC 326
/* 327 */
/* 328 */
/* 329 */
...
...
include/dt-bindings/clock/tegra30-car.h
View file @
989a57f9
...
...
@@ -196,6 +196,8 @@
#define TEGRA30_CLK_CLK_M 171
#define TEGRA30_CLK_CLK_M_DIV2 172
#define TEGRA30_CLK_CLK_M_DIV4 173
#define TEGRA30_CLK_OSC_DIV2 172
#define TEGRA30_CLK_OSC_DIV4 173
#define TEGRA30_CLK_PLL_REF 174
#define TEGRA30_CLK_PLL_C 175
#define TEGRA30_CLK_PLL_C_OUT1 176
...
...
@@ -243,7 +245,7 @@
#define TEGRA30_CLK_HCLK 217
#define TEGRA30_CLK_PCLK 218
/* 219 */
/* 220 */
#define TEGRA30_CLK_OSC 220
/* 221 */
/* 222 */
/* 223 */
...
...
include/dt-bindings/soc/tegra-pmc.h
0 → 100644
View file @
989a57f9
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (c) 2019-2020, NVIDIA CORPORATION. All rights reserved.
*/
#ifndef _DT_BINDINGS_SOC_TEGRA_PMC_H
#define _DT_BINDINGS_SOC_TEGRA_PMC_H
#define TEGRA_PMC_CLK_OUT_1 0
#define TEGRA_PMC_CLK_OUT_2 1
#define TEGRA_PMC_CLK_OUT_3 2
#define TEGRA_PMC_CLK_BLINK 3
#define TEGRA_PMC_CLK_MAX 4
#endif
/* _DT_BINDINGS_SOC_TEGRA_PMC_H */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment