Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: Add bindings for USB3 phy on Allwinner H6

The new Allwinner H6 SoC contains a USB3 PHY that is wired to the
external USB3 pins of the SoC.

Add a device tree binding for the PHY.

Signed-off-by: Ondrej Jirman <megous@megous.com>
Acked-by: Maxime Ripard <mripard@kernel.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>

authored by

Ondrej Jirman and committed by
Kishon Vijay Abraham I
6bd03e71 a88c85ee

+47
+47
Documentation/devicetree/bindings/phy/allwinner,sun50i-h6-usb3-phy.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 + # Copyright 2019 Ondrej Jirman <megous@megous.com> 3 + %YAML 1.2 4 + --- 5 + $id: "http://devicetree.org/schemas/phy/allwinner,sun50i-h6-usb3-phy.yaml#" 6 + $schema: "http://devicetree.org/meta-schemas/core.yaml#" 7 + 8 + title: Allwinner H6 USB3 PHY 9 + 10 + maintainers: 11 + - Ondrej Jirman <megous@megous.com> 12 + 13 + properties: 14 + compatible: 15 + enum: 16 + - allwinner,sun50i-h6-usb3-phy 17 + 18 + reg: 19 + maxItems: 1 20 + 21 + clocks: 22 + maxItems: 1 23 + 24 + resets: 25 + maxItems: 1 26 + 27 + "#phy-cells": 28 + const: 0 29 + 30 + required: 31 + - compatible 32 + - reg 33 + - clocks 34 + - resets 35 + - "#phy-cells" 36 + 37 + examples: 38 + - | 39 + #include <dt-bindings/clock/sun50i-h6-ccu.h> 40 + #include <dt-bindings/reset/sun50i-h6-ccu.h> 41 + phy@5210000 { 42 + compatible = "allwinner,sun50i-h6-usb3-phy"; 43 + reg = <0x5210000 0x10000>; 44 + clocks = <&ccu CLK_USB_PHY1>; 45 + resets = <&ccu RST_USB_PHY1>; 46 + #phy-cells = <0>; 47 + };