Skip to content

Fix remaining issues to drop more omap platform data

Tony Lindgren linux-arm-kernel linux-devicetree linux-omap lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest7 patches 1 replyIn review
  2. v310 patches 0 repliesSuperseded

Changes in v4 from the cover letter

- Use sysc compatible names based on the SoC name where they are first seen instead of type1/2/3 as suggested by Matthijs

- Use "fck" and "ick" naming instead of "clkctrl" for clocks as we will need the interface clock too in many cases, and udpate the ti-sysc driver accordingly

- Drop the clock nodes for now to avoid a dependency to pending clock patches, the clock nodes can be added later on after the dependencies have cleared

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7dt-bindings: bus: Minimal TI sysc interconnect target module bindingDocumentation/devicetree/bindings/bus/ti-sysc.txt+93 -02 replies
1/7dt-bindings: bus: Minimal TI sysc interconnect target module binding+0 -01 reply
1/7dt-bindings: bus: Minimal TI sysc interconnect target module binding+0 -00 replies
1/7dt-bindings: bus: Minimal TI sysc interconnect target module binding+0 -00 replies
2/7ARM: OMAP2+: Parse module IO range from dts for legacy "ti, hwmods" supportarch/arm/mach-omap2/omap_hwmod.c arch/arm/mach-omap2/omap_hwmod.h+84 -10 replies
3/7ARM: OMAP2+: Populate legacy resources for dma and smartreflexarch/arm/mach-omap2/omap_device.c arch/arm/mach-omap2/omap_device.h+106 -350 replies
4/7bus: ti-sysc: Add minimal TI sysc interconnect target driverarch/arm/mach-omap2/Kconfig drivers/bus/Kconfig drivers/bus/Makefile +1 more+567 -01 reply
5/7ARM: dts: Add nodes for missing omap4 interconnect target modulesarch/arm/boot/dts/omap4.dtsi+147 -125 replies
5/7ARM: dts: Add nodes for missing omap4 interconnect target modulesarch/arm/boot/dts/omap4.dtsi+1 -10 replies
6/7ARM: dts: Configure SmartReflex only to idle the interconnect target modulearch/arm/boot/dts/dra7.dtsi+26 -00 replies
7/7ARM: dts: Use ti-sysc module driver for omap4 musbarch/arm/boot/dts/omap4.dtsi+24 -120 replies
7/7ARM: dts: Use ti-sysc module driver for omap4 musbarch/arm/boot/dts/omap4.dtsi+24 -120 replies

Reviews trailers per patch

4 of 12 patches have a Reviewed-by or Acked-by.

PatchRob Herring
1/7R-b
1/7R-b
1/7R-b
1/7R-b
2/7
3/7
4/7
5/7
5/7
6/7
7/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCHv4 0/7] Fix remaining issues to drop more omap platform data

Hi all,

Here's v4 of the remaining fixes needed before we can drop omap hwmod platform data for interrupts, dma channels and IO ranges.

I've dropped the clockctrl clock nodes and dts patches to avoid a dependency to Tero's pending clock patches. As we are still relying on "ti,hwmods" property this is just fine, and can be patched later once the dependencies have cleared.

These patches are based on current Linux next.

Regards,

Tony

Changes since v3:

- Use sysc compatible names based on the SoC name where they are first seen instead of type1/2/3 as suggested by Matthijs

- Use "fck" and "ick" naming instead of "clkctrl" for clocks as we will need the interface clock too in many cases, and udpate the ti-sysc driver accordingly

- Drop the clock nodes for now to avoid a dependency to pending clock patches, the clock nodes can be added later on after the dependencies have cleared

Changes since v2:

- Drop attempted bindings for devices with no drivers and start using generic ti sysc interconnect target module binding, the bindings for the child devices can be sent separately as needed

- Add Tero's pathces for omap4 clkctrl nodes as we need those

- Add support for parsing IO ranges from dts if "ti,hwmods" is set and fix-up omap device code to work without platform data for legacy dma and smartreflex

- Add minimal ti-sysc driver

Changes since v1:

- Updated hsi, iss, fdif, gpu, and smartreflex patches based on the subsystem maintainer comments

- Added Rob and Mark in Cc for the patches touching binding documentation

Tony Lindgren (7):
dt-bindings: bus: Minimal TI sysc interconnect target module binding
ARM: OMAP2+: Parse module IO range from dts for legacy "ti,hwmods"
support
ARM: OMAP2+: Populate legacy resources for dma and smartreflex
bus: ti-sysc: Add minimal TI sysc interconnect target driver
ARM: dts: Add nodes for missing omap4 interconnect target modules
ARM: dts: Configure SmartReflex only to idle the interconnect target
module
ARM: dts: Use ti-sysc module driver for omap4 musb

 Documentation/devicetree/bindings/bus/ti-sysc.txt |  93 ++++
 arch/arm/boot/dts/dra7.dtsi                       |  26 +
 arch/arm/boot/dts/omap4.dtsi                      | 195 +++++++-
 arch/arm/mach-omap2/Kconfig                       |   1 +
 arch/arm/mach-omap2/omap_device.c                 | 137 ++++--
 arch/arm/mach-omap2/omap_device.h                 |   4 -
 arch/arm/mach-omap2/omap_hwmod.c                  |  80 +++-
 arch/arm/mach-omap2/omap_hwmod.h                  |   5 +
 drivers/bus/Kconfig                               |   7 +
 drivers/bus/Makefile                              |   1 +
 drivers/bus/ti-sysc.c                             | 558 ++++++++++++++++++++++
 11 files changed, 1047 insertions(+), 60 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/bus/ti-sysc.txt
 create mode 100644 drivers/bus/ti-sysc.c
Signature · 1 line
2.14.2