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.

usb: dwc3: exynos: add support for exynos7870

Exynos7870 devices have a DWC3 compatible USB 2.0 controller.
Add support in the driver by:
- Adding its own compatible string, "samsung,exynos7870-dwusb3".
- Adding three USBDRD clocks named "bus_early", "ref", and "ctrl", to
be controlled by the driver.

Signed-off-by: Kaustabh Chakraborty <kauschluss@disroot.org>
Acked-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20250301-exynos7870-usb-v3-2-f01697165d19@disroot.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Kaustabh Chakraborty and committed by
Greg Kroah-Hartman
811d2214 43092fcd

+9
+9
drivers/usb/dwc3/dwc3-exynos.c
··· 163 163 .suspend_clk_idx = 1, 164 164 }; 165 165 166 + static const struct dwc3_exynos_driverdata exynos7870_drvdata = { 167 + .clk_names = { "bus_early", "ref", "ctrl" }, 168 + .num_clks = 3, 169 + .suspend_clk_idx = -1, 170 + }; 171 + 166 172 static const struct dwc3_exynos_driverdata exynos850_drvdata = { 167 173 .clk_names = { "bus_early", "ref" }, 168 174 .num_clks = 2, ··· 191 185 }, { 192 186 .compatible = "samsung,exynos7-dwusb3", 193 187 .data = &exynos7_drvdata, 188 + }, { 189 + .compatible = "samsung,exynos7870-dwusb3", 190 + .data = &exynos7870_drvdata, 194 191 }, { 195 192 .compatible = "samsung,exynos850-dwusb3", 196 193 .data = &exynos850_drvdata,