clk: ux500: Fix up the SGA clock for some variants
Subsystems (2)
PATCH 1/1 clk: ux500: Fix up the SGA clock for some variants
Some of the special PRCMU firmware variants were not properly detected in the Ux500 clock driver, resulting in the wrong clock for the SGA.
Cc Ulf Hansson <[email protected]>
Cc Stephan Gerhold <[email protected]>
Signed-off-by Linus Walleij <[email protected]>
--- drivers/clk/ux500/u8500_of_clk.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/clk/ux500/u8500_of_clk.c +2 -0
@@ -99,8 +99,10 @@ static void u8500_clk_init(struct device_node *np)if (fw_version !=NULL ) {switch (fw_version->project) {case PRCMU_FW_PROJECT_U8500_C2 : +case PRCMU_FW_PROJECT_U8500_MBL :case PRCMU_FW_PROJECT_U8520 :case PRCMU_FW_PROJECT_U8420 : +case PRCMU_FW_PROJECT_U8420_SYSCLK : sgaclk_parent ="soc0_pll" ;break ;default :
Signature · 1 line
2.21.0
Quoted 8 lines · Linus Walleij
Some of the special PRCMU firmware variants were not properly detected in the Ux500 clock driver, resulting in the wrong clock for the SGA.
Cc Ulf Hansson <[email protected]>Cc Stephan Gerhold <[email protected]>Signed-off-by Linus Walleij <[email protected]>
Acked-by Ulf Hansson <[email protected]>
Kind regards
Uffe
Quoted 22 lines
--- drivers/clk/ux500/u8500_of_clk.c | 2 ++ 1 file changed, 2 insertions(+)drivers/clk/ux500/u8500_of_clk.c +2
-1@@ -99,8 +99,10 @@ static void u8500_clk_init(struct device_node *np)if (fw_version !=NULL ) {switch (fw_version->project) {case PRCMU_FW_PROJECT_U8500_C2 : +case PRCMU_FW_PROJECT_U8500_MBL :case PRCMU_FW_PROJECT_U8520 :case PRCMU_FW_PROJECT_U8420 : +case PRCMU_FW_PROJECT_U8420_SYSCLK : sgaclk_parent ="soc0_pll" ;break ;default : --2.21.0
Quoted 7 lines · Linus Walleij
Some of the special PRCMU firmware variants were not properly detected in the Ux500 clock driver, resulting in the wrong clock for the SGA.
Cc Ulf Hansson <[email protected]>Cc Stephan Gerhold <[email protected]>Signed-off-by Linus Walleij <[email protected]>
Reviewed-by Stephan Gerhold <[email protected]>
Quoted 22 lines
--- drivers/clk/ux500/u8500_of_clk.c | 2 ++ 1 file changed, 2 insertions(+)drivers/clk/ux500/u8500_of_clk.c +2
-0@@ -99,8 +99,10 @@ static void u8500_clk_init(struct device_node *np)if (fw_version !=NULL ) {switch (fw_version->project) {case PRCMU_FW_PROJECT_U8500_C2 : +case PRCMU_FW_PROJECT_U8500_MBL :case PRCMU_FW_PROJECT_U8520 :case PRCMU_FW_PROJECT_U8420 : +case PRCMU_FW_PROJECT_U8420_SYSCLK : sgaclk_parent ="soc0_pll" ;break ;default :Signature · 1 line
2.21.0
Quoting Linus Walleij (2019-12-17 13:05:04)
Quoted 8 lines
Some of the special PRCMU firmware variants were not properly detected in the Ux500 clock driver, resulting in the wrong clock for the SGA.
Cc Ulf Hansson <[email protected]>Cc Stephan Gerhold <[email protected]>Signed-off-by Linus Walleij <[email protected]>---
Applied to clk-next