[GIT PULL] PHY: for 4.21

Kishon Vijay Abraham I
2018-12-12T05:08:52Z

Hi Greg,

Please find the pull request for 4.21 merge window below.

The major changes are, the set_mode ops now takes 2 arguments (mode and
submode) instead of just 'mode'. The value in 'submode' will be specific to
'mode'. The other major change is PHY framework now gets 2 new APIs
phy_configure() and phy_validate(). This will help MIPI D-PHYs and its
consumers to use PHY framework. The MIPI PHY drivers and the GPU driver
changes will be merged later.

Apart from these, there are a couple of new PHY drivers: a freescale
USB PHY driver and a TI Ethernet PHY driver. Please see the tag message
for the list of changes.

Let me know If I have to make any changes.

Thanks
Kishon

The following changes since commit c88520db18ba0b9a41326c3b8680e7c09eb4c381:

phy: qcom-qusb2: Fix HSTX_TRIM tuning with fused value for SDM845 (2018-11-21 13:13:58 +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.21_v1

for you to fetch changes up to 2e38c2e7026a9846b5bdadf0bf82808ec2c2f446:

phy: qcom-qmp: Expose provided clocks to DT (2018-12-12 10:02:12 +0530)

----------------------------------------------------------------
phy: for 4.21

*) Change phy set_mode ops to take both mode and setmode as arguments
*) Add phy_configure() and phy_validate() API's mostly used for MIPI D-PHY
*) Add helpers to get default values of parameters define in MIPI D-PHY spec
*) Add driver for TI's CPSW Port PHY Interface Mode selection
*) Add driver for Cadence Sierra PHY used with USB and PCIe
*) Add driver for Freescale i.MX8MQ USB3 PHY
*) Fixes QMP PHY bindings to allow the clocks provided by the PHY to be
pointed at in device tree
*) Fix for using fully specified regions (in device tree) for configuring
the second lane in dual lane PHYs in QMP PHY
*) Add support for Allwinner H6 USB2 PHY in phy-sun4i-usb driver
*) Update phy-rcar-gen3-usb driver to follow the hardware manual
*) Add support for fine grained power management in mapphone-mdm6600 driver

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

----------------------------------------------------------------
Alan Douglas (2):
dt-bindings: phy: Document cadence Sierra PHY bindings
phy: cadence: Add driver for Sierra PHY

Evan Green (4):
dt-bindings: phy-qcom-qmp: Fix register underspecification
phy: qcom-qmp: Utilize fully-specified DT registers
dt-bindings: phy-qcom-qmp: Move #clock-cells to child
phy: qcom-qmp: Expose provided clocks to DT

Grygorii Strashko (9):
phy: core: rework phy_set_mode to accept phy mode and submode
phy: core: add PHY_MODE_ETHERNET
phy: ocelot-serdes: convert to use eth phy mode and submode
phy: mvebu-cp110-comphy: convert to use eth phy mode and submode
phy: core: clean up unused ethernet specific phy modes
dt-bindings: phy: add cpsw port interface mode selection phy bindings
phy: ti: introduce phy-gmii-sel driver
dt-bindings: net: ti: cpsw: switch to use phy-gmii-sel phy
net: ethernet: ti: cpsw: add support for port interface mode selection phy

Icenowy Zheng (3):
dt-bindings: phy: add binding for Allwinner H6 USB2 PHY
phy: sun4i-usb: add support for missing USB PHY index
phy: sun4i-usb: add support for H6 USB2 PHY

Li Jun (1):
phy: add driver for Freescale i.MX8MQ USB3 PHY

Lucas Stach (1):
dt-bindings: phy: add binding for Freescale i.MX8MQ USB3 PHY

Maxime Ripard (4):
phy: Add MIPI D-PHY mode
phy: Add configuration interface
phy: Add MIPI D-PHY configuration options
phy: dphy: Add configuration helpers

Miquel Raynal (1):
phy: mvebu-cp110-comphy: fix spelling in structure name

Rob Herring (2):
MAINTAINERS: Add Kishon as maintainer of PHY bindings
phy: Use of_node_name_eq for node name comparisons

Tony Lindgren (1):
phy: mapphone-mdm6600: Improve phy related runtime PM calls

Yoshihiro Shimoda (1):
phy: renesas: rcar-gen3-usb2: follow the hardware manual procedure

kbuild test robot (1):
phy: ti: fix semicolon.cocci warnings

