From: Rui Miguel Silva <rui.silva@linaro.org>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Sebastian Siewior <bigeasy@linutronix.de>,
Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
Rob Herring <robh+dt@kernel.org>
Cc: linux-usb@vger.kernel.org, devicetree@vger.kernel.org,
Rui Miguel Silva <rui.silva@linaro.org>
Subject: [PATCH v2 0/9] usb: isp1760: extend support for isp1763
Date: Tue, 11 May 2021 09:50:52 +0100 [thread overview]
Message-ID: <20210511085101.2081399-1-rui.silva@linaro.org> (raw)
The Arm MPS3 FPGA prototyping board [0] have an isp1763 [1] as USB
controller. There is already support for the isp1760 and isp1761 in
tree, this series extend the support also for the isp1763.
Move register access using regmap, remove some platform data and code,
refactor the mempool, use dr_mode to align to existing bindings, then
add the support for isp1763 host mode, add bindings files that did not
existed and at the end add also support for peripheral mode for
isp1763.
@Laurent and @Sebastian, I add both of you in the bindings files as
maintainers (it is a mandatory field)since you were the ones which
contributed with the initial code and peripheral code, let me know if
you are ok with it. If yes I may send a follow up to add also entries
in MAINTAINERS file that it is also missing.
v1 [2] -> v2:
kernel test robot:
- add two patches (1/9 and 3/9) to fix dozens of pre-existing sparse
warnings so that this series does not introduce new ones.
No sparse warning left.
- fix duplication of regmap fields
Laurent:
- move initializers from .h to .c
- change interrupt registers setup from field to one shot register
setting (did not change hcd hw mode init because I think it did not
make the difference and even avoid artifact around setting twice the
register)
Rob test bot:
- fix suffix at compatible string to clean up warning in bindings
Cheers,
Rui
[0]: https://developer.arm.com/tools-and-software/development-boards/fpga-prototyping-boards/mps3
[1]: https://media.digikey.com/pdf/Data%20Sheets/ST%20Ericsson%20PDFs/ISP1763A.pdf
[2]: https://lore.kernel.org/linux-devicetree/20210504101910.18619-1-rui.silva@linaro.org/
Rui Miguel Silva (9):
usb: isp1760: fix strict typechecking
usb: isp1760: move to regmap for register access
usb: isp1760: use relaxed primitives
usb: isp1760: remove platform data struct and code
usb: isp1760: hcd: refactor mempool config and setup
usb: isp1760: use dr_mode binding
usb: isp1760: add support for isp1763
dt-bindings: usb: nxp,isp1760: add bindings
usb: isp1763: add peripheral mode
.../devicetree/bindings/usb/nxp,isp1760.yaml | 59 +
arch/arm/boot/dts/arm-realview-eb.dtsi | 2 +-
arch/arm/boot/dts/arm-realview-pb1176.dts | 2 +-
arch/arm/boot/dts/arm-realview-pb11mp.dts | 2 +-
arch/arm/boot/dts/arm-realview-pbx.dtsi | 2 +-
arch/arm/boot/dts/vexpress-v2m-rs1.dtsi | 2 +-
arch/arm/boot/dts/vexpress-v2m.dtsi | 2 +-
drivers/usb/isp1760/Kconfig | 4 +-
drivers/usb/isp1760/isp1760-core.c | 513 ++++++++-
drivers/usb/isp1760/isp1760-core.h | 44 +-
drivers/usb/isp1760/isp1760-hcd.c | 1021 ++++++++++++-----
drivers/usb/isp1760/isp1760-hcd.h | 57 +-
drivers/usb/isp1760/isp1760-if.c | 41 +-
drivers/usb/isp1760/isp1760-regs.h | 435 ++++---
drivers/usb/isp1760/isp1760-udc.c | 250 ++--
drivers/usb/isp1760/isp1760-udc.h | 13 +-
include/linux/usb/isp1760.h | 19 -
17 files changed, 1758 insertions(+), 710 deletions(-)
create mode 100644 Documentation/devicetree/bindings/usb/nxp,isp1760.yaml
delete mode 100644 include/linux/usb/isp1760.h
--
2.31.1
next reply other threads:[~2021-05-11 8:51 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-11 8:50 Rui Miguel Silva [this message]
2021-05-11 8:50 ` [PATCH v2 1/9] usb: isp1760: fix strict typechecking Rui Miguel Silva
2021-05-11 8:50 ` [PATCH v2 2/9] usb: isp1760: move to regmap for register access Rui Miguel Silva
2021-05-11 19:11 ` kernel test robot
2021-05-11 8:50 ` [PATCH v2 3/9] usb: isp1760: use relaxed primitives Rui Miguel Silva
2021-05-11 8:50 ` [PATCH v2 4/9] usb: isp1760: remove platform data struct and code Rui Miguel Silva
2021-05-11 8:50 ` [PATCH v2 5/9] usb: isp1760: hcd: refactor mempool config and setup Rui Miguel Silva
2021-05-11 8:50 ` [PATCH v2 6/9] usb: isp1760: use dr_mode binding Rui Miguel Silva
2021-05-11 8:50 ` [PATCH v2 7/9] usb: isp1760: add support for isp1763 Rui Miguel Silva
2021-05-11 8:51 ` [PATCH v2 8/9] dt-bindings: usb: nxp,isp1760: add bindings Rui Miguel Silva
2021-05-11 19:22 ` Rob Herring
2021-05-13 8:38 ` Rui Miguel Silva
2021-05-11 8:51 ` [PATCH v2 9/9] usb: isp1763: add peripheral mode Rui Miguel Silva
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210511085101.2081399-1-rui.silva@linaro.org \
--to=rui.silva@linaro.org \
--cc=bigeasy@linutronix.de \
--cc=devicetree@vger.kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-usb@vger.kernel.org \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.