* [PATCH v4 1/2] dt-bindings: usb: Add Samsung Exynos8855 DWC3 controller
2026-10-26 13:57 ` [PATCH v4 0/2] Add USB DWC3 support for Samsung Exynos8855 Selvarasu Ganesan
@ 2026-10-26 13:57 ` Selvarasu Ganesan
2026-10-27 10:05 ` Krzysztof Kozlowski
2026-10-26 13:57 ` [PATCH v4 2/2] usb: dwc3: Add Exynos8855 to the generic platform driver Selvarasu Ganesan
1 sibling, 1 reply; 4+ messages in thread
From: Selvarasu Ganesan @ 2026-10-26 13:57 UTC (permalink / raw)
To: gregkh, robh, krzk+dt, conor+dt, peter.griffin, alim.akhtar,
Thinh.Nguyen, selvarasu.g, linux-usb, devicetree,
linux-arm-kernel, linux-samsung-soc, linux-kernel
Cc: jh0801.jung, h10.kim, dh10.jung, akash.m5, hongpooh.kim, eomji.oh,
shijie.cai, muhammed.ali, thiagu.r
Add the Samsung Exynos8855 DWC3 binding using a flattened node
representation, where the DWC3 controller is directly addressable
rather than nested as a child node of a glue layer.
This is the first Samsung Exynos binding using the flattened
representation.
Co-developed-by: Muhammed Ali <muhammed.ali@samsung.com>
Signed-off-by: Muhammed Ali <muhammed.ali@samsung.com>
Signed-off-by: Selvarasu Ganesan <selvarasu.g@samsung.com>
---
.../bindings/usb/samsung,exynos8855-dwc3.yaml | 71 +++++++++++++++++++
1 file changed, 71 insertions(+)
create mode 100644 Documentation/devicetree/bindings/usb/samsung,exynos8855-dwc3.yaml
diff --git a/Documentation/devicetree/bindings/usb/samsung,exynos8855-dwc3.yaml b/Documentation/devicetree/bindings/usb/samsung,exynos8855-dwc3.yaml
new file mode 100644
index 000000000000..664c26c1a9ca
--- /dev/null
+++ b/Documentation/devicetree/bindings/usb/samsung,exynos8855-dwc3.yaml
@@ -0,0 +1,71 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/usb/samsung,exynos8855-dwc3.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Samsung Exynos8855 DWC3 USB controller
+
+maintainers:
+ - Krzysztof Kozlowski <krzk@kernel.org>
+ - Selvarasu Ganesan <selvarasu.g@samsung.com>
+
+description:
+ Describes the DWC3 USB controller block implemented on the Samsung
+ Exynos8855 SoC.
+
+properties:
+ compatible:
+ enum:
+ - samsung,exynos8855-dwc3
+
+ reg:
+ maxItems: 1
+
+ clocks:
+ items:
+ - description: Reference clock for SOF/ITP generation.
+ - description: Bus (APB) clock for register access.
+
+ clock-names:
+ items:
+ - const: ref
+ - const: bus
+
+ interrupts:
+ maxItems: 1
+
+ power-domains:
+ maxItems: 1
+
+required:
+ - compatible
+ - reg
+ - clocks
+ - clock-names
+ - interrupts
+
+allOf:
+ - $ref: snps,dwc3-common.yaml#
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/interrupt-controller/arm-gic.h>
+
+ usb@13200000 {
+ compatible = "samsung,exynos8855-dwc3";
+ reg = <0x13200000 0x10000>;
+ clocks = <&usb_clk 0>,
+ <&usb_clk 1>;
+ clock-names = "ref", "bus";
+ interrupts = <GIC_SPI 436 IRQ_TYPE_LEVEL_HIGH>;
+ dr_mode = "peripheral";
+ phys = <&usbdrd_phy 0>;
+ phy-names = "usb2-phy";
+ snps,quirk-frame-length-adjustment = <0x20>;
+ snps,dis-u2-freeclk-exists-quirk;
+ snps,gfladj-refclk-lpm-sel-quirk;
+ };
+...
--
2.17.1
^ permalink raw reply related [flat|nested] 4+ messages in thread* [PATCH v4 2/2] usb: dwc3: Add Exynos8855 to the generic platform driver
2026-10-26 13:57 ` [PATCH v4 0/2] Add USB DWC3 support for Samsung Exynos8855 Selvarasu Ganesan
2026-10-26 13:57 ` [PATCH v4 1/2] dt-bindings: usb: Add Samsung Exynos8855 DWC3 controller Selvarasu Ganesan
@ 2026-10-26 13:57 ` Selvarasu Ganesan
1 sibling, 0 replies; 4+ messages in thread
From: Selvarasu Ganesan @ 2026-10-26 13:57 UTC (permalink / raw)
To: gregkh, robh, krzk+dt, conor+dt, peter.griffin, alim.akhtar,
Thinh.Nguyen, selvarasu.g, linux-usb, devicetree,
linux-arm-kernel, linux-samsung-soc, linux-kernel
Cc: jh0801.jung, h10.kim, dh10.jung, akash.m5, hongpooh.kim, eomji.oh,
shijie.cai, muhammed.ali, thiagu.r
Add the "samsung,exynos8855-dwc3" compatible string to dwc3-generic-plat
so the Exynos8855 DWC3 controller can probe through the generic DWC3
platform glue. While at it, alphabetically reorder the existing entries.
Co-developed-by: Muhammed Ali <muhammed.ali@samsung.com>
Signed-off-by: Muhammed Ali <muhammed.ali@samsung.com>
Signed-off-by: Selvarasu Ganesan <selvarasu.g@samsung.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
---
drivers/usb/dwc3/dwc3-generic-plat.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/dwc3/dwc3-generic-plat.c b/drivers/usb/dwc3/dwc3-generic-plat.c
index ca69ac0eb07c..d57496716204 100644
--- a/drivers/usb/dwc3/dwc3-generic-plat.c
+++ b/drivers/usb/dwc3/dwc3-generic-plat.c
@@ -232,10 +232,11 @@ static const struct dwc3_generic_config eic7700_dwc3 = {
};
static const struct of_device_id dwc3_generic_of_match[] = {
+ { .compatible = "eswin,eic7700-dwc3", &eic7700_dwc3},
+ { .compatible = "fsl,ls1028a-dwc3", &fsl_ls1028_dwc3},
+ { .compatible = "samsung,exynos8855-dwc3", },
{ .compatible = "spacemit,k1-dwc3", &spacemit_k1_dwc3},
{ .compatible = "spacemit,k3-dwc3", },
- { .compatible = "fsl,ls1028a-dwc3", &fsl_ls1028_dwc3},
- { .compatible = "eswin,eic7700-dwc3", &eic7700_dwc3},
{ .compatible = "starfive,jhb100-dwc3", },
{ /* sentinel */ }
};
--
2.17.1
^ permalink raw reply related [flat|nested] 4+ messages in thread