* [PATCH v4 0/2] Add USB DWC3 support for Samsung Exynos8855 [not found] <CGME20261026135748epcas5p4b33d010f9bf35a6fcbbc1ae2cc9a6276@epcas5p4.samsung.com> @ 2026-10-26 13:57 ` Selvarasu Ganesan [not found] ` <CGME20261026135751epcas5p42c28c8315cd25554a11032714b85bbed@epcas5p4.samsung.com> [not found] ` <CGME20261026135755epcas5p4efa15a5e7540d91b4411a7b324aeaa5d@epcas5p4.samsung.com> 0 siblings, 2 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 The Samsung Exynos8855 SoC implements a Synopsys DesignWare USB3 DRD controller. The DWC3 core on the Exynos8855 is instantiated with the generic DWC3 platform driver using a flattened model, where the controller is directly addressable without a separate glue layer. This is the first Samsung Exynos binding using the flattened representation, and this series adds the device tree binding and platform driver support for this configuration. Signed-off-by: Selvarasu Ganesan <selvarasu.g@samsung.com> --- Changes in v4: - Drop redundant "binding" from the subject. - Reorder properties, interrupts after clocks, power-domains after interrupts. - Reorder interrupt property in the example as well. - List clocks with per item descriptions. - Link to v3: https://lore.kernel.org/all/20261023131501.3157463-1-selvarasu.g@samsung.com/ Changes in v3: - Drop the MAINTAINERS patch. - Drop the samsung,snps-dwc3 generic fallback compatible. The binding now uses the SoC specific compatible samsung,exynos8855-dwc3 only. - Binding file is renamed to match the compatible string. - Remove the "select" from the binding. - List the clocks (ref, bus) explicitly and drop the redundant if/then block. - Update the driver patch to use the new compatible string. - Drop the v2 Reviewed-by (Alim Akhtar) and Acked-by (Thinh Nguyen) tags as the patches changed. re-requesting them. - Link to v2: https://lore.kernel.org/all/20260916122229.2604003-1-selvarasu.g@samsung.com/ Changes in v2: - Commit 2/3: Clarify this is the first Samsung Exynos binding using the flattened node representation. - Commit 3/3: Add the compatible entry in alphabetical order in the of_match_table. - Link to v1: https://lore.kernel.org/all/20260903071250.3421499-1-selvarasu.g@samsung.com/ Selvarasu Ganesan (2): dt-bindings: usb: Add Samsung Exynos8855 DWC3 controller usb: dwc3: Add Exynos8855 to the generic platform driver .../bindings/usb/samsung,exynos8855-dwc3.yaml | 71 +++++++++++++++++++ drivers/usb/dwc3/dwc3-generic-plat.c | 5 +- 2 files changed, 74 insertions(+), 2 deletions(-) create mode 100644 Documentation/devicetree/bindings/usb/samsung,exynos8855-dwc3.yaml -- 2.17.1 ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <CGME20261026135751epcas5p42c28c8315cd25554a11032714b85bbed@epcas5p4.samsung.com>]
* [PATCH v4 1/2] dt-bindings: usb: Add Samsung Exynos8855 DWC3 controller [not found] ` <CGME20261026135751epcas5p42c28c8315cd25554a11032714b85bbed@epcas5p4.samsung.com> @ 2026-10-26 13:57 ` Selvarasu Ganesan 2026-10-27 10:05 ` Krzysztof Kozlowski 0 siblings, 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 [flat|nested] 4+ messages in thread
* Re: [PATCH v4 1/2] dt-bindings: usb: Add Samsung Exynos8855 DWC3 controller 2026-10-26 13:57 ` [PATCH v4 1/2] dt-bindings: usb: Add Samsung Exynos8855 DWC3 controller Selvarasu Ganesan @ 2026-10-27 10:05 ` Krzysztof Kozlowski 0 siblings, 0 replies; 4+ messages in thread From: Krzysztof Kozlowski @ 2026-10-27 10:05 UTC (permalink / raw) To: Selvarasu Ganesan Cc: gregkh, robh, krzk+dt, conor+dt, peter.griffin, alim.akhtar, Thinh.Nguyen, linux-usb, devicetree, linux-arm-kernel, linux-samsung-soc, linux-kernel, jh0801.jung, h10.kim, dh10.jung, akash.m5, hongpooh.kim, eomji.oh, shijie.cai, muhammed.ali, thiagu.r On Mon, Oct 26, 2026 at 07:27:14PM +0530, Selvarasu Ganesan wrote: > 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 Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Best regards, Krzysztof ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <CGME20261026135755epcas5p4efa15a5e7540d91b4411a7b324aeaa5d@epcas5p4.samsung.com>]
* [PATCH v4 2/2] usb: dwc3: Add Exynos8855 to the generic platform driver [not found] ` <CGME20261026135755epcas5p4efa15a5e7540d91b4411a7b324aeaa5d@epcas5p4.samsung.com> @ 2026-10-26 13:57 ` Selvarasu Ganesan 0 siblings, 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 [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-10-27 10:05 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <CGME20261026135748epcas5p4b33d010f9bf35a6fcbbc1ae2cc9a6276@epcas5p4.samsung.com>
2026-10-26 13:57 ` [PATCH v4 0/2] Add USB DWC3 support for Samsung Exynos8855 Selvarasu Ganesan
[not found] ` <CGME20261026135751epcas5p42c28c8315cd25554a11032714b85bbed@epcas5p4.samsung.com>
2026-10-26 13:57 ` [PATCH v4 1/2] dt-bindings: usb: Add Samsung Exynos8855 DWC3 controller Selvarasu Ganesan
2026-10-27 10:05 ` Krzysztof Kozlowski
[not found] ` <CGME20261026135755epcas5p4efa15a5e7540d91b4411a7b324aeaa5d@epcas5p4.samsung.com>
2026-10-26 13:57 ` [PATCH v4 2/2] usb: dwc3: Add Exynos8855 to the generic platform driver Selvarasu Ganesan
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®