clocksource: starfive: Update timer names
authorLey Foon Tan <leyfoon.tan@linux.starfivetech.com>
Thu, 7 Jul 2022 09:53:08 +0000 (09:53 +0000)
committerxingyu.wu <xingyu.wu@starfivetech.com>
Tue, 12 Jul 2022 03:29:43 +0000 (11:29 +0800)
commiteb0c7d6b8bb1c3612c2065960b0bffb5e1bfc087
tree5f57f5139ca4d522a34a37616b2928c02bfbcaeb
parente07ee4b327d261fd1f3013bb8392076c233d1311
clocksource: starfive: Update timer names

The existing implementation uses DT clock-names 'timer0', 'timer1' and etc
as timer names.  This will have issue if there are two timer instance IPs
in the system.

This patch update timer names to format below, example:
timer@13050000.ch0
timer@13050000.ch1
timer@13050000.ch2
timer@13050000.ch3

Signed-off-by: Ley Foon Tan <leyfoon.tan@linux.starfivetech.com>
drivers/clocksource/timer-starfive.c
drivers/clocksource/timer-starfive.h