summaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/amba-sp804.c
Commit message (Collapse)AuthorAgeFilesLines
* clocksource: sp804: silently ignore secondary instacesLucas Stach2017-10-171-2/+2
| | | | | | | | | When probing from an upstream DT, we don't always have influence on how many timer instances are enabled. Just use the first one and silently skip the other instances. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* treewide: Reuse init_clock() return value for clocksource driversAlexander Shiyan2014-11-101-3/+1
| | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* sp804: introduce amba_is_arm_sp804 to detect if the sp804 is present at the ↵Jean-Christophe PLAGNIOL-VILLARD2013-02-121-3/+3
| | | | | | | address Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* clocksource: add ARM AMBA SP804 supportJean-Christophe PLAGNIOL-VILLARD2013-02-111-0/+94
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>