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: samsung,usb3-drd-phy: add gs101 compatible

Add a dedicated google,gs101-usb31drd-phy compatible for Google Tensor
gs101 SoC.

It needs additional clocks enabled for register access, and additional
memory regions (PCS & PMA) are required for successful configuration.

It also requires various power supplies (regulators) for the internal
circuitry to work. The required voltages are:
* pll-supply: 0.85V
* dvdd-usb20-supply: 0.85V (+10%, -7%)
* vddh-usb20-supply: 1.8V (+10%, -7%)
* vdd33-usb20-supply: 3.3V (+10%, -7%)
* vdda-usbdp-supply: 0.85V
* vddh-usbdp-supply: 1.8V

Signed-off-by: André Draszik <andre.draszik@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Peter Griffin <peter.griffin@linaro.org>
Link: https://lore.kernel.org/r/20240617-usb-phy-gs101-v3-1-b66de9ae7424@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

André Draszik and committed by
Vinod Koul
e340c041 4c75fe2a

+75 -2
+75 -2
Documentation/devicetree/bindings/phy/samsung,usb3-drd-phy.yaml
··· 25 25 properties: 26 26 compatible: 27 27 enum: 28 + - google,gs101-usb31drd-phy 28 29 - samsung,exynos5250-usbdrd-phy 29 30 - samsung,exynos5420-usbdrd-phy 30 31 - samsung,exynos5433-usbdrd-phy ··· 58 57 the OF graph bindings specified. 59 58 60 59 reg: 61 - maxItems: 1 60 + minItems: 1 61 + maxItems: 3 62 + 63 + reg-names: 64 + minItems: 1 65 + items: 66 + - const: phy 67 + - const: pcs 68 + - const: pma 62 69 63 70 samsung,pmu-syscon: 64 71 $ref: /schemas/types.yaml#/definitions/phandle ··· 81 72 description: 82 73 VBUS Boost 5V power source. 83 74 75 + pll-supply: 76 + description: Power supply for the USB PLL. 77 + dvdd-usb20-supply: 78 + description: DVDD power supply for the USB 2.0 phy. 79 + vddh-usb20-supply: 80 + description: VDDh power supply for the USB 2.0 phy. 81 + vdd33-usb20-supply: 82 + description: 3.3V power supply for the USB 2.0 phy. 83 + vdda-usbdp-supply: 84 + description: VDDa power supply for the USB DP phy. 85 + vddh-usbdp-supply: 86 + description: VDDh power supply for the USB DP phy. 87 + 84 88 required: 85 89 - compatible 86 90 - clocks ··· 103 81 - samsung,pmu-syscon 104 82 105 83 allOf: 84 + - if: 85 + properties: 86 + compatible: 87 + contains: 88 + const: google,gs101-usb31drd-phy 89 + then: 90 + properties: 91 + clocks: 92 + items: 93 + - description: Gate of main PHY clock 94 + - description: Gate of PHY reference clock 95 + - description: Gate of control interface AXI clock 96 + - description: Gate of control interface APB clock 97 + - description: Gate of SCL APB clock 98 + clock-names: 99 + items: 100 + - const: phy 101 + - const: ref 102 + - const: ctrl_aclk 103 + - const: ctrl_pclk 104 + - const: scl_pclk 105 + reg: 106 + minItems: 3 107 + reg-names: 108 + minItems: 3 109 + required: 110 + - reg-names 111 + - pll-supply 112 + - dvdd-usb20-supply 113 + - vddh-usb20-supply 114 + - vdd33-usb20-supply 115 + - vdda-usbdp-supply 116 + - vddh-usbdp-supply 117 + 106 118 - if: 107 119 properties: 108 120 compatible: ··· 156 100 - const: phy_utmi 157 101 - const: phy_pipe 158 102 - const: itp 159 - else: 103 + reg: 104 + maxItems: 1 105 + reg-names: 106 + maxItems: 1 107 + 108 + - if: 109 + properties: 110 + compatible: 111 + contains: 112 + enum: 113 + - samsung,exynos5250-usbdrd-phy 114 + - samsung,exynos5420-usbdrd-phy 115 + - samsung,exynos850-usbdrd-phy 116 + then: 160 117 properties: 161 118 clocks: 162 119 minItems: 2 ··· 178 109 items: 179 110 - const: phy 180 111 - const: ref 112 + reg: 113 + maxItems: 1 114 + reg-names: 115 + maxItems: 1 181 116 182 117 additionalProperties: false 183 118