Skip to content

Commit 592d7a4

Browse files
Sam Protsenkogregkh
authored andcommitted
usb: dwc3: exynos: Add support for Exynos850 variant
Add Exynos850 compatible string and associated driver data. Only two clocks are needed for this SoC: - bus_early: bus clock needed for registers access - ref: USB 2.0 DRD reference clock (50 MHz) Signed-off-by: Sam Protsenko <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 52ecf81 commit 592d7a4

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

drivers/usb/dwc3/dwc3-exynos.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,12 @@ static const struct dwc3_exynos_driverdata exynos7_drvdata = {
163163
.suspend_clk_idx = 1,
164164
};
165165

166+
static const struct dwc3_exynos_driverdata exynos850_drvdata = {
167+
.clk_names = { "bus_early", "ref" },
168+
.num_clks = 2,
169+
.suspend_clk_idx = -1,
170+
};
171+
166172
static const struct of_device_id exynos_dwc3_match[] = {
167173
{
168174
.compatible = "samsung,exynos5250-dwusb3",
@@ -173,6 +179,9 @@ static const struct of_device_id exynos_dwc3_match[] = {
173179
}, {
174180
.compatible = "samsung,exynos7-dwusb3",
175181
.data = &exynos7_drvdata,
182+
}, {
183+
.compatible = "samsung,exynos850-dwusb3",
184+
.data = &exynos850_drvdata,
176185
}, {
177186
}
178187
};

0 commit comments

Comments
 (0)