Skip to content

Add power management support for mxs phy

Peter Chen linux-arm-kernel linux-devicetree 19 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v12 Latest15 patches 0 repliesNew
  2. v11 posting 2/20 of 15 patches 0 repliesSuperseded
  3. v11 posting 1/215 patches 0 repliesSuperseded
Earlier versions · 16
VersionPostedPatchesRepliesStatus
v1015 patches0 repliesSuperseded
v9 posting 2/20 of 12 patches0 repliesSuperseded
v9 posting 1/212 patches0 repliesSuperseded
v812 patches0 repliesSuperseded
v714 patches0 repliesSuperseded
v615 patches0 repliesSuperseded
v515 patches0 repliesSuperseded
v3 posting 3/30 of 10 patches0 repliesSuperseded
v417 patches0 repliesSuperseded
v3 posting 2/310 patches0 repliesSuperseded
v3 posting 1/311 patches0 repliesSuperseded
v2 posting 4/40 of 14 patches0 repliesSuperseded
v2 posting 3/40 of 14 patches0 repliesSuperseded
v2 posting 2/410 patches0 repliesSuperseded
v2 posting 1/414 patches0 repliesSuperseded
v111 patches0 repliesSuperseded

Changes in v12 from the cover letter

- typo at 9/15, %s/waken/woken

Patches in v12 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15usb: doc: phy-mxs: Add more compatible stringsDocumentation/devicetree/bindings/usb/mxs-phy.txt+5 -10 replies
2/15usb: phy-mxs: Add platform judgement codedrivers/usb/phy/phy-mxs-usb.c+49 -90 replies
3/15usb: phy-mxs: Add auto clock and power settingdrivers/usb/phy/phy-mxs-usb.c+17 -30 replies
4/15usb: doc: phy-mxs: update binding for adding anatop phandleDocumentation/devicetree/bindings/usb/mxs-phy.txt+2 -00 replies
5/15usb: phy-mxs: Add anatop regmapdrivers/usb/phy/phy-mxs-usb.c+15 -00 replies
6/15usb: phy-mxs: change description of usb device speeddrivers/usb/phy/phy-mxs-usb.c+4 -40 replies
7/15usb: phy-mxs: Enable IC fixes for related SoCsdrivers/usb/phy/phy-mxs-usb.c+21 -20 replies
8/15usb: phy-mxs: add controller iddrivers/usb/phy/phy-mxs-usb.c+6 -00 replies
9/15usb: phy: Add set_wakeup APIinclude/linux/usb/phy.h+16 -00 replies
10/15usb: phy-mxs: Add implementation of set_wakeupdrivers/usb/phy/phy-mxs-usb.c+116 -00 replies
11/15usb: phy-mxs: Add system suspend/resume APIdrivers/usb/phy/phy-mxs-usb.c+61 -00 replies
12/15usb: phy-mxs: Add sync time after controller clear phcddrivers/usb/phy/phy-mxs-usb.c+11 -00 replies
13/15ARM: dts: mxs: add mxs phy controller idarch/arm/boot/dts/imx23.dtsi arch/arm/boot/dts/imx28.dtsi+3 -00 replies
14/15ARM: dts: imx6: add anatop phandle for usbphyarch/arm/boot/dts/imx6qdl.dtsi arch/arm/boot/dts/imx6sl.dtsi+4 -00 replies
15/15ARM: dts: imx6: add mxs phy controller idarch/arm/boot/dts/imx6qdl.dtsi arch/arm/boot/dts/imx6sl.dtsi+4 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v12 yet.

Read the v12 thread

Cover letter [PATCH v12 00/15] Add power management support for mxs phy

The serial adds power management support for MXS PHY, it includes:

- Add one PHY API .set_wakeup, and related API implementation at mxs phy driver
- misc changes and bug fixes for mxs phy to support low power mode and wakeup.

It is based on the lastest Greg's 3.14-rc3.

Changes for v12:
- typo at 9/15, %s/waken/woken

Changes for v11:
- Change the descrition of adding compatible string, and add mention that "fsl,imx23-usbphy" is still a fallback for other strings. [1/15]

Changes for v10:
- Nothing related with function change.
- It adds dt maintainers to To list, and cc devicetree at vger.kernel.org, wait dt-maintainer's ack for 1/15, 4/15.
- Add last three dts patches for reference which have already at Shawn's tree.

Changes for v9:
- Fix the build warning if CONFIG_SUSPEND is not set

Changes for v8:
- Shawn has already applied two dts patches, so delete them at
v8 version, http://marc.info/?l=linux-arm-kernel&m=138785188404939&w=2
- Using of_get_property to avoid imx6 fail at probe when using old DTB [5/12]
- Do not consider failure if alias id is not existed, it can avoid fail at probe when using old DTB [8/12]
- We don't need more changes for [8/12] change due to we use "mxs_phy->port_id ==" as condition

Changes for v7:
- Fixed indentation problem at binding doc [1/14]
- s/ganranteed/guaranteed, and add explanation for "auto setting" [3/14]
- add static before SIMPLE_DEV_PM_OPS [13/14]
- add one patch to change usb device description [7/14]
- Delete the .nofity_suspend and .notify_resume due to Felipe does not agree to add them as PHY API, will use other ways to implement them in future.

Changes for v6:
- Add description for IC bug fixes logic. [9/15]
- Move is_imx6q_phy and is_imx6sl_phy from [9/15] to [14/15]
- %s/mxs_phy_clock_switch/mxs_phy_clock_switch_delay to reflect the function meaning more precise [15/15]

Changes for v5:
Add Marc and Michael Grzeschik's commnets
- typo error at [2/15]
- sqhash patches which introducing mxs_phy_disconnect_line and fixed but at this function. [13/15]
- Introducing flag MXS_PHY_NEED_IP_FIX who stands for the SoCs who have IC fixes. [2/15, 8/15]
- Delete one patch for low speed connection problem at every rare situations due to the root cause has still not found.

Peter Chen (15):
usb: doc: phy-mxs: Add more compatible strings
usb: phy-mxs: Add platform judgement code
usb: phy-mxs: Add auto clock and power setting
usb: doc: phy-mxs: update binding for adding anatop phandle
usb: phy-mxs: Add anatop regmap
usb: phy-mxs: change description of usb device speed
usb: phy-mxs: Enable IC fixes for related SoCs
usb: phy-mxs: add controller id
usb: phy: Add set_wakeup API
usb: phy-mxs: Add implementation of set_wakeup
usb: phy-mxs: Add system suspend/resume API
usb: phy-mxs: Add sync time after controller clear phcd
ARM: dts: mxs: add mxs phy controller id
ARM: dts: imx6: add anatop phandle for usbphy
ARM: dts: imx6: add mxs phy controller id

 Documentation/devicetree/bindings/usb/mxs-phy.txt |    8 +-
 arch/arm/boot/dts/imx23.dtsi                      |    1 +
 arch/arm/boot/dts/imx28.dtsi                      |    2 +
 arch/arm/boot/dts/imx6qdl.dtsi                    |    4 +
 arch/arm/boot/dts/imx6sl.dtsi                     |    4 +
 drivers/usb/phy/phy-mxs-usb.c                     |  310 ++++++++++++++++++++-
 include/linux/usb/phy.h                           |   16 +
 7 files changed, 330 insertions(+), 15 deletions(-)
Signature · 1 line
1.7.8