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

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: phy: imx8mq-usb: add compatible "fsl,imx95-usb-phy"

The usb phy in i.MX95 is compatible with i.MX8MP's, this will add a
compatible "fsl,imx95-usb-phy" for i.MX95. Also change reg maxItems
to 2 since i.MX95 needs another regmap to control Type-C Assist (TCA)
block. Since i.MX95 usb phy is able to switch SS lanes, this will also
add orientation-switch and port property to the file.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Xu Yang <xu.yang_2@nxp.com>

Link: https://lore.kernel.org/r/20240911061720.495606-1-xu.yang_2@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Xu Yang and committed by
Greg Kroah-Hartman
814ab264 422dc0a4

+37 -5
+37 -5
Documentation/devicetree/bindings/phy/fsl,imx8mq-usb-phy.yaml
··· 11 11 12 12 properties: 13 13 compatible: 14 - enum: 15 - - fsl,imx8mq-usb-phy 16 - - fsl,imx8mp-usb-phy 14 + oneOf: 15 + - enum: 16 + - fsl,imx8mq-usb-phy 17 + - fsl,imx8mp-usb-phy 18 + - items: 19 + - const: fsl,imx95-usb-phy 20 + - const: fsl,imx8mp-usb-phy 17 21 18 22 reg: 19 - maxItems: 1 23 + minItems: 1 24 + maxItems: 2 20 25 21 26 "#phy-cells": 22 27 const: 0 ··· 94 89 - clocks 95 90 - clock-names 96 91 97 - additionalProperties: false 92 + allOf: 93 + - if: 94 + properties: 95 + compatible: 96 + contains: 97 + enum: 98 + - fsl,imx95-usb-phy 99 + then: 100 + properties: 101 + reg: 102 + items: 103 + - description: USB PHY Control range 104 + - description: USB PHY TCA Block range 105 + else: 106 + properties: 107 + reg: 108 + maxItems: 1 109 + 110 + - if: 111 + properties: 112 + compatible: 113 + contains: 114 + enum: 115 + - fsl,imx95-usb-phy 116 + then: 117 + $ref: /schemas/usb/usb-switch.yaml# 118 + 119 + unevaluatedProperties: false 98 120 99 121 examples: 100 122 - |