Skip to content

OMAP: Add DT bindings to specify when devices should not be idled or reset

Rajendra Nayak linux-arm-kernel linux-devicetree linux-omap lkml 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 0 repliesNew
  2. v13 patches 0 repliesSuperseded

Changes in v2 from the cover letter

* Patches are split in such a way that DT and hwmod changes are kept in seperate patches so they can be pulled in by Benoit and Paul seperately.
* Binding names are slightly updated to address the concern from Tony and Benoit [1]
* Added a patch [5/5] to prevent GPIO reset on AM335x EVM-SK board, which was also the original motivation of this series since the board fails to boot from mainline despite support for AM335x and a am335x-evmsk.dts file existing in mainline for quite a while.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5ARM: OMAP2+: hwmod: cleanup HWMOD_INIT_NO_RESET usagearch/arm/mach-omap2/omap_hwmod_33xx_data.c arch/arm/mach-omap2/omap_hwmod_44xx_data.c arch/arm/mach-omap2/omap_hwmod_54xx_data.c+15 -151 reply
2/5ARM: dts: omap: Add new bindings for OMAPDocumentation/devicetree/bindings/arm/omap/omap.txt arch/arm/boot/dts/am33xx.dtsi arch/arm/boot/dts/omap4.dtsi +1 more+9 -11 reply
2/5ARM: dts: omap: Add new bindings for OMAP+0 -02 replies
2/5ARM: dts: omap: Add new bindings for OMAP+0 -00 replies
3/5ARM: OMAP2+: hwmod: Extract no-idle and no-reset info from DTarch/arm/mach-omap2/omap_hwmod.c+16 -71 reply
4/5ARM: OMAP2+: hwmod: Cleanup usage of HWMOD_INIT_NO_RESET and HWMOD_INIT_NO_IDLEarch/arm/mach-omap2/omap_hwmod_33xx_data.c arch/arm/mach-omap2/omap_hwmod_44xx_data.c arch/arm/mach-omap2/omap_hwmod_54xx_data.c+3 -70 replies
5/5ARM: dts: AM335x-evmsk: Do not reset gpio0arch/arm/boot/dts/am335x-evmsk.dts+4 -00 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/5] OMAP: Add DT bindings to specify when devices should not be idled or reset

Changes in v2:
* Patches are split in such a way that DT and hwmod changes are kept in seperate patches so they can be pulled in by Benoit and Paul seperately.
* Binding names are slightly updated to address the concern from Tony and Benoit [1]
* Added a patch [5/5] to prevent GPIO reset on AM335x EVM-SK board, which was also the original motivation of this series since the board fails to boot from mainline despite support for AM335x and a am335x-evmsk.dts file existing in mainline for quite a while.

We have devices like co-processors, SoC internal busses, memory controllers etc which should not be idled or reset. In some cases erratas around IP blocks prevent them from either being idled or reset. Have a way to pass this information from Device tree, and get rid of similar information that exists as part of the omap_hwmod data files for various DT only OMAP SoCs.

Boot tested on OMAP4 panda es, AM335x EVM and AM335x EVM-SK

[1] http://www.mail-archive.com/linux-omap at vger.kernel.org/msg94349.html

Rajendra Nayak (5):
ARM: OMAP2+: hwmod: cleanup HWMOD_INIT_NO_RESET usage
ARM: dts: omap: Add new bindings for OMAP
ARM: OMAP2+: hwmod: Extract no-idle and no-reset info from DT
ARM: OMAP2+: hwmod: Cleanup usage of HWMOD_INIT_NO_RESET and
HWMOD_INIT_NO_IDLE
ARM: dts: AM335x-evmsk: Do not reset gpio0

 .../devicetree/bindings/arm/omap/omap.txt          |    3 ++-
 arch/arm/boot/dts/am335x-evmsk.dts                 |    4 ++++
 arch/arm/boot/dts/am33xx.dtsi                      |    2 ++
 arch/arm/boot/dts/omap4.dtsi                       |    3 +++
 arch/arm/boot/dts/omap5.dtsi                       |    2 ++
 arch/arm/mach-omap2/omap_hwmod.c                   |   23 ++++++++++++++------
 arch/arm/mach-omap2/omap_hwmod_33xx_data.c         |   22 +++++++++----------
 arch/arm/mach-omap2/omap_hwmod_44xx_data.c         |    6 ++---
 arch/arm/mach-omap2/omap_hwmod_54xx_data.c         |    4 +---
 9 files changed, 43 insertions(+), 26 deletions(-)
Signature · 1 line
1.7.9.5