* [PATCH v3 0/2] usb: dwc3: exynos: add support for Exynos2200 variant
@ 2025-03-21 14:48 Ivaylo Ivanov
2025-03-21 14:48 ` [PATCH v3 1/2] dt-bindings: usb: samsung,exynos-dwc3: add exynos2200 compatible Ivaylo Ivanov
2025-03-21 14:48 ` [PATCH v3 2/2] usb: dwc3: exynos: add support for Exynos2200 variant Ivaylo Ivanov
0 siblings, 2 replies; 5+ messages in thread
From: Ivaylo Ivanov @ 2025-03-21 14:48 UTC (permalink / raw)
To: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Alim Akhtar, Thinh Nguyen
Cc: devicetree, linux-usb, linux-kernel, linux-arm-kernel,
linux-samsung-soc
Hey folks,
This patchset adds support for the Exynos 2200 to the exynos-dwc3 glue
code. It takes one clock - the link_aclk, and the dwc3 refclk is passed
to the dwc3 subnode, as with gs101.
Best regards,
Ivaylo
Changes in v3:
- fix partial r-b tag from the dt bindings commit message
Changes in v2:
- add sob and r-b tags
- drop minitems from binding patch
Ivaylo Ivanov (2):
dt-bindings: usb: samsung,exynos-dwc3: add exynos2200 compatible
usb: dwc3: exynos: add support for Exynos2200 variant
.../bindings/usb/samsung,exynos-dwc3.yaml | 14 ++++++++++++++
drivers/usb/dwc3/dwc3-exynos.c | 9 +++++++++
2 files changed, 23 insertions(+)
--
2.43.0
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH v3 1/2] dt-bindings: usb: samsung,exynos-dwc3: add exynos2200 compatible
2025-03-21 14:48 [PATCH v3 0/2] usb: dwc3: exynos: add support for Exynos2200 variant Ivaylo Ivanov
@ 2025-03-21 14:48 ` Ivaylo Ivanov
2025-04-11 13:42 ` Greg Kroah-Hartman
2025-03-21 14:48 ` [PATCH v3 2/2] usb: dwc3: exynos: add support for Exynos2200 variant Ivaylo Ivanov
1 sibling, 1 reply; 5+ messages in thread
From: Ivaylo Ivanov @ 2025-03-21 14:48 UTC (permalink / raw)
To: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Alim Akhtar, Thinh Nguyen
Cc: devicetree, linux-usb, linux-kernel, linux-arm-kernel,
linux-samsung-soc
The Exynos2200 SoC has a DWC3 compatible USB controller and can reuse
the existing Exynos glue. Update the dt schema to include the
samsung,exynos2200-dwusb3 compatible for it.
Signed-off-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
.../bindings/usb/samsung,exynos-dwc3.yaml | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/Documentation/devicetree/bindings/usb/samsung,exynos-dwc3.yaml b/Documentation/devicetree/bindings/usb/samsung,exynos-dwc3.yaml
index 2b3430ceb..679088c91 100644
--- a/Documentation/devicetree/bindings/usb/samsung,exynos-dwc3.yaml
+++ b/Documentation/devicetree/bindings/usb/samsung,exynos-dwc3.yaml
@@ -13,6 +13,7 @@ properties:
compatible:
enum:
- google,gs101-dwusb3
+ - samsung,exynos2200-dwusb3
- samsung,exynos5250-dwusb3
- samsung,exynos5433-dwusb3
- samsung,exynos7-dwusb3
@@ -73,6 +74,19 @@ allOf:
- const: link_aclk
- const: link_pclk
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: samsung,exynos2200-dwusb3
+ then:
+ properties:
+ clocks:
+ maxItems: 1
+ clock-names:
+ items:
+ - const: link_aclk
+
- if:
properties:
compatible:
--
2.43.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH v3 2/2] usb: dwc3: exynos: add support for Exynos2200 variant
2025-03-21 14:48 [PATCH v3 0/2] usb: dwc3: exynos: add support for Exynos2200 variant Ivaylo Ivanov
2025-03-21 14:48 ` [PATCH v3 1/2] dt-bindings: usb: samsung,exynos-dwc3: add exynos2200 compatible Ivaylo Ivanov
@ 2025-03-21 14:48 ` Ivaylo Ivanov
1 sibling, 0 replies; 5+ messages in thread
From: Ivaylo Ivanov @ 2025-03-21 14:48 UTC (permalink / raw)
To: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Alim Akhtar, Thinh Nguyen
Cc: devicetree, linux-usb, linux-kernel, linux-arm-kernel,
linux-samsung-soc
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>
---
drivers/usb/dwc3/dwc3-exynos.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/drivers/usb/dwc3/dwc3-exynos.c b/drivers/usb/dwc3/dwc3-exynos.c
index f5d963fae..aa22265c7 100644
--- a/drivers/usb/dwc3/dwc3-exynos.c
+++ b/drivers/usb/dwc3/dwc3-exynos.c
@@ -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,
@@ -177,6 +183,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,
}, {
--
2.43.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH v3 1/2] dt-bindings: usb: samsung,exynos-dwc3: add exynos2200 compatible
2025-03-21 14:48 ` [PATCH v3 1/2] dt-bindings: usb: samsung,exynos-dwc3: add exynos2200 compatible Ivaylo Ivanov
@ 2025-04-11 13:42 ` Greg Kroah-Hartman
2025-04-11 17:47 ` Ivaylo Ivanov
0 siblings, 1 reply; 5+ messages in thread
From: Greg Kroah-Hartman @ 2025-04-11 13:42 UTC (permalink / raw)
To: Ivaylo Ivanov
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Alim Akhtar,
Thinh Nguyen, devicetree, linux-usb, linux-kernel,
linux-arm-kernel, linux-samsung-soc
On Fri, Mar 21, 2025 at 04:48:02PM +0200, Ivaylo Ivanov wrote:
> The Exynos2200 SoC has a DWC3 compatible USB controller and can reuse
> the existing Exynos glue. Update the dt schema to include the
> samsung,exynos2200-dwusb3 compatible for it.
>
> Signed-off-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
> .../bindings/usb/samsung,exynos-dwc3.yaml | 14 ++++++++++++++
> 1 file changed, 14 insertions(+)
This doesn't apply to my tree, can you rebase it and resend the series?
thanks,
greg k-h
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v3 1/2] dt-bindings: usb: samsung,exynos-dwc3: add exynos2200 compatible
2025-04-11 13:42 ` Greg Kroah-Hartman
@ 2025-04-11 17:47 ` Ivaylo Ivanov
0 siblings, 0 replies; 5+ messages in thread
From: Ivaylo Ivanov @ 2025-04-11 17:47 UTC (permalink / raw)
To: Greg Kroah-Hartman
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Alim Akhtar,
Thinh Nguyen, devicetree, linux-usb, linux-kernel,
linux-arm-kernel, linux-samsung-soc
On 4/11/25 16:42, Greg Kroah-Hartman wrote:
> On Fri, Mar 21, 2025 at 04:48:02PM +0200, Ivaylo Ivanov wrote:
>> The Exynos2200 SoC has a DWC3 compatible USB controller and can reuse
>> the existing Exynos glue. Update the dt schema to include the
>> samsung,exynos2200-dwusb3 compatible for it.
>>
>> Signed-off-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
>> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
>> ---
>> .../bindings/usb/samsung,exynos-dwc3.yaml | 14 ++++++++++++++
>> 1 file changed, 14 insertions(+)
> This doesn't apply to my tree, can you rebase it and resend the series?
Yes, I will rebase this tomorrow because I'm a bit sick right now.
Best regards,
Ivaylo
>
> thanks,
>
> greg k-h
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2025-04-11 17:49 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-21 14:48 [PATCH v3 0/2] usb: dwc3: exynos: add support for Exynos2200 variant Ivaylo Ivanov
2025-03-21 14:48 ` [PATCH v3 1/2] dt-bindings: usb: samsung,exynos-dwc3: add exynos2200 compatible Ivaylo Ivanov
2025-04-11 13:42 ` Greg Kroah-Hartman
2025-04-11 17:47 ` Ivaylo Ivanov
2025-03-21 14:48 ` [PATCH v3 2/2] usb: dwc3: exynos: add support for Exynos2200 variant Ivaylo Ivanov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).