Staging
v0.5.1
https://github.com/torvalds/linux
Raw File
Tip revision: 815fb87b753055df2d9e50f6cd80eb10235fe3e9 authored by Linus Torvalds on 02 December 2023, 00:01:00 UTC
Merge tag 'pm-6.7-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
Tip revision: 815fb87
rockchip-usb-phy.yaml
# SPDX-License-Identifier: GPL-2.0
%YAML 1.2
---
$id: http://devicetree.org/schemas/phy/rockchip-usb-phy.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Rockchip USB2.0 phy

maintainers:
  - Heiko Stuebner <heiko@sntech.de>

properties:
  compatible:
    enum:
      - rockchip,rk3066a-usb-phy
      - rockchip,rk3188-usb-phy
      - rockchip,rk3288-usb-phy

  "#address-cells":
    const: 1

  "#size-cells":
    const: 0

required:
  - compatible
  - "#address-cells"
  - "#size-cells"

additionalProperties: false

patternProperties:
  "usb-phy@[0-9a-f]+$":
    type: object

    properties:
      reg:
        maxItems: 1

      "#phy-cells":
        const: 0

      clocks:
        maxItems: 1

      clock-names:
        const: phyclk

      "#clock-cells":
        const: 0

      resets:
        maxItems: 1

      reset-names:
        const: phy-reset

      vbus-supply:
        description: phandle for vbus power source

    required:
      - reg
      - "#phy-cells"

    additionalProperties: false

examples:
  - |
    usbphy: usbphy {
      compatible = "rockchip,rk3288-usb-phy";
      #address-cells = <1>;
      #size-cells = <0>;

      usbphy0: usb-phy@320 {
        reg = <0x320>;
        #phy-cells = <0>;
      };
    };
back to top