Skip to content

usb: ChipIdea: add Nuvoton NPCM UDC support

Tomer Maimon linux-devicetree linux-usb lkml openbmc 8 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest3 patches 1 replyIn review
  2. v63 patches 5 repliesSuperseded
  3. v53 patches 1 replySuperseded
Earlier versions · 5
VersionPostedPatchesRepliesStatus
v43 patches3 repliesSuperseded
v3 posting 2/23 patches6 repliesSuperseded
v3 posting 1/23 patches0 repliesSuperseded
v23 patches3 repliesSuperseded
v12 patches8 repliesSuperseded

Patches in v7 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3usb: chipidea: add CI_HDRC_FORCE_VBUS_ACTIVE_ALWAYS flagdrivers/usb/chipidea/otg.c include/linux/usb/chipidea.h+5 -10 replies
2/3dt-bindings: usb: ci-hdrc-usb2: add npcm750 and npcm845 compatibleDocumentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml+6 -01 reply
3/3usb: chipidea: Add support for NPCMdrivers/usb/chipidea/Kconfig drivers/usb/chipidea/Makefile drivers/usb/chipidea/ci_hdrc_npcm.c+119 -00 replies

Reviews trailers per patch

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

PatchPeter ChenKrzysztof Kozlowski
1/3A-b
2/3R-b
3/3A-b

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

Read the v7 thread

Cover letter [PATCH v7 0/3] usb: ChipIdea: add Nuvoton NPCM UDC support

This patch set add USB device controller for the NPCM Baseboard Management Controllers (BMC).

NPCM UDC driver is a part of the USB ChipIdea driver.

Adding CI_HDRC_FORCE_VBUS_ACTIVE_ALWAYS flag to modify the vbus_active parameter to active in case the ChipIdea USB IP role is device-only and there is no otgsc register.

BMC NPCM7XX and BMC NPCM8XX has ten identical NPCM UDC modules,

The NPCM UDC were tested on NPCM845 evaluation board.

Addressed comments from:
- Paul Menzel : https://www.spinics.net/lists/linux-usb/msg248033.html

Changes since version 6:
- Modify commit message.
- Modify debug event message.

Changes since version 5:
- Remove unnecessary npcm845-udc compatible.

Changes since version 4:
- Modify npcm845-udc compatible.

Changes since version 3:
- Add Acked-by Peter Chen.

Changes since version 2:
- Use dev_err_probe.
- Remove MODULE_ALIAS.

Changes since version 1:
- Add SoC specific compatible.
- Remove USB phy mux property from dt-binding, will be handled differently.
- Add CI_HDRC_FORCE_VBUS_ACTIVE_ALWAYS commit to this patch set.

Tomer Maimon (3):
usb: chipidea: add CI_HDRC_FORCE_VBUS_ACTIVE_ALWAYS flag
dt-bindings: usb: ci-hdrc-usb2: add npcm750 and npcm845 compatible
usb: chipidea: Add support for NPCM

 .../devicetree/bindings/usb/ci-hdrc-usb2.yaml |   6 +
 drivers/usb/chipidea/Kconfig                  |   4 +
 drivers/usb/chipidea/Makefile                 |   1 +
 drivers/usb/chipidea/ci_hdrc_npcm.c           | 114 ++++++++++++++++++
 drivers/usb/chipidea/otg.c                    |   5 +-
 include/linux/usb/chipidea.h                  |   1 +
 6 files changed, 130 insertions(+), 1 deletion(-)
 create mode 100644 drivers/usb/chipidea/ci_hdrc_npcm.c
Signature · 1 line
2.33.0