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

regulator: uniphier: Add Pro5 USB3 VBUS support

Pro5 SoC has same scheme of USB3 VBUS as Pro4, so the data for Pro5 is
equivalent to Pro4.

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Link: https://lore.kernel.org/r/1568080304-1572-1-git-send-email-hayashi.kunihiko@socionext.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Kunihiko Hayashi and committed by
Mark Brown
3ba5368d 9c86d003

+7 -2
+3 -2
Documentation/devicetree/bindings/regulator/uniphier-regulator.txt
··· 13 13 Required properties: 14 14 - compatible: Should be 15 15 "socionext,uniphier-pro4-usb3-regulator" - for Pro4 SoC 16 + "socionext,uniphier-pro5-usb3-regulator" - for Pro5 SoC 16 17 "socionext,uniphier-pxs2-usb3-regulator" - for PXs2 SoC 17 18 "socionext,uniphier-ld20-usb3-regulator" - for LD20 SoC 18 19 "socionext,uniphier-pxs3-usb3-regulator" - for PXs3 SoC ··· 21 20 - clocks: A list of phandles to the clock gate for USB3 glue layer. 22 21 According to the clock-names, appropriate clocks are required. 23 22 - clock-names: Should contain 24 - "gio", "link" - for Pro4 SoC 23 + "gio", "link" - for Pro4 and Pro5 SoCs 25 24 "link" - for others 26 25 - resets: A list of phandles to the reset control for USB3 glue layer. 27 26 According to the reset-names, appropriate resets are required. 28 27 - reset-names: Should contain 29 - "gio", "link" - for Pro4 SoC 28 + "gio", "link" - for Pro4 and Pro5 SoCs 30 29 "link" - for others 31 30 32 31 See Documentation/devicetree/bindings/regulator/regulator.txt
+4
drivers/regulator/uniphier-regulator.c
··· 186 186 .data = &uniphier_pro4_usb3_data, 187 187 }, 188 188 { 189 + .compatible = "socionext,uniphier-pro5-usb3-regulator", 190 + .data = &uniphier_pro4_usb3_data, 191 + }, 192 + { 189 193 .compatible = "socionext,uniphier-pxs2-usb3-regulator", 190 194 .data = &uniphier_pxs2_usb3_data, 191 195 },