mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-01 23:46:45 +00:00

DTS example in the bindings should be indented with 2- or 4-spaces and aligned with opening '- |', so correct any differences like 3-spaces or mixtures 2- and 4-spaces in one binding. No functional changes here, but saves some comments during reviews of new patches built on existing code. Acked-by: Ulf Hansson <ulf.hansson@linaro.org> # For MMC Acked-by: Lee Jones <lee@kernel.org> Acked-by: Thierry Reding <treding@nvidia.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> # renesas Link: https://lore.kernel.org/r/20250107131456.247610-1-krzysztof.kozlowski@linaro.org Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20250725100241.120106-2-krzysztof.kozlowski@linaro.org Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
80 lines
1.9 KiB
YAML
80 lines
1.9 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/soc/qcom/qcom,eud.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Qualcomm Embedded USB Debugger
|
|
|
|
maintainers:
|
|
- Souradeep Chowdhury <quic_schowdhu@quicinc.com>
|
|
|
|
description:
|
|
This binding is used to describe the Qualcomm Embedded USB Debugger, which is
|
|
mini USB-hub implemented on chip to support USB-based debug capabilities.
|
|
|
|
properties:
|
|
compatible:
|
|
items:
|
|
- enum:
|
|
- qcom,sc7280-eud
|
|
- const: qcom,eud
|
|
|
|
reg:
|
|
items:
|
|
- description: EUD Base Register Region
|
|
- description: EUD Mode Manager Register
|
|
|
|
interrupts:
|
|
description: EUD interrupt
|
|
maxItems: 1
|
|
|
|
ports:
|
|
$ref: /schemas/graph.yaml#/properties/ports
|
|
description:
|
|
These ports is to be attached to the endpoint of the DWC3 controller node
|
|
and type C connector node. The controller has the "usb-role-switch"
|
|
property.
|
|
|
|
properties:
|
|
port@0:
|
|
$ref: /schemas/graph.yaml#/properties/port
|
|
description: This port is to be attached to the DWC3 controller.
|
|
|
|
port@1:
|
|
$ref: /schemas/graph.yaml#/properties/port
|
|
description: This port is to be attached to the type C connector.
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- ports
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
eud@88e0000 {
|
|
compatible = "qcom,sc7280-eud", "qcom,eud";
|
|
reg = <0x88e0000 0x2000>,
|
|
<0x88e2000 0x1000>;
|
|
|
|
ports {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
port@0 {
|
|
reg = <0>;
|
|
eud_ep: endpoint {
|
|
remote-endpoint = <&usb2_role_switch>;
|
|
};
|
|
};
|
|
|
|
port@1 {
|
|
reg = <1>;
|
|
eud_con: endpoint {
|
|
remote-endpoint = <&con_eud>;
|
|
};
|
|
};
|
|
};
|
|
};
|