Skip to content

Commit af7ac64

Browse files
catalin-popescugregkh
authored andcommitted
dt-bindings: usb: microchip,usb2514: add support for vdda
Microchip hub USB2514 has one 3V3 digital power supply and one 3V3 analog power supply. Add support for analog power supply vdda. Signed-off-by: Catalin Popescu <catalin.popescu@leica-geosystems.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20250213094338.1611389-1-catalin.popescu@leica-geosystems.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent f8da37e commit af7ac64

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

Documentation/devicetree/bindings/usb/microchip,usb2514.yaml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ title: Microchip USB2514 Hub Controller
99
maintainers:
1010
- Fabio Estevam <festevam@gmail.com>
1111

12-
allOf:
13-
- $ref: usb-device.yaml#
14-
1512
properties:
1613
compatible:
1714
enum:
@@ -28,6 +25,9 @@ properties:
2825
vdd-supply:
2926
description: 3.3V power supply.
3027

28+
vdda-supply:
29+
description: 3.3V analog power supply.
30+
3131
clocks:
3232
description: External 24MHz clock connected to the CLKIN pin.
3333
maxItems: 1
@@ -43,6 +43,18 @@ patternProperties:
4343
$ref: /schemas/usb/usb-device.yaml
4444
additionalProperties: true
4545

46+
allOf:
47+
- $ref: usb-device.yaml#
48+
- if:
49+
not:
50+
properties:
51+
compatible:
52+
contains:
53+
const: usb424,2514
54+
then:
55+
properties:
56+
vdda-supply: false
57+
4658
unevaluatedProperties: false
4759

4860
examples:
@@ -60,6 +72,7 @@ examples:
6072
clocks = <&clks IMX6QDL_CLK_CKO>;
6173
reset-gpios = <&gpio7 12 GPIO_ACTIVE_LOW>;
6274
vdd-supply = <&reg_3v3_hub>;
75+
vdda-supply = <&reg_3v3a_hub>;
6376
#address-cells = <1>;
6477
#size-cells = <0>;
6578

0 commit comments

Comments
 (0)