[GIT PULL] phy: for 4.15 merge window
From: Kishon Vijay Abraham I
Date: Wed Oct 25 2017 - 07:47:34 EST
Hi Greg,
Please find the pull request for 4.15 merge window below. It includes a
couple of phy core changes (adds phy_calibrate() API and return NULL for
optional phy_get even if CONFIG_GENERIC_PHY is not selected). Apart from that,
it adds a new USB PHY driver for Broadcom STB SoCs and includes other driver
fixes/cleanups all of which are listed in the tag message.
It also includes a couple of patches from other subsystems (in ufs-qcom.c and
pci-dra7xx.c) because of it's dependencies with phy changes. (Haven't seen
any conflicts in linux-next)
Consider merging this pull request and let me know if I have to change
something.
Thanks
Kishon
The following changes since commit 2fb850092fd95198a0a4746f07b80077d5a3aa37:
phy: rockchip-typec: Check for errors from tcphy_phy_init() (2017-10-03 15:18:41 +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.15_v1
for you to fetch changes up to 36914111e6829be36b23d1109214250b5ee1ee9c:
drivers: phy: add calibrate method (2017-10-23 11:19:28 +0530)
----------------------------------------------------------------
phy: for 4.15
*) Add support in phy core to perform phy calibration
*) Return NULL for optional PHY's even if CONFIG_GENERIC_PHY is not selected
*) Add USB Phy driver for Broadcom STB SoCs
*) Add support to force mediatek PHY with USB OTG function to enter
a specific mode
*) Calibrate rockchip-typec PHY according to docs
*) Enable dual route feature for sun4i-usb in V3s SoC
*) Use dr_mode dt property to enable otg capability in rcar-gen3-usb2
*) Add driver data to specify dedicated otg pins in rcar-gen3-usb2 driver
*) Configure the RX equalizer of brcm-sata PHY
*) Update pcie phy settings for ti-pipe3 phy
*) Add set_mode callback in qcom-ufs-qmp-14nm phy
*) Use PHY callbacks in phy-qcom-ufs instead of export APIs
Signed-off-by: Kishon Vijay Abraham I <kishon@xxxxxx>
----------------------------------------------------------------
Al Cooper (4):
soc: brcmstb: Add Product ID and Family ID helper functions
dt-bindings: Add Broadcom STB USB PHY binding document
phy: usb: phy-brcm-usb: Add Broadcom STB USB phy driver
phy: usb: phy-brcm-usb: Add ability to force DRD mode to host or device
Andrzej Pietrasiewicz (1):
drivers: phy: add calibrate method
Antoine Tenart (1):
phy: mvebu-cp110-comphy: remove unused member in private struct
Biju Das (1):
phy: rcar-gen2: Add r8a7743/5 support
Chunfeng Yun (1):
phy: phy-mtk-tphy: add set_mode callback
Douglas Anderson (2):
phy: rockchip-typec: Avoid magic numbers + add delays in aux calib
phy: rockchip-typec: Do the calibration more correctly
Florian Fainelli (3):
dt-bindings: phy: Add RX equalizer properties for Broadcom SATA PHY
phy: brcm-sata: Prepare for doing more tuning
phy: brcm-sata: Allow RX equalizer tuning
Icenowy Zheng (1):
phy: sun4i-usb: enable PHY0 dual route for V3s SoC
Kishon Vijay Abraham I (3):
Merge branch 'fixes' into next
PCI: dra7xx: Create functional dependency between PCIe and PHY
phy: ti-pipe3: Update pcie phy settings
Maxime Ripard (1):
phy: Return NULL if the phy is optional
Vivek Gautam (5):
dt-bindings: phy: Add PHY_TYPE_UFS definition
phy: Add UFS PHY modes
phy: qcom-ufs: Add support to set phy mode
scsi/ufs: qcom: Set phy mode based on the controllers HS MODE
ufs/phy: qcom: Refactor to use phy_init call
Yoshihiro Shimoda (4):
phy: rcar-gen3-usb2: check dr_mode for otg mode
phy: rcar-gen3-usb2: use enum phy_mode in the role_store()
phy: rcar-gen3-usb2: add SoC-specific parameter for dedicated pins
phy: rcar-gen3-usb2: add binding for r8a77995
Documentation/devicetree/bindings/phy/brcm,brcmstb-usb-phy.txt | 43 ++++++
Documentation/devicetree/bindings/phy/brcm-sata-phy.txt | 11 +-
Documentation/devicetree/bindings/phy/rcar-gen2-phy.txt | 7 +-
Documentation/devicetree/bindings/phy/rcar-gen3-phy-usb2.txt | 2 +
MAINTAINERS | 7 +
drivers/pci/dwc/pci-dra7xx.c | 16 +++
drivers/phy/allwinner/phy-sun4i-usb.c | 1 +
drivers/phy/broadcom/Kconfig | 13 ++
drivers/phy/broadcom/Makefile | 3 +
drivers/phy/broadcom/phy-brcm-sata.c | 74 +++++++++-
drivers/phy/broadcom/phy-brcm-usb-init.c | 1017 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
drivers/phy/broadcom/phy-brcm-usb-init.h | 50 +++++++
drivers/phy/broadcom/phy-brcm-usb.c | 459 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
drivers/phy/marvell/phy-mvebu-cp110-comphy.c | 1 -
drivers/phy/mediatek/phy-mtk-tphy.c | 39 ++++++
drivers/phy/phy-core.c | 15 ++
drivers/phy/qualcomm/phy-qcom-ufs-i.h | 5 +-
drivers/phy/qualcomm/phy-qcom-ufs-qmp-14nm.c | 29 +++-
drivers/phy/qualcomm/phy-qcom-ufs-qmp-20nm.c | 29 +++-
drivers/phy/qualcomm/phy-qcom-ufs.c | 42 ++----
drivers/phy/renesas/phy-rcar-gen3-usb2.c | 70 ++++++----
drivers/phy/rockchip/phy-rockchip-typec.c | 217 +++++++++++++++++++++++------
drivers/phy/ti/phy-ti-pipe3.c | 101 +++++++++++++-
drivers/scsi/ufs/ufs-qcom.c | 39 +++---
drivers/soc/bcm/brcmstb/common.c | 12 ++
include/dt-bindings/phy/phy.h | 1 +
include/linux/phy/phy-qcom-ufs.h | 3 -
include/linux/phy/phy.h | 14 +-
include/linux/soc/brcmstb/brcmstb.h | 17 +++
29 files changed, 2205 insertions(+), 132 deletions(-)
create mode 100644 Documentation/devicetree/bindings/phy/brcm,brcmstb-usb-phy.txt
create mode 100644 drivers/phy/broadcom/phy-brcm-usb-init.c
create mode 100644 drivers/phy/broadcom/phy-brcm-usb-init.h