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

dt-bindings: reset: uniphier: add USB3 core reset support

Add DT bindings for reset control of USB3 core implemented in UniPhier SoCs.
The reset control belongs to USB3 glue layer.

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>

authored by

Kunihiko Hayashi and committed by
Philipp Zabel
ef8b023b 9ad39ab2

+56
+56
Documentation/devicetree/bindings/reset/uniphier-reset.txt
··· 118 118 119 119 other nodes ... 120 120 }; 121 + 122 + 123 + USB3 core reset 124 + --------------- 125 + 126 + USB3 core reset belongs to USB3 glue layer. Before using the core reset, 127 + it is necessary to control the clocks and resets to enable this layer. 128 + These clocks and resets should be described in each property. 129 + 130 + Required properties: 131 + - compatible: Should be 132 + "socionext,uniphier-pro4-usb3-reset" - for Pro4 SoC 133 + "socionext,uniphier-pxs2-usb3-reset" - for PXs2 SoC 134 + "socionext,uniphier-ld20-usb3-reset" - for LD20 SoC 135 + "socionext,uniphier-pxs3-usb3-reset" - for PXs3 SoC 136 + - #reset-cells: Should be 1. 137 + - reg: Specifies offset and length of the register set for the device. 138 + - clocks: A list of phandles to the clock gate for USB3 glue layer. 139 + According to the clock-names, appropriate clocks are required. 140 + - clock-names: Should contain 141 + "gio", "link" - for Pro4 SoC 142 + "link" - for others 143 + - resets: A list of phandles to the reset control for USB3 glue layer. 144 + According to the reset-names, appropriate resets are required. 145 + - reset-names: Should contain 146 + "gio", "link" - for Pro4 SoC 147 + "link" - for others 148 + 149 + Example: 150 + 151 + usb-glue@65b00000 { 152 + compatible = "socionext,uniphier-ld20-dwc3-glue", 153 + "simple-mfd"; 154 + #address-cells = <1>; 155 + #size-cells = <1>; 156 + ranges = <0 0x65b00000 0x400>; 157 + 158 + usb_rst: reset@0 { 159 + compatible = "socionext,uniphier-ld20-usb3-reset"; 160 + reg = <0x0 0x4>; 161 + #reset-cells = <1>; 162 + clock-names = "link"; 163 + clocks = <&sys_clk 14>; 164 + reset-names = "link"; 165 + resets = <&sys_rst 14>; 166 + }; 167 + 168 + regulator { 169 + ... 170 + }; 171 + 172 + phy { 173 + ... 174 + }; 175 + ... 176 + };