Skip to content

ti-sysc changes to probe devices with dts data only

Tony Lindgren 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 Latest14 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14bus: ti-sysc: Fix sysc_unprepare() when no clocks have been allocateddrivers/bus/ti-sysc.c+3 -00 replies
2/14bus: ti-sysc: Handle missed no-idle property in addition to no-idle-on-initDocumentation/devicetree/bindings/bus/ti-sysc.txt arch/arm/mach-omap2/omap_hwmod.c drivers/bus/ti-sysc.c +1 more+11 -31 reply
3/14bus: ti-sysc: Make functions staticdrivers/bus/ti-sysc.c+2 -20 replies
4/14bus: ti-sysc: Move legacy platform data idling into separate functionsdrivers/bus/ti-sysc.c+50 -280 replies
5/14bus: ti-sysc: Add separate functions for handling clocksdrivers/bus/ti-sysc.c+123 -181 reply
6/14bus: ti-sysc: Enable all clocks directly during init to read revisiondrivers/bus/ti-sysc.c+28 -220 replies
7/14bus: ti-sysc: Allocate mdata as needed and do platform data based init laterdrivers/bus/ti-sysc.c+39 -150 replies
8/14bus: ti-sysc: Manage clocks for the interconnect target module in all casesdrivers/bus/ti-sysc.c+11 -130 replies
9/14bus: ti-sysc: Move rstctrl reset to happen laterdrivers/bus/ti-sysc.c+37 -245 replies
10/14bus: ti-sysc: Add support for early quirks based on register addressdrivers/bus/ti-sysc.c+42 -40 replies
11/14bus: ti-sysc: Add quirk handling for external optional functional clockdrivers/bus/ti-sysc.c include/linux/platform_data/ti-sysc.h+90 -11 reply
12/14bus: ti-sysc: Pass clockactivity quirk to platform functionsarch/arm/mach-omap2/omap_hwmod.c+2 -00 replies
13/14bus: ti-sysc: Handle swsup idle mode quirksarch/arm/mach-omap2/omap_hwmod.c drivers/bus/ti-sysc.c include/linux/platform_data/ti-sysc.h+12 -30 replies
14/14bus: ti-sysc: Detect DMIC for debuggingdrivers/bus/ti-sysc.c+1 -00 replies

Reviews trailers per patch

1 of 14 patches has a Reviewed-by or Acked-by.

PatchRob Herring
1/14
2/14R-b
3/14
4/14
5/14
6/14
7/14
8/14
9/14
10/14
11/14
12/14
13/14
14/14

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/14] ti-sysc changes to probe devices with dts data only

Hi all,

Here are some ti-sysc interconnect target module changes that allow dropping legacy platform data for many devices in favor of devicetree provided data.

This series depends on patch series "[PATCH 0/7] omap changes to allocate struct omap_hwmod dynamically".

I'll be posting patches separately to drop platform data. Meanwhile, the easiest way to test this series is to just temporarily comment out selected platform data entries one driver at a time. This can be done in the SoC specific struct omap_hwmod_ocp_if array at the end of the arch/arm/mach-omap2/omap_hwmod_*_data.c files.

Note that we are not yet handling all the quirks yet listed in arch/arm/mach-omap2/omap_hwmod.h in "omap_hwmod.flags definitions". We currently do not yet handle quirks for devices with:

HWMOD_NO_OCP_AUTOIDLE
HWMOD_NO_IDLEST
HWMOD_BLOCK_WFI
HWMOD_FORCE_MSTANDBY
HWMOD_RECONFIG_IO_CHAIN
HWMOD_CLKDM_NOAUTO

I'll be posting patches for these later on as needed.

Regards,

Tony

Tony Lindgren (14):
bus: ti-sysc: Fix sysc_unprepare() when no clocks have been allocated
bus: ti-sysc: Handle missed no-idle property in addition to
no-idle-on-init
bus: ti-sysc: Make functions static
bus: ti-sysc: Move legacy platform data idling into separate functions
bus: ti-sysc: Add separate functions for handling clocks
bus: ti-sysc: Enable all clocks directly during init to read revision
bus: ti-sysc: Allocate mdata as needed and do platform data based init
later
bus: ti-sysc: Manage clocks for the interconnect target module in all
cases
bus: ti-sysc: Move rstctrl reset to happen later
bus: ti-sysc: Add support for early quirks based on register address
bus: ti-sysc: Add quirk handling for external optional functional
clock
bus: ti-sysc: Pass clockactivity quirk to platform functions
bus: ti-sysc: Handle swsup idle mode quirks
bus: ti-sysc: Detect DMIC for debugging

 .../devicetree/bindings/bus/ti-sysc.txt       |   2 +
 arch/arm/mach-omap2/omap_hwmod.c              |  10 +
 drivers/bus/ti-sysc.c                         | 537 ++++++++++++++----
 include/linux/platform_data/ti-sysc.h         |   9 +-
 4 files changed, 438 insertions(+), 120 deletions(-)
Signature · 1 line
2.21.0