[GIT PULL] phy: for 4.9

Kishon Vijay Abraham I
2016-09-14T07:44:39Z

Hi Greg,

Please find the phy pull request for 4.9 merge window below. It adds
4 new phy drivers, adds support for a couple of phys using existing
drivers, adds phy_reset() API which can be used by the controller
drivers to reset the phy and includes misc fixes and cleanups.

It also includes an immutable extcon branch (ib-extcon-phy-4.9) from
Chanwoo, since the Type-C PHY driver is dependent on extcon.

Let me know if I have to change something.

Thanks
Kishon

The following changes since commit 017300da3a4547d85e52c2484fc0bd759e1bbcdb:

phy: sun9i-usb: fix error handling (2016-08-12 14:59:10 +0530)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/kishon/linux-phy.git tags/phy-for-4.9

for you to fetch changes up to b78ea84a7d45b9e5ad2eee429a2140065a39d755:

phy-twl4030-usb: initialize charging-related stuff via pm_runtime (2016-09-14 10:59:12 +0530)

----------------------------------------------------------------
phy: for 4.9

*) phy driver for USB 3.0 PHY on Northstar
*) phy driver for Rockchip usb2phy
*) phy driver for the Rockchip SoC internal PCIe PHY
*) phy driver for USB Type-C PHY on rk3399
*) phy_reset() API
*) support for Allwinner A64 usb phy, usb2 phy in r8a7796
*) Fixes in twl4030-usb, tegra phy, sun4i-usb phy, da8xx-usb phy
and omap-usb2 phy
*) other misc cleanups

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>

----------------------------------------------------------------
Andreas Kemnade (2):
phy-twl4030-usb: better handle musb_mailbox() failure
phy-twl4030-usb: initialize charging-related stuff via pm_runtime

Arnd Bergmann (1):
usb: phy: add USB_SUPPORT dependency

Axel Lin (3):
phy: exynos5-usbdrd: Remove "static" from local variable
phy: bcm-ns2-pcie: Get rid of struct ns2_pci_phy
phy: bcm-ns2-pcie: Set missing .owner field in ns2_pci_phy_ops

Baoyou Xie (2):
phy: tegra: add missing header dependencies
phy: tegra: mark tegra_xusb_lane_lookup_function() static

Chanwoo Choi (12):
extcon: arizona: Remove the usage of extcon_update_state()
extcon: adc-jack: Remove the usage of extcon_set_state()
extcon: gpio: Remove the usage of extcon_set_state()
extcon: Remove the state_store() to prevent the wrong access
extcon: Block the bit masking operation for cable state except for extcon core
extcon: Add the extcon_type to gather each connector into five category
extcon: Add the support for extcon property according to extcon type
extcon: Add the support for the capability of each property
extcon: Rename the extcon_set/get_state() to maintain the function naming pattern
extcon: Add the synchronization extcon APIs to support the notification
extcon: Add new EXTCON_DISP_HMD for Head-mounted Display device
extcon: Add new EXTCON_CHG_WPT for Wireless Power Transfer device

Charles Keepax (1):
extcon: arizona: Remove unneeded semi-colon

Chen-Yu Tsai (1):
phy: sun4i-usb: Use spinlock to guard phyctl register access

Chris Zhong (4):
extcon: Add EXTCON_DISP_DP and the property for USB Type-C
phy: Add USB Type-C PHY driver for rk3399
Documentation: bindings: add dt doc for Rockchip USB Type-C PHY
phy: rockchip-typec: add pm runtime support

David Lechner (1):
phy: da8xx-usb: Fix syscon device name

Frank Wang (3):
Documentation: bindings: add DT documentation for Rockchip USB2PHY
phy: rockchip-inno-usb2: add a new driver for Rockchip usb2phy
phy: rockchip-inno-usb2: add COMMON_CLK dependency

Guenter Roeck (1):
extcon: Introduce EXTCON_PROP_USB_SS property for SuperSpeed mode

Hans de Goede (5):
phy-sun4i-usb: Use bool where appropriate
phy-sun4i-usb: Refactor forced session ending
phy-sun4i-usb: Simplify missing dr_mode handling
phy-sun4i-usb: Add support for phy_set_mode
phy-sun4i-usb: Warn when external vbus is detected

