Skip to content

Improve CLKSRC_OF matching

Rob Herring linux-arm-kernel linux-tegra lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4clocksource: pass DT node pointer to init functionsdrivers/clocksource/clksrc-of.c+2 -26 replies
2/4clocksource: bcm2835: use the device_node pointer passed to initdrivers/clocksource/bcm2835_timer.c+1 -111 reply
3/4clocksource: vt8500: use the device_node pointer passed to initdrivers/clocksource/vt8500_timer.c+1 -130 replies
4/4clocksource: tegra20: use the device_node pointer passed to initdrivers/clocksource/tegra20_timer.c+27 -432 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchStephen WarrenArnd BergmannTony PriskMichal Simek
SeriesA-b A-b
1/4T-b
2/4T-b
3/4
4/4R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [PATCH 0/4] Improve CLKSRC_OF matching

From: Rob Herring <[email protected]>

In the recently added support for OF based clocksource init, a device node will be matched twice. We can fix this by passing the device node to the init functions and removing the match functions within the init functions.

This is based on arm-soc for-next branch and commit "of: fix incorrect return value of of_find_matching_node_and_match()" in my DT for-next branch.

Rob

Rob Herring (4):
clocksource: pass DT node pointer to init functions
clocksource: bcm2835: use the device_node pointer passed to init
clocksource: vt8500: use the device_node pointer passed to init
clocksource: tegra20: use the device_node pointer passed to init

 drivers/clocksource/bcm2835_timer.c |   12 +-----
 drivers/clocksource/clksrc-of.c     |    4 +-
 drivers/clocksource/tegra20_timer.c |   70 ++++++++++++++---------------------
 drivers/clocksource/vt8500_timer.c  |   14 +------
 4 files changed, 31 insertions(+), 69 deletions(-)
Signature · 1 line
1.7.10.4