Skip to content

Deprecate phy-omap-control and use SYSCON

Kishon Vijay Abraham I linux-arm-kernel linux-devicetree linux-omap lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest17 patches 32 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/17phy: ti-pipe3: use ti_pipe3_power_off to power off the PHY during probedrivers/phy/phy-ti-pipe3.c+2 -21 reply
2/17phy: ti-pipe3: use *syscon* framework to power on/off the PHYDocumentation/devicetree/bindings/phy/ti-phy.txt drivers/phy/phy-ti-pipe3.c+86 -152 replies
3/17phy: ti-pipe3: use *syscon* framework to set PCS value of the PHYDocumentation/devicetree/bindings/phy/ti-phy.txt drivers/phy/phy-ti-pipe3.c+33 -13 replies
4/17phy: omap-usb2: use omap_usb_power_off to power off the PHY during probedrivers/phy/phy-omap-usb2.c+1 -11 reply
5/17phy: omap-usb2: Add a new compatible string for USB2 PHY2Documentation/devicetree/bindings/phy/ti-phy.txt drivers/phy/phy-omap-usb2.c+11 -02 replies
6/17phy: omap-usb2: use *syscon* framework to power on/off the PHYDocumentation/devicetree/bindings/phy/ti-phy.txt drivers/phy/phy-omap-usb2.c include/linux/phy/omap_usb.h+107 -182 replies
7/17usb: musb: omap2430: use *syscon* framework to write to mailbox registerDocumentation/devicetree/bindings/usb/omap-usb.txt drivers/usb/musb/omap2430.c+102 -234 replies
8/17ARM: dts: dra7: Add dt node for the sycon pciearch/arm/boot/dts/dra7.dtsi+5 -07 replies
9/17ARM: dts: dra7: Use "syscon-phy-power" instead of "ctrl-module" in SATA PHY nodearch/arm/boot/dts/dra7.dtsi+1 -93 replies
10/17ARM: dts: dra7: Use "syscon-phy-power" and "syscon-pcs" in PCIe PHY nodearch/arm/boot/dts/dra7.dtsi+7 -210 replies
11/17ARM: dts: dra7: Use "ti,dra7x-usb2-phy2" compatible string for USB2 PHY2arch/arm/boot/dts/dra7.dtsi+1 -13 replies
12/17ARM: dts: dra7: Use "syscon-phy-power" instead of "ctrl-module" in USB PHY nodearch/arm/boot/dts/dra7.dtsi+3 -210 replies
13/17ARM: dts: am4372: Use "syscon-phy-power" instead of "ctrl-module" in USB PHY nodearch/arm/boot/dts/am4372.dtsi+2 -140 replies
14/17ARM: dts: OMAP5: Use "syscon-phy-power" instead of "ctrl-module" in USB PHY nodearch/arm/boot/dts/omap5.dtsi+2 -140 replies
15/17ARM: dts: OMAP5: Use "syscon-phy-power" instead of "ctrl-module" in SATA PHY nodearch/arm/boot/dts/omap5.dtsi+1 -90 replies
16/17ARM: dts: omap4: Use "syscon-phy-power" instead of "ctrl-module" in USB PHY nodearch/arm/boot/dts/omap4.dtsi+1 -70 replies
17/17ARM: dts: omap4: Use "syscon-otghs" instead of "ctrl-module" in USB nodearch/arm/boot/dts/omap4.dtsi+1 -74 replies

Reviews trailers per patch

4 of 17 patches have a Reviewed-by or Acked-by.

PatchRoger Quadros
1/17A-b
2/17
3/17A-b
4/17A-b
5/17
6/17
7/17
8/17
9/17A-b
10/17
11/17
12/17
13/17
14/17
15/17
16/17
17/17

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/17] Deprecate phy-omap-control and use SYSCON

phy-omap-control driver was added when there was no proper infrastructure for doing control module initializations. Now with SYSCON framework being added to the kernel, phy-omap-control shouldn't be needed.

This series is about adapting phy-omap-usb2, phy-ti-pipe3 and omap2430 to use SYSCON framework instead of phy-omap-control. However we can't remove the phy-omap-control driver altogether since that will break older dtbs.

Performed USB enumeration testing in DRA72-EVM, AM43XX-EVM, OMAP5-uEVM and OMAP4 PANDA.

Performed SATA enumeration testing in DRA72-EVM and OMAP5-uEVM

Performed PCIe enumeration testing in DRA72-EVM.

This patch series is developed on top of Linux 4.1-rc8 +
http://lkml.iu.edu/hypermail/linux/kernel/1505.1/03099.html

Kishon Vijay Abraham I (17):
phy: ti-pipe3: use ti_pipe3_power_off to power off the PHY during
probe
phy: ti-pipe3: use *syscon* framework to power on/off the PHY
phy: ti-pipe3: use *syscon* framework to set PCS value of the PHY
phy: omap-usb2: use omap_usb_power_off to power off the PHY during
probe
phy: omap-usb2: Add a new compatible string for USB2 PHY2
phy: omap-usb2: use *syscon* framework to power on/off the PHY
usb: musb: omap2430: use *syscon* framework to write to mailbox
register
ARM: dts: dra7: Add dt node for the sycon pcie
ARM: dts: dra7: Use "syscon-phy-power" instead of "ctrl-module" in
SATA PHY node
ARM: dts: dra7: Use "syscon-phy-power" and "syscon-pcs" in PCIe PHY
node
ARM: dts: dra7: Use "ti,dra7x-usb2-phy2" compatible string for USB2
PHY2
ARM: dts: dra7: Use "syscon-phy-power" instead of "ctrl-module" in
USB PHY node
ARM: dts: am4372: Use "syscon-phy-power" instead of "ctrl-module" in
USB PHY node
ARM: dts: OMAP5: Use "syscon-phy-power" instead of "ctrl-module" in
USB PHY node
ARM: dts: OMAP5: Use "syscon-phy-power" instead of "ctrl-module" in
SATA PHY node
ARM: dts: omap4: Use "syscon-phy-power" instead of "ctrl-module" in
USB PHY node
ARM: dts: omap4: Use "syscon-otghs" instead of "ctrl-module" in USB
node

 Documentation/devicetree/bindings/phy/ti-phy.txt   |   20 +++-
 Documentation/devicetree/bindings/usb/omap-usb.txt |    7 +-
 arch/arm/boot/dts/am4372.dtsi                      |   16 +--
 arch/arm/boot/dts/dra7.dtsi                        |   69 +++--------
 arch/arm/boot/dts/omap4.dtsi                       |   16 +--
 arch/arm/boot/dts/omap5.dtsi                       |   26 +---
 drivers/phy/phy-omap-usb2.c                        |  112 +++++++++++++++---
 drivers/phy/phy-ti-pipe3.c                         |  125 +++++++++++++++++---
 drivers/usb/musb/omap2430.c                        |  118 ++++++++++++++----
 include/linux/phy/omap_usb.h                       |   18 +++
 10 files changed, 365 insertions(+), 162 deletions(-)
Signature · 1 line
1.7.9.5