phy: use syscon framework APIs to set ctrl mod reg
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest9 patches 1 replyIn review
- v39 patches 12 repliesSuperseded
- v29 patches 0 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 7 patches | 12 replies | Superseded |
Changes in v4 from the cover letter
*) Added description of why syscon is better in cover letter *) refactored some driver code so that it's easy to remove obsolete
code when phy-omap-control driver is removed.
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | phy: ti-pipe3: introduce local struct device* in probedrivers/ | +27 | 0 replies | |
| 2/9 | phy: ti-pipe3: move clk initialization to a separate functiondrivers/ | +72 | 0 replies | |
| 3/9 | phy: ti-pipe3: move sysctrl initialization to a separate functiondrivers/ | +45 | 0 replies | |
| 4/9 | phy: ti-pipe3: move mem resource initialization to a separate functiondrivers/ | +33 | 0 replies | |
| 5/9 | phy: ti-pipe3: use ti_pipe3_power_off to power off the PHY during probedrivers/ | +3 | 0 replies | |
| 6/9 | phy: ti-pipe3: use *syscon* framework API to power on/off the PHYDocumentation/ drivers/ | +81 | 0 replies | |
| 7/9 | phy: ti-pipe3: use *syscon* framework API to set PCS value of the PHYDocumentation/ drivers/ | +34 | 0 replies | |
| 8/9 | phy: omap-usb2: use omap_usb_power_off to power off the PHY during probedrivers/ | +1 | 0 replies | |
| 9/9 | phy: omap-usb2: use *syscon* framework API to power on/off the PHYDocumentation/ drivers/ include/ | +105 | 1 reply |
Reviews trailers per patch
5 of 9 patches have a Reviewed-by or Acked-by.
| Patch | Roger Quadros | Rob Herring |
|---|---|---|
| 1/9 | ||
| 2/9 | ||
| 3/9 | ||
| 4/9 | ||
| 5/9 | A-b | |
| 6/9 | A-b | |
| 7/9 | A-b | A-b |
| 8/9 | A-b | |
| 9/9 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 0/9] phy: use syscon framework APIs to set ctrl mod reg
phy-omap-control driver was added when there was no proper infrastructure for doing control module initializations. The phy-omap-control driver is not an 'actual' PHY driver and it was just a hack to do PHY related control module initializations. phy-omap-control is also getting unmanageable with the number of platforms each having number of modules (like USB, SATA, PCIe), using the same driver for control module initializations.
Now with SYSCON framework being added to the kernel, phy-omap-control shouldn't be needed and it also provides a uniform API across all the modules to program the control module.
This series is basically to deprecate using phy-omap-control and use syscon APIs to program the control module registers.
Changes from v3:
*) Added description of why syscon is better in cover letter *) refactored some driver code so that it's easy to remove obsolete
code when phy-omap-control driver is removed.
Changes from v2:
No changes.
Changes from v1:
*) cleanup ti_pipe3_probe in multiple steps
*) other minor cleanups
Changes from [1] in PHY patches include
*) cleanup ti_pipe3_probe
*) have mask, power_on and power_off values in usb_phy_data for
omap-usb2 phy
The patches have been pushed to
git://git.ti.com/linux-phy/linux-phy.git syscon_v4
[1] -> https://lkml.org/lkml/2015/6/23/189
All the testing was done both before applying the dt patches and after applying the dt patches.
Kishon Vijay Abraham I (9):
phy: ti-pipe3: introduce local struct device* in probe
phy: ti-pipe3: move clk initialization to a separate function
phy: ti-pipe3: move sysctrl initialization to a separate function
phy: ti-pipe3: move mem resource initialization to a separate
function
phy: ti-pipe3: use ti_pipe3_power_off to power off the PHY during
probe
phy: ti-pipe3: use *syscon* framework API to power on/off the PHY
phy: ti-pipe3: use *syscon* framework API 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: use *syscon* framework API to power on/off the PHY
Documentation/devicetree/bindings/phy/ti-phy.txt | 20 +- drivers/phy/phy-omap-usb2.c | 94 +++++-- drivers/phy/phy-ti-pipe3.c | 302 ++++++++++++++++------ include/linux/phy/omap_usb.h | 23 ++ 4 files changed, 333 insertions(+), 106 deletions(-)
Signature · 6 lines
1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html