]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ARM: AM33xx+: hwmod: re-use omap4 implementations for reset functionality
authorTero Kristo <t-kristo@ti.com>
Tue, 5 May 2015 13:33:05 +0000 (16:33 +0300)
committerPaul Walmsley <paul@pwsan.com>
Fri, 8 May 2015 19:05:19 +0000 (13:05 -0600)
commita5bf00cd735fbc293da8a9bada589c02861c8132
treee2c1c24cb013ef02561b2887f59caf581b25ac55
parent4ebf5b288c57767ad62e63c5fc0e586f0210e36c
ARM: AM33xx+: hwmod: re-use omap4 implementations for reset functionality

The reset code functionality is mostly a copy paste between OMAP4+ and
AM33xx+. Re-use the omap4 code where possible, and just keep the special
implementation for de-asserting the hardreset lines for AM33xx, as
AM33xx+ devices have slightly different register layouts compared to
OMAP4+. This patch also fixes the hardreset issues faced on AM43xx.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Reported-by: Dave Gerlach <d-gerlach@ti.com>
Reported-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/omap_hwmod.c