[PATCH v5 0/4] phy: rcar-gen3-usb2: Add R-Car Gen3 USB2 PHY driver

From: Yoshihiro Shimoda
Date: Tue Oct 20 2015 - 04:59:20 EST


This patch is based on the latest linux-phy / next branch.
(commit id = 0f8669e343982ac66f4420335777cb5456b8abb0)

Changes from v4:
- Modify Kconfig to "depends on OF && ARCH_SHMOBILE".
- Modify Kconfig to "select GENERIC_PHY" instead of "depends on GENERIC_PHY".
- Modify device tree documentation about "reg" of example.
- Remove spinlock handling because phy-core driver calls mutex_lock().
- Change valiable name to val instead of tmp.
- Remove dev_set_drvdata.
- Use dev_vdbg() instead of dev_dbg().
- Change rcar_gen3_device_recognition()'s condition as one line.
- Remove unnecessary value in rcar_gen3_phy_usb2_probe().
- Modify MAINTAINERS about this driver.

Changes from v3:
- Shorten structure names to avoid new line if we add a long function name.
- Add ID/VBUS pin detection for peripheral mode.

Changes from v2:
- Modify Kconfig to add "depends on OF" and "depends on ARCH_SHMOBILE".
- Add more information in the dt document.
- Change reg-names from "usb2" to "usb2_host".

Changes from v1:
- Revise some typos.
- Remove using clk API to enable/disable the clocks.
(In other words, this driver expects to enable/disable the clocks by
Runtime PM API by the phy-core driver.)
- Remove an unnecessary header file (asm/cmpxchg.h).

Yoshihiro Shimoda (4):
phy: rcar-gen3-usb2: Add R-Car Gen3 USB2 PHY driver
phy: rcar-gen3-usb2: change the mode to OTG on the combined channel
phy: rcar-gen3-usb2: add runtime ID/VBUS pin detection
MAINTAINERS: add Renesas usb2 phy driver

.../devicetree/bindings/phy/rcar-gen3-phy-usb2.txt | 39 +++
MAINTAINERS | 6 +
drivers/phy/Kconfig | 7 +
drivers/phy/Makefile | 1 +
drivers/phy/phy-rcar-gen3-usb2.c | 380 +++++++++++++++++++++
5 files changed, 433 insertions(+)
create mode 100644 Documentation/devicetree/bindings/phy/rcar-gen3-phy-usb2.txt
create mode 100644 drivers/phy/phy-rcar-gen3-usb2.c

--
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/