]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
usb: dwc3: exynos: add support for Exynos2200 variant
authorIvaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
Sat, 12 Apr 2025 20:33:13 +0000 (23:33 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Apr 2025 12:29:14 +0000 (14:29 +0200)
Add Exynos2200 compatible string and associated driver data. This SoC
requires a Link interface AXI clock.

Signed-off-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Link: https://lore.kernel.org/r/20250412203313.738429-3-ivo.ivanov.ivanov1@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc3/dwc3-exynos.c

index de686b9e64046be12e52c87d80282558ac5b5f52..20abc6a4e824eb307333e8f3c624f5313b3c93b4 100644 (file)
@@ -145,6 +145,12 @@ static void dwc3_exynos_remove(struct platform_device *pdev)
        regulator_disable(exynos->vdd10);
 }
 
+static const struct dwc3_exynos_driverdata exynos2200_drvdata = {
+       .clk_names = { "link_aclk" },
+       .num_clks = 1,
+       .suspend_clk_idx = -1,
+};
+
 static const struct dwc3_exynos_driverdata exynos5250_drvdata = {
        .clk_names = { "usbdrd30" },
        .num_clks = 1,
@@ -183,6 +189,9 @@ static const struct dwc3_exynos_driverdata gs101_drvdata = {
 
 static const struct of_device_id exynos_dwc3_match[] = {
        {
+               .compatible = "samsung,exynos2200-dwusb3",
+               .data = &exynos2200_drvdata,
+       }, {
                .compatible = "samsung,exynos5250-dwusb3",
                .data = &exynos5250_drvdata,
        }, {