Skip to content

arm: omap: move more HWMOD data to DT

Felipe Balbi linux-arm-kernel linux-devicetree linux-omap 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7arm: omap: hwmod: add debugfs interfacearch/arm/mach-omap2/Makefile arch/arm/mach-omap2/omap_device.c arch/arm/mach-omap2/omap_hwmod.h +1 more+281 -10 replies
2/7arm: omap: devicetree: add new properties for OMAP devicesDocumentation/devicetree/bindings/arm/omap/omap.txt+7 -01 reply
2/7arm: omap: devicetree: add new properties for OMAP devices+0 -01 reply
2/7arm: omap: devicetree: add new properties for OMAP devices+0 -01 reply
3/7arm: omap: hwmod: drop 'const' qualifier from omap_hwmod_class namearch/arm/mach-omap2/omap_hwmod.h+1 -10 replies
4/7arm: omap: device: add support for generating sysconfig data from DTarch/arm/mach-omap2/omap_device.c+115 -01 reply
4/7arm: omap: device: add support for generating sysconfig data from DT+0 -00 replies
5/7arm: omap: hwmod: allow for registration of class-less hwmodsarch/arm/mach-omap2/omap_hwmod.c+18 -121 reply
5/7arm: omap: hwmod: allow for registration of class-less hwmods+0 -02 replies
5/7arm: omap: hwmod: allow for registration of class-less hwmods+0 -02 replies
6/7arm: boot: dts: am4372: add sysconfig data to all HWMODsarch/arm/boot/dts/am4372.dtsi+251 -00 replies
7/7arm: omap: hwmod: 43xx: remove sysc and class dataarch/arm/mach-omap2/omap_hwmod_43xx_data.c+0 -610 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC/PATCH 0/7] arm: omap: move more HWMOD data to DT

Hi,

here's a more complete series showing the out of debugfs interface.

So far only AM43xx has been converted and only those HWMODs which play well with DT and/or are not common with other OMAPs/AM33xx.

I plan to work on AM33xx tomorrow, but this RFC shows what we can achieve WRT HWMOD static data reduction.

As you can see, with AM43xx, data reduction is quite minimal, since it reuses so much from AM33xx, but well, had to start somewhere.

All patches were boot tested with AM437x SK on top of:

commit 1ca7c606de868d172afb4eb65e04e290dbdb51ff

Author: Stephen Rothwell <[email protected]>
Date:   Thu Dec 4 19:49:10 2014 +1100

Add linux-next specific files for 20141204

cheers

Felipe Balbi (7):
arm: omap: hwmod: add debugfs interface
arm: omap: devicetree: add new properties for OMAP devices
arm: omap: hwmod: drop 'const' qualifier from omap_hwmod_class name
arm: omap: device: add support for generating sysconfig data from DT
arm: omap: hwmod: allow for registration of class-less hwmods
arm: boot: dts: am4372: add sysconfig data to all HWMODs
arm: omap: hwmod: 43xx: remove sysc and class data

 .../devicetree/bindings/arm/omap/omap.txt          |   7 +
 arch/arm/boot/dts/am4372.dtsi                      | 251 +++++++++++++++++++
 arch/arm/mach-omap2/Makefile                       |   2 +-
 arch/arm/mach-omap2/omap_device.c                  | 117 +++++++++
 arch/arm/mach-omap2/omap_hwmod.c                   |  30 ++-
 arch/arm/mach-omap2/omap_hwmod.h                   |  11 +-
 arch/arm/mach-omap2/omap_hwmod_43xx_data.c         |  61 -----
 arch/arm/mach-omap2/omap_hwmod_debugfs.c           | 269 +++++++++++++++++++++
 8 files changed, 673 insertions(+), 75 deletions(-)
 create mode 100644 arch/arm/mach-omap2/omap_hwmod_debugfs.c
Signature · 1 line
2.2.0