[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20231002161350.64229-1-tmaimon77@gmail.com>
Date: Mon, 2 Oct 2023 19:13:47 +0300
From: Tomer Maimon <tmaimon77@...il.com>
To: <peter.chen@...nel.org>, <gregkh@...uxfoundation.org>,
<robh+dt@...nel.org>, <krzysztof.kozlowski+dt@...aro.org>,
<xu.yang_2@....com>, <peng.fan@....com>, <avifishman70@...il.com>,
<tali.perry1@...il.com>, <joel@....id.au>, <venture@...gle.com>,
<yuenn@...gle.com>, <benjaminfair@...gle.com>,
<j.neuschaefer@....net>
CC: <openbmc@...ts.ozlabs.org>, <linux-usb@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <devicetree@...r.kernel.org>,
Tomer Maimon <tmaimon77@...il.com>
Subject: [PATCH RESEND v3 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:
- Krzysztof Kozlowski : https://www.spinics.net/lists/kernel/msg4951321.html
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 | 4 +
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, 128 insertions(+), 1 deletion(-)
create mode 100644 drivers/usb/chipidea/ci_hdrc_npcm.c
--
2.33.0
Powered by blists - more mailing lists