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

reset: uniphier-glue: Add Pro5 USB3 support

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

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
8c2def0f c302ec96

+7 -2
+3 -2
Documentation/devicetree/bindings/reset/uniphier-reset.txt
··· 130 130 Required properties: 131 131 - compatible: Should be 132 132 "socionext,uniphier-pro4-usb3-reset" - for Pro4 SoC USB3 133 + "socionext,uniphier-pro5-usb3-reset" - for Pro5 SoC USB3 133 134 "socionext,uniphier-pxs2-usb3-reset" - for PXs2 SoC USB3 134 135 "socionext,uniphier-ld20-usb3-reset" - for LD20 SoC USB3 135 136 "socionext,uniphier-pxs3-usb3-reset" - for PXs3 SoC USB3 ··· 142 141 - clocks: A list of phandles to the clock gate for the glue layer. 143 142 According to the clock-names, appropriate clocks are required. 144 143 - clock-names: Should contain 145 - "gio", "link" - for Pro4 SoC 144 + "gio", "link" - for Pro4 and Pro5 SoCs 146 145 "link" - for others 147 146 - resets: A list of phandles to the reset control for the glue layer. 148 147 According to the reset-names, appropriate resets are required. 149 148 - reset-names: Should contain 150 - "gio", "link" - for Pro4 SoC 149 + "gio", "link" - for Pro4 and Pro5 SoCs 151 150 "link" - for others 152 151 153 152 Example:
+4
drivers/reset/reset-uniphier-glue.c
··· 141 141 .data = &uniphier_pro4_data, 142 142 }, 143 143 { 144 + .compatible = "socionext,uniphier-pro5-usb3-reset", 145 + .data = &uniphier_pro4_data, 146 + }, 147 + { 144 148 .compatible = "socionext,uniphier-pxs2-usb3-reset", 145 149 .data = &uniphier_pxs2_data, 146 150 },