summaryrefslogtreecommitdiffstats
path: root/arch/sh/drivers/heartbeat.c
Commit message (Collapse)AuthorAgeFilesLines
* sh: heartbeat: Support access size specification via resource flags.Paul Mundt2010-01-151-5/+17
| | | | | | | | This permits the resource access size to be handed off through the resource flags, which saves platforms from having to establish platform data only to specify the register width. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Prevent heartbeat from scribbling over non-LED bits.Kuninori Morimoto2009-08-181-0/+10
| | | | | | | | | | While most platforms implement LED banks in sets of 8/16/32, some use different configurations. This adds a LED mask to the heartbeat platform data to allow platforms to constrain the bitmap, which is otherwise derived from the register size. Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* MODULE_LICENSE expects "GPL v2", not "GPLv2"Al Viro2008-05-221-1/+1
| | | | | | | | ... and we have few enough places using the latter to make it simpler to do search and replace... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* sh: heartbeat: ioremap is expected to succeedRoel Kluin2008-02-261-1/+1
| | | | | | | ioremap is expected to succeed Signed-off-by: Roel Kluin <12o3l@tiscali.nl> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: heartbeat driver update.Paul Mundt2007-09-211-19/+51
| | | | | | | | | Add some flags for the heartbeat driver, and kill off some duplication in the bit positions for the boards that don't have special cases. This also allows for variable access widths and inversion. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: heartbeat: Shut up resource size warning.Paul Mundt2007-07-201-1/+1
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: heartbeat double 0 fix.Takashi YOSHII2007-05-071-10/+3Star
| | | | | | | | | | This implements stricter and more compliant knightrider strobing in the heartbeat handler. While there still seems to be some debate as to whether the double 0 is "more" correct or not, this updated version appears to have general consensus. Fixes a long-term "bug". Signed-off-by: Takashi YOSHII <takashi.yoshii.ze@hitachi.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Compile fix for heartbeat consolidation.Paul Mundt2007-02-131-0/+132
Signed-off-by: Paul Mundt <lethal@linux-sh.org>