Icenowy Zheng (2):
dt: bindings: add bindings for Allwinner A64 usb phy
phy: sun4i: add support for A64 usb phy

Julia Lawall (1):
phy: qcom-ufs: use of_property_read_bool

Kishon Vijay Abraham I (1):
Merge branch 'ib-extcon-phy-4.9' of git://git.kernel.org/.../chanwoo/extcon into next

Maninder Singh (1):
extcon: Fix compile time warning

Rafał Miłecki (1):
phy: bcm-ns-usb3: new driver for USB 3.0 PHY on Northstar

Randy Li (2):
phy: Add reset callback
phy: rockchip-usb: use rockchip_usb_phy_reset to reset phy during wakeup

Sekhar Nori (2):
phy: omap-usb2: support suspend/resume
dt-bindings: phy: ti: add documentation for ti,dra7x-usb2

Shawn Lin (2):
Documentation: bindings: add dt documentation for Rockchip PCIe PHY
phy: add a driver for the Rockchip SoC internal PCIe PHY

Stephen Boyd (1):
extcon: Move extcon_get_edev_by_phandle() errors to dbg level

Venkat Reddy Talla (1):
extcon: adc-jack: update cable state during boot

Yoshihiro Shimoda (2):
phy: rcar-gen3-usb2: revise the example of device tree doc
phy: rcar-gen3-usb2: Add a compatible string for r8a7796

.../devicetree/bindings/phy/bcm-ns-usb3-phy.txt | 23 +
.../bindings/phy/phy-rockchip-inno-usb2.txt | 64 ++
.../devicetree/bindings/phy/phy-rockchip-typec.txt | 101 ++
.../devicetree/bindings/phy/rcar-gen3-phy-usb2.txt | 6 +-
.../devicetree/bindings/phy/rockchip-pcie-phy.txt | 31 +
.../devicetree/bindings/phy/rockchip-usb-phy.txt | 3 +
.../devicetree/bindings/phy/sun4i-usb-phy.txt | 1 +
Documentation/devicetree/bindings/phy/ti-phy.txt | 2 +
drivers/extcon/extcon-adc-jack.c | 27 +-
drivers/extcon/extcon-arizona.c | 13 +-
drivers/extcon/extcon-gpio.c | 2 +-
drivers/extcon/extcon.c | 774 ++++++++++++---
drivers/phy/Kconfig | 36 +
drivers/phy/Makefile | 4 +
drivers/phy/phy-bcm-ns-usb3.c | 274 ++++++
drivers/phy/phy-bcm-ns2-pcie.c | 28 +-
drivers/phy/phy-core.c | 15 +
drivers/phy/phy-da8xx-usb.c | 2 +-
drivers/phy/phy-exynos5-usbdrd.c | 4 +-
drivers/phy/phy-omap-usb2.c | 100 +-
drivers/phy/phy-qcom-ufs.c | 6 +-
drivers/phy/phy-rcar-gen3-usb2.c | 1 +
drivers/phy/phy-rockchip-inno-usb2.c | 707 ++++++++++++++
drivers/phy/phy-rockchip-pcie.c | 357 +++++++
drivers/phy/phy-rockchip-typec.c | 1023 ++++++++++++++++++++
drivers/phy/phy-rockchip-usb.c | 20 +
drivers/phy/phy-sun4i-usb.c | 154 +--
drivers/phy/phy-twl4030-usb.c | 25 +-
drivers/phy/tegra/xusb.c | 4 +-
include/linux/extcon.h | 181 +++-
include/linux/extcon/extcon-adc-jack.h | 4 +-
include/linux/phy/phy.h | 3 +
32 files changed, 3656 insertions(+), 339 deletions(-)
create mode 100644 Documentation/devicetree/bindings/phy/bcm-ns-usb3-phy.txt
create mode 100644 Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.txt
create mode 100644 Documentation/devicetree/bindings/phy/phy-rockchip-typec.txt
create mode 100644 Documentation/devicetree/bindings/phy/rockchip-pcie-phy.txt
create mode 100644 drivers/phy/phy-bcm-ns-usb3.c
create mode 100644 drivers/phy/phy-rockchip-inno-usb2.c
create mode 100644 drivers/phy/phy-rockchip-pcie.c
create mode 100644 drivers/phy/phy-rockchip-typec.c