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

dt-bindings: Document JZ4770 PHY bindings

Add documentation for the devicetree bindings of the
Ingenic JZ4770 USB transceiver.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20200229161820.17824-1-paul@crapouillou.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Paul Cercueil and committed by
Greg Kroah-Hartman
adc221b5 aed67922

+52
+52
Documentation/devicetree/bindings/usb/ingenic,jz4770-phy.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/usb/ingenic,jz4770-phy.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Ingenic JZ4770 USB PHY devicetree bindings 8 + 9 + maintainers: 10 + - Paul Cercueil <paul@crapouillou.net> 11 + 12 + properties: 13 + $nodename: 14 + pattern: '^usb-phy@.*' 15 + 16 + compatible: 17 + enum: 18 + - ingenic,jz4770-phy 19 + 20 + reg: 21 + maxItems: 1 22 + 23 + clocks: 24 + maxItems: 1 25 + 26 + vcc-supply: 27 + description: VCC power supply 28 + 29 + '#phy-cells': 30 + const: 0 31 + 32 + required: 33 + - compatible 34 + - reg 35 + - clocks 36 + - vcc-supply 37 + - '#phy-cells' 38 + 39 + additionalProperties: false 40 + 41 + examples: 42 + - | 43 + #include <dt-bindings/clock/jz4770-cgu.h> 44 + otg_phy: usb-phy@3c { 45 + compatible = "ingenic,jz4770-phy"; 46 + reg = <0x3c 0x10>; 47 + 48 + vcc-supply = <&vcc>; 49 + clocks = <&cgu JZ4770_CLK_OTG_PHY>; 50 + 51 + #phy-cells = <0>; 52 + };