clocksource: imx: define clocksource for mx27
Subsystems (2)
PATCH 1/1 clocksource: imx: define clocksource for mx27
The clocksource imx27 wasn't defined in timer-imx-gpt.c, so the kernel no longer boot on imx27. Just define clocksource imx27 as an imx21.
--- drivers/clocksource/timer-imx-gpt.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/clocksource/timer-imx-gpt.c +1 -0
@@ -529,6 +529,7 @@ static void __init imx6dl_timer_init_dt(struct device_node *np)CLOCKSOURCE_OF_DECLARE (imx1_timer,"fsl,imx1-gpt" , imx1_timer_init_dt);CLOCKSOURCE_OF_DECLARE (imx21_timer,"fsl,imx21-gpt" , imx21_timer_init_dt); +CLOCKSOURCE_OF_DECLARE (imx27_timer,"fsl,imx27-gpt" , imx21_timer_init_dt);CLOCKSOURCE_OF_DECLARE (imx31_timer,"fsl,imx31-gpt" , imx31_timer_init_dt);CLOCKSOURCE_OF_DECLARE (imx25_timer,"fsl,imx25-gpt" , imx31_timer_init_dt);CLOCKSOURCE_OF_DECLARE (imx50_timer,"fsl,imx50-gpt" , imx31_timer_init_dt);
Signature · 1 line
1.7.4.4
Quoted 5 lines · Philippe Reynes
The clocksource imx27 wasn't defined in
timer-imx-gpt.c, so the kernel no longer boot on imx27. Just define clocksource imx27 as an imx21.Signed-off-by Philippe Reynes <[email protected]>
Quoted 5 lines · Philippe Reynes
The clocksource imx27 wasn't defined in
timer-imx-gpt.c, so the kernel no longer boot on imx27. Just define clocksource imx27 as an imx21.Signed-off-by Philippe Reynes <[email protected]>
Daniel,
Please help send this as a fix for 4.2-rc, thanks.
Shawn
Quoted 5 lines · Shawn Guo
Quoted 4 lines · Philippe Reynes
The clocksource imx27 wasn't defined in
timer-imx-gpt.c, so the kernel no longer boot on imx27. Just define clocksource imx27 as an imx21.
Quoted 7 lines
Quoted 1 line
Signed-off-by Philippe Reynes <[email protected]>Acked-by Shawn Guo <[email protected]>Daniel,
Please help send this as a fix for 4.2-rc, thanks.
Ok.
stable@ ?
Signature · 5 lines
<http://www.linaro.org/> Linaro.org ? Open source software for ARM SoCs Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook | <http://twitter.com/#!/linaroorg> Twitter | <http://www.linaro.org/linaro-blog/> Blog
Quoted 10 lines · Daniel Lezcano
Quoted 9 lines · Shawn Guo
Quoted 5 lines · Philippe Reynes
The clocksource imx27 wasn't defined in
timer-imx-gpt.c, so the kernel no longer boot on imx27. Just define clocksource imx27 as an imx21.Signed-off-by Philippe Reynes <[email protected]>Acked-by Shawn Guo <[email protected]>
Quoted 7 lines
Quoted 3 lines
Daniel,
Please help send this as a fix for 4.2-rc, thanks.
Ok.
stable@ ?
No. The regression was introduced only in 4.2 merge window.
Shawn
Quoted 5 lines · Philippe Reynes
The clocksource imx27 wasn't defined in
timer-imx-gpt.c, so the kernel no longer boot on imx27. Just define clocksource imx27 as an imx21.Signed-off-by Philippe Reynes <[email protected]>
Signature · 5 lines
<http://www.linaro.org/> Linaro.org ? Open source software for ARM SoCs Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook | <http://twitter.com/#!/linaroorg> Twitter | <http://www.linaro.org/linaro-blog/> Blog
tip-bot for Philippe Reynes
merge bot[tip:timers/urgent] clocksource/imx: Define clocksource for mx27
In reply to Philippe Reynesclocksource/imx: Define clocksource for mx27
Commit-ID: 747d34e7313034768aac83d679db43cedc5ab778 Gitweb: http://git.kernel.org/tip/747d34e7313034768aac83d679db43cedc5ab778 Author: Philippe Reynes <[email protected]> AuthorDate: Sat, 27 Jun 2015 23:11:44 +0200 Committer: Thomas Gleixner <[email protected]> CommitDate: Tue, 7 Jul 2015 10:44:45 +0200
clocksource/imx: Define clocksource for mx27
The rework of the imx clocksource driver missed to add an entry for imx27 which results in a boot failure on those machines.
Add the proper CLOCKSOURCE_OF_DECLARE() entry for imx27 and map it to the imx21 init.
--- drivers/clocksource/timer-imx-gpt.c | 1 + 1 file changed, 1 insertion(+)
drivers/clocksource/timer-imx-gpt.c +1 -0
@@ -529,6 +529,7 @@ static void __init imx6dl_timer_init_dt(struct device_node *np)CLOCKSOURCE_OF_DECLARE (imx1_timer,"fsl,imx1-gpt" , imx1_timer_init_dt);CLOCKSOURCE_OF_DECLARE (imx21_timer,"fsl,imx21-gpt" , imx21_timer_init_dt); +CLOCKSOURCE_OF_DECLARE (imx27_timer,"fsl,imx27-gpt" , imx21_timer_init_dt);CLOCKSOURCE_OF_DECLARE (imx31_timer,"fsl,imx31-gpt" , imx31_timer_init_dt);CLOCKSOURCE_OF_DECLARE (imx25_timer,"fsl,imx25-gpt" , imx31_timer_init_dt);CLOCKSOURCE_OF_DECLARE (imx50_timer,"fsl,imx50-gpt" , imx31_timer_init_dt);