mirror of
https://github.com/torvalds/linux.git
synced 2026-04-28 11:32:28 -04:00
Clean-up incorrect indentation, extra spaces, long lines, and missing EOF newline in schema files. Most of the clean-ups are for list indentation which should always be 2 spaces more than the preceding keyword. Found with yamllint (which I plan to integrate into the checks). Cc: linux-arm-kernel@lists.infradead.org Cc: linux-clk@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: linux-spi@vger.kernel.org Cc: linux-gpio@vger.kernel.org Cc: linux-remoteproc@vger.kernel.org Cc: linux-hwmon@vger.kernel.org Cc: linux-i2c@vger.kernel.org Cc: linux-fbdev@vger.kernel.org Cc: linux-iio@vger.kernel.org Cc: linux-input@vger.kernel.org Cc: linux-pm@vger.kernel.org Cc: linux-media@vger.kernel.org Cc: alsa-devel@alsa-project.org Cc: linux-mmc@vger.kernel.org Cc: linux-mtd@lists.infradead.org Cc: netdev@vger.kernel.org Cc: linux-rtc@vger.kernel.org Cc: linux-serial@vger.kernel.org Cc: linux-usb@vger.kernel.org Acked-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Rob Herring <robh@kernel.org>
101 lines
2.0 KiB
YAML
101 lines
2.0 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/usb/ti,keystone-dwc3.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: TI Keystone Soc USB Controller
|
|
|
|
maintainers:
|
|
- Roger Quadros <rogerq@ti.com>
|
|
|
|
properties:
|
|
compatible:
|
|
items:
|
|
- enum:
|
|
- ti,keystone-dwc3
|
|
- ti,am654-dwc3
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
'#address-cells':
|
|
const: 1
|
|
|
|
'#size-cells':
|
|
const: 1
|
|
|
|
ranges: true
|
|
|
|
interrupts:
|
|
maxItems: 1
|
|
|
|
clocks:
|
|
minItems: 1
|
|
maxItems: 2
|
|
|
|
assigned-clocks:
|
|
minItems: 1
|
|
maxItems: 2
|
|
|
|
assigned-clock-parents:
|
|
minItems: 1
|
|
maxItems: 2
|
|
|
|
power-domains:
|
|
description: Should contain a phandle to a PM domain provider node
|
|
and an args specifier containing the USB device id
|
|
value. This property is as per the binding,
|
|
Documentation/devicetree/bindings/soc/ti/sci-pm-domain.txt
|
|
|
|
phys:
|
|
description:
|
|
PHY specifier for the USB3.0 PHY. Some SoCs need the USB3.0 PHY
|
|
to be turned on before the controller.
|
|
Documentation/devicetree/bindings/phy/phy-bindings.txt
|
|
|
|
phy-names:
|
|
items:
|
|
- const: usb3-phy
|
|
|
|
dma-coherent: true
|
|
|
|
dma-ranges: true
|
|
|
|
patternProperties:
|
|
"usb@[a-f0-9]+$":
|
|
type: object
|
|
description: This is the node representing the DWC3 controller instance
|
|
Documentation/devicetree/bindings/usb/dwc3.txt
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- "#address-cells"
|
|
- "#size-cells"
|
|
- ranges
|
|
- interrupts
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
|
|
|
dwc3@2680000 {
|
|
compatible = "ti,keystone-dwc3";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
reg = <0x2680000 0x10000>;
|
|
clocks = <&clkusb>;
|
|
interrupts = <GIC_SPI 393 IRQ_TYPE_EDGE_RISING>;
|
|
ranges;
|
|
|
|
usb@2690000 {
|
|
compatible = "synopsys,dwc3";
|
|
reg = <0x2690000 0x70000>;
|
|
interrupts = <GIC_SPI 393 IRQ_TYPE_EDGE_RISING>;
|
|
usb-phy = <&usb_phy>, <&usb_phy>;
|
|
};
|
|
};
|