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

dt-bindings: phy: Add bindings doc for Sunplus USB2 PHY driver

Add bindings doc for Sunplus USB2 PHY driver

Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Vincent Shih <vincent.sunplus@gmail.com>
Link: https://lore.kernel.org/r/1658717052-26142-3-git-send-email-vincent.sunplus@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Vincent Shih and committed by
Vinod Koul
0caffb26 99d9ccd9

+74
+73
Documentation/devicetree/bindings/phy/sunplus,sp7021-usb2-phy.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + # Copyright (C) Sunplus Co., Ltd. 2021 3 + %YAML 1.2 4 + --- 5 + $id: "http://devicetree.org/schemas/phy/sunplus,sp7021-usb2-phy.yaml#" 6 + $schema: "http://devicetree.org/meta-schemas/core.yaml#" 7 + 8 + title: Sunplus SP7021 USB 2.0 PHY Controller 9 + 10 + maintainers: 11 + - Vincent Shih <vincent.sunplus@gmail.com> 12 + 13 + properties: 14 + compatible: 15 + const: sunplus,sp7021-usb2-phy 16 + 17 + reg: 18 + items: 19 + - description: UPHY register region 20 + - description: MOON4 register region 21 + 22 + reg-names: 23 + items: 24 + - const: phy 25 + - const: moon4 26 + 27 + clocks: 28 + maxItems: 1 29 + 30 + resets: 31 + maxItems: 1 32 + 33 + "#phy-cells": 34 + const: 0 35 + 36 + nvmem-cell-names: 37 + description: names corresponding to the nvmem cells of disconnect voltage 38 + const: disc_vol 39 + 40 + nvmem-cells: 41 + description: nvmem cell address of disconnect voltage 42 + maxItems: 1 43 + 44 + sunplus,disc-vol-addr-off: 45 + $ref: /schemas/types.yaml#/definitions/uint32 46 + description: the otp address offset of disconnect voltage 47 + 48 + required: 49 + - compatible 50 + - reg 51 + - reg-names 52 + - clocks 53 + - resets 54 + - "#phy-cells" 55 + - nvmem-cell-names 56 + - nvmem-cells 57 + - sunplus,disc-vol-addr-off 58 + 59 + additionalProperties: false 60 + 61 + examples: 62 + - | 63 + sp_uphy0: usb-phy@9c004a80 { 64 + compatible = "sunplus,sp7021-usb2-phy"; 65 + reg = <0x9c004a80 0x80>, <0x9c000248 0x10>; 66 + reg-names = "phy", "moon4"; 67 + clocks = <&clkc 0x3d>; 68 + resets = <&rstc 0x2d>; 69 + #phy-cells = <0>; 70 + nvmem-cell-names = "disc_vol"; 71 + nvmem-cells = <&disc_vol>; 72 + sunplus,disc-vol-addr-off = <0>; 73 + };
+1
MAINTAINERS
··· 19494 19494 M: Vincent Shih <vincent.sunplus@gmail.com> 19495 19495 L: linux-usb@vger.kernel.org 19496 19496 S: Maintained 19497 + F: Documentation/devicetree/bindings/phy/sunplus,sp7021-usb2-phy.yaml 19497 19498 F: drivers/phy/sunplus/Kconfig 19498 19499 F: drivers/phy/sunplus/Makefile 19499 19500 F: drivers/phy/sunplus/phy-sunplus-usb2.c