net: ethernet: ti: cpts: update and fixes
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest13 patches 2 repliesIn review
- v413 patches 5 repliesSuperseded
- v313 patches 2 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 13 patches | 16 replies | Superseded | |
| v1 | 9 patches | 27 replies | Superseded |
Changes in v5 from the cover letter
- fixed copy paste error in cpts_release
- reworked cc.mult/shift and cc_mult initialization
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | net: ethernet: ti: cpts: switch to readl/writel_relaxed()drivers/ | +2 | 0 replies | |
| 2/13 | net: ethernet: ti: allow cpts to be built separatelydrivers/ drivers/ drivers/ +2 more | +42 | 0 replies | |
| 3/13 | net: ethernet: ti: cpsw: minimize direct access to struct cptsdrivers/ drivers/ | +54 | 0 replies | |
| 4/13 | net: ethernet: ti: cpts: fix unbalanced clk api usage in cpts_register/unregisterdrivers/ | +8 | 0 replies | |
| 5/13 | net: ethernet: ti: cpts: fix registration orderdrivers/ | +14 | 0 replies | |
| 6/13 | net: ethernet: ti: cpts: disable cpts when unregistereddrivers/ | +4 | 0 replies | |
| 7/13 | net: ethernet: ti: cpts: clean up event list if event pool is emptydrivers/ | +24 | 0 replies | |
| 8/13 | net: ethernet: ti: cpts: drop excessive writes to CTRL and INT_EN regsdrivers/ | +0 | 0 replies | |
| 9/13 | net: ethernet: ti: cpts: rework initialization/deinitializationdrivers/ drivers/ drivers/ | +92 | 0 replies | |
| 10/13 | net: ethernet: ti: cpts: move dt props parsing to cpts driverdrivers/ drivers/ drivers/ +1 more | +34 | 0 replies | |
| 11/13 | clocksource: export the clocks_calc_mult_shift to use by timestamp codekernel/ | +1 | 0 replies | |
| 12/13 | net: ethernet: ti: cpts: calc mult and shift from refclk freqDocumentation/ drivers/ | +48 | 0 replies | |
| 13/13 | net: ethernet: ti: cpts: fix overflow check perioddrivers/ drivers/ | +8 | 0 replies |
Reviews trailers per patch
7 of 13 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Richard Cochran | Thomas Gleixner |
|---|---|---|
| Series | A-b | |
| 1/13 | A-b | |
| 2/13 | ||
| 3/13 | ||
| 4/13 | A-b | |
| 5/13 | A-b | |
| 6/13 | A-b | |
| 7/13 | ||
| 8/13 | A-b | |
| 9/13 | ||
| 10/13 | ||
| 11/13 | A-b | |
| 12/13 | ||
| 13/13 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v5 00/13] net: ethernet: ti: cpts: update and fixes
It is preparation series intended to clean up and optimize TI CPTS driver to facilitate further integration with other TI's SoCs like Keystone 2.
Changes in v5:
- fixed copy paste error in cpts_release
- reworked cc.mult/shift and cc_mult initialization
Changes in v4:
- fixed build error in patch
"net: ethernet: ti: cpts: clean up event list if event pool is empty"
- rebased on top of net-next
Changes in v3:
- patches reordered: fixes and small updates moved first
- added comments in code about cpts->cc_mult
- conversation range (maxsec) limited to 10sec
Changes in v2:
- patch "net: ethernet: ti: cpts: rework initialization/deinitialization" was split on 4 patches
- applied comments from Richard Cochran
- dropped patch
"net: ethernet: ti: cpts: add return value to tx and rx timestamp funcitons"
- new patches added:
"net: ethernet: ti: cpts: drop excessive writes to CTRL and INT_EN regs" and "clocksource: export the clocks_calc_mult_shift to use by timestamp code"
Links on prev versions:
v4: https://lkml.org/lkml/2016/12/6/496
v3: https://www.spinics.net/lists/devicetree/msg153474.html
v2: http://www.mail-archive.com/[email protected]/msg1282034.html
v1: http://www.spinics.net/lists/linux-omap/msg131925.html
Grygorii Strashko (11):
net: ethernet: ti: cpts: switch to readl/writel_relaxed()
net: ethernet: ti: allow cpts to be built separately
net: ethernet: ti: cpsw: minimize direct access to struct cpts
net: ethernet: ti: cpts: fix unbalanced clk api usage in cpts_register/unregister
net: ethernet: ti: cpts: fix registration order
net: ethernet: ti: cpts: disable cpts when unregistered
net: ethernet: ti: cpts: drop excessive writes to CTRL and INT_EN regs
net: ethernet: ti: cpts: rework initialization/deinitialization
net: ethernet: ti: cpts: move dt props parsing to cpts driver
net: ethernet: ti: cpts: calc mult and shift from refclk freq
net: ethernet: ti: cpts: fix overflow check period
Murali Karicheri (1):
clocksource: export the clocks_calc_mult_shift to use by timestamp code
WingMan Kwok (1):
net: ethernet: ti: cpts: clean up event list if event pool is empty
Documentation/devicetree/bindings/net/cpsw.txt | 8 +- drivers/net/ethernet/ti/Kconfig | 2 +- drivers/net/ethernet/ti/Makefile | 3 +- drivers/net/ethernet/ti/cpsw.c | 84 ++++----- drivers/net/ethernet/ti/cpsw.h | 2 - drivers/net/ethernet/ti/cpts.c | 233 ++++++++++++++++++------- drivers/net/ethernet/ti/cpts.h | 80 ++++++++- kernel/time/clocksource.c | 1 + 8 files changed, 297 insertions(+), 116 deletions(-)
Signature · 1 line
2.10.1