Documentation/devicetree/bindings/net/cpsw.txt | 8 ++-
Documentation/devicetree/bindings/phy/fsl,imx8mq-usb-phy.txt | 17 ++++++
Documentation/devicetree/bindings/phy/phy-cadence-sierra.txt | 67 +++++++++++++++++++++++
Documentation/devicetree/bindings/phy/qcom-qmp-phy.txt | 77 ++++++++++++++++++++++-----
Documentation/devicetree/bindings/phy/sun4i-usb-phy.txt | 8 +--
Documentation/devicetree/bindings/phy/ti-phy-gmii-sel.txt | 68 ++++++++++++++++++++++++
MAINTAINERS | 1 +
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 19 +------
drivers/net/ethernet/mscc/ocelot.c | 9 +---
drivers/net/ethernet/ti/cpsw.c | 19 ++++++-
drivers/phy/Kconfig | 9 ++++
drivers/phy/Makefile | 2 +
drivers/phy/allwinner/phy-sun4i-usb.c | 29 ++++++++--
drivers/phy/amlogic/phy-meson-gxl-usb2.c | 5 +-
drivers/phy/amlogic/phy-meson-gxl-usb3.c | 5 +-
drivers/phy/cadence/Kconfig | 9 +++-
drivers/phy/cadence/Makefile | 1 +
drivers/phy/cadence/phy-cadence-sierra.c | 395 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
drivers/phy/freescale/Kconfig | 5 ++
drivers/phy/freescale/Makefile | 1 +
drivers/phy/freescale/phy-fsl-imx8mq-usb.c | 127 ++++++++++++++++++++++++++++++++++++++++++++
drivers/phy/marvell/phy-mvebu-cp110-comphy.c | 97 ++++++++++++++++++---------------
drivers/phy/mediatek/phy-mtk-tphy.c | 2 +-
drivers/phy/mediatek/phy-mtk-xsphy.c | 2 +-
drivers/phy/motorola/phy-mapphone-mdm6600.c | 71 ++++++++++++++++++-------
drivers/phy/mscc/phy-ocelot-serdes.c | 24 ++++++---
drivers/phy/phy-core-mipi-dphy.c | 166 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
drivers/phy/phy-core.c | 70 ++++++++++++++++++++++--
drivers/phy/qualcomm/phy-qcom-qmp.c | 77 +++++++++++++++++++++------
drivers/phy/qualcomm/phy-qcom-qusb2.c | 3 +-
drivers/phy/qualcomm/phy-qcom-ufs-qmp-14nm.c | 3 +-
drivers/phy/qualcomm/phy-qcom-ufs-qmp-20nm.c | 3 +-
drivers/phy/qualcomm/phy-qcom-usb-hs.c | 3 +-
drivers/phy/renesas/phy-rcar-gen3-usb2.c | 17 +++---
drivers/phy/rockchip/phy-rockchip-inno-usb2.c | 6 +--
drivers/phy/rockchip/phy-rockchip-typec.c | 4 +-
drivers/phy/ti/Kconfig | 10 ++++
drivers/phy/ti/Makefile | 1 +
drivers/phy/ti/phy-da8xx-usb.c | 3 +-
drivers/phy/ti/phy-gmii-sel.c | 349 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
drivers/phy/ti/phy-tusb1210.c | 2 +-
include/linux/phy/phy-mipi-dphy.h | 285 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
include/linux/phy/phy.h | 83 ++++++++++++++++++++++++++---
43 files changed, 2000 insertions(+), 162 deletions(-)
create mode 100644 Documentation/devicetree/bindings/phy/fsl,imx8mq-usb-phy.txt
create mode 100644 Documentation/devicetree/bindings/phy/phy-cadence-sierra.txt
create mode 100644 Documentation/devicetree/bindings/phy/ti-phy-gmii-sel.txt
create mode 100644 drivers/phy/cadence/phy-cadence-sierra.c
create mode 100644 drivers/phy/freescale/Kconfig
create mode 100644 drivers/phy/freescale/Makefile
create mode 100644 drivers/phy/freescale/phy-fsl-imx8mq-usb.c
create mode 100644 drivers/phy/phy-core-mipi-dphy.c
create mode 100644 drivers/phy/ti/phy-gmii-sel.c
create mode 100644 include/linux/phy/phy-mipi-dphy.h
--
2.17.1