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

dt-bindings: usb: usbmisc-imx: convert to DT schema

Convert usbmisc-imx to DT schema format, add missing compatibles

Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Link: https://lore.kernel.org/r/20230322052504.2629429-2-peng.fan@oss.nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Peng Fan and committed by
Greg Kroah-Hartman
580f4ea2 2926c527

+68 -19
+68
Documentation/devicetree/bindings/usb/fsl,usbmisc.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/fsl,usbmisc.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Freescale i.MX wrapper module for Chipidea USB2 controller 8 + 9 + maintainers: 10 + - Xu Yang <xu.yang_2@nxp.com> 11 + - Peng Fan <peng.fan@nxp.com> 12 + 13 + properties: 14 + compatible: 15 + oneOf: 16 + - enum: 17 + - fsl,imx25-usbmisc 18 + - fsl,imx27-usbmisc 19 + - fsl,imx35-usbmisc 20 + - fsl,imx51-usbmisc 21 + - fsl,imx53-usbmisc 22 + - fsl,imx6q-usbmisc 23 + - fsl,vf610-usbmisc 24 + - items: 25 + - enum: 26 + - fsl,imx6ul-usbmisc 27 + - fsl,imx6sl-usbmisc 28 + - fsl,imx6sx-usbmisc 29 + - fsl,imx7d-usbmisc 30 + - const: fsl,imx6q-usbmisc 31 + - items: 32 + - enum: 33 + - fsl,imx7ulp-usbmisc 34 + - fsl,imx8mm-usbmisc 35 + - fsl,imx8mn-usbmisc 36 + - const: fsl,imx7d-usbmisc 37 + - const: fsl,imx6q-usbmisc 38 + - items: 39 + - const: fsl,imx6sll-usbmisc 40 + - const: fsl,imx6ul-usbmisc 41 + - const: fsl,imx6q-usbmisc 42 + 43 + clocks: 44 + maxItems: 1 45 + 46 + reg: 47 + maxItems: 1 48 + 49 + '#index-cells': 50 + const: 1 51 + description: Cells used to describe usb controller index. 52 + deprecated: true 53 + 54 + required: 55 + - compatible 56 + - reg 57 + 58 + additionalProperties: false 59 + 60 + examples: 61 + - | 62 + usbmisc@2184800 { 63 + compatible = "fsl,imx6q-usbmisc"; 64 + reg = <0x02184800 0x200>; 65 + #index-cells = <1>; 66 + }; 67 + 68 + ...
-19
Documentation/devicetree/bindings/usb/usbmisc-imx.txt
··· 1 - * Freescale i.MX non-core registers 2 - 3 - Required properties: 4 - - #index-cells: Cells used to describe usb controller index. Should be <1> 5 - - compatible: Should be one of below: 6 - "fsl,imx6q-usbmisc" for imx6q 7 - "fsl,vf610-usbmisc" for Vybrid vf610 8 - "fsl,imx6sx-usbmisc" for imx6sx 9 - "fsl,imx7d-usbmisc" for imx7d 10 - "fsl,imx7ulp-usbmisc" for imx7ulp 11 - "fsl,imx8mm-usbmisc" for imx8mm 12 - - reg: Should contain registers location and length 13 - 14 - Examples: 15 - usbmisc@2184800 { 16 - #index-cells = <1>; 17 - compatible = "fsl,imx6q-usbmisc"; 18 - reg = <0x02184800 0x200>; 19 - };