Skip to content

usb: dwc3: Add cache type configuration support for freescale layerscape

Frank Li imx linux-devicetree linux-usb lkml 1 version In review

Get series with b4
b4 am [email protected] change-id 20240703-dwc-5be3e378ddbe

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dt-bindings: usb: Add chip-specific compatible string 'fsl,ls-dwc3'Documentation/devicetree/bindings/usb/snps,dwc3.yaml+1 -01 reply
2/2usb: dwc3: Set cache type to 'snoop' for freescale layerscape chipdrivers/usb/dwc3/core.c drivers/usb/dwc3/core.h+16 -00 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchJun Li
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] usb: dwc3: Add cache type configuration support for freescale layerscape

There are several attempt to upstream this code in past year.

The first attempt:
https://lore.kernel.org/linux-usb/20191121095356.GB7503@b29397-desktop/

cache type is dwc core setting, not glue layer. So It'd better change in dwc core instead of glue layer code.

The second attempt:
https://lore.kernel.org/linux-usb/[email protected]/#t

DT team think there are not variable for property 'snps,dat-wr-reqinfo'. And suggest use vendor compatible string.

This is third attempt:
Compared with first attempt:
- reduce compatible string to one 'fsl,ls-dwc3' because all setting are the same.
- move update burst type code into dwc3_set_incr_burst_type(). and check compatible string 'fsl,ls-dwc3'.
- Using bit field help macro.

---
Ran Wang (2):
dt-bindings: usb: Add chip-specific compatible string 'fsl,ls-dwc3'
usb: dwc3: Set cache type to 'snoop' for freescale layerscape chip

 Documentation/devicetree/bindings/usb/snps,dwc3.yaml |  1 +
 drivers/usb/dwc3/core.c                              | 12 ++++++++++++
 drivers/usb/dwc3/core.h                              |  4 ++++
 3 files changed, 17 insertions(+)

---
base-commit: 0b58e108042b0ed28a71cd7edf5175999955b233
change-id: 20240703-dwc-5be3e378ddbe

Best regards,
---
Frank Li <[email protected]>