* [PATCH] clk: imx: imx8: build base support for scu clk
@ 2023-10-09 11:44 Arnd Bergmann
2023-10-09 11:48 ` Peng Fan
2023-10-10 18:56 ` Stephen Boyd
0 siblings, 2 replies; 4+ messages in thread
From: Arnd Bergmann @ 2023-10-09 11:44 UTC (permalink / raw)
To: Abel Vesa, Michael Turquette, Stephen Boyd
Cc: Arnd Bergmann, Peng Fan, Shawn Guo, Sascha Hauer,
Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team,
Randy Dunlap, Jesse Taube, Shengjiu Wang, linux-clk,
linux-arm-kernel, linux-kernel
From: Arnd Bergmann <arnd@arndb.de>
There is now a dependency on a function from the clk.c file, so
this also needs to be built:
aarch64-linux-ld: Unexpected GOT/PLT entries detected!
aarch64-linux-ld: Unexpected run-time procedure linkages detected!
aarch64-linux-ld: drivers/clk/imx/clk-imx8-acm.o: in function `imx8_acm_clk_probe':
clk-imx8-acm.c:(.text+0xbf0): undefined reference to `imx_check_clk_hws'
Fixes: d3a0946d7ac9a ("clk: imx: imx8: add audio clock mux driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
drivers/clk/imx/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/imx/Kconfig b/drivers/clk/imx/Kconfig
index db3bca5f4ec9c..c6d3fda330341 100644
--- a/drivers/clk/imx/Kconfig
+++ b/drivers/clk/imx/Kconfig
@@ -6,6 +6,7 @@ config MXC_CLK
config MXC_CLK_SCU
tristate
+ select MXC_CLK
config CLK_IMX1
def_bool SOC_IMX1
--
2.39.2
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 4+ messages in thread* RE: [PATCH] clk: imx: imx8: build base support for scu clk
2023-10-09 11:44 [PATCH] clk: imx: imx8: build base support for scu clk Arnd Bergmann
@ 2023-10-09 11:48 ` Peng Fan
2023-10-10 18:56 ` Stephen Boyd
1 sibling, 0 replies; 4+ messages in thread
From: Peng Fan @ 2023-10-09 11:48 UTC (permalink / raw)
To: Arnd Bergmann, Abel Vesa, Michael Turquette, Stephen Boyd
Cc: Arnd Bergmann, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team,
Fabio Estevam, dl-linux-imx, Randy Dunlap, Jesse Taube, S.J. Wang,
linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
> Subject: [PATCH] clk: imx: imx8: build base support for scu clk
>
> From: Arnd Bergmann <arnd@arndb.de>
>
> There is now a dependency on a function from the clk.c file, so this also needs
> to be built:
>
> aarch64-linux-ld: Unexpected GOT/PLT entries detected!
> aarch64-linux-ld: Unexpected run-time procedure linkages detected!
> aarch64-linux-ld: drivers/clk/imx/clk-imx8-acm.o: in function
> `imx8_acm_clk_probe':
> clk-imx8-acm.c:(.text+0xbf0): undefined reference to `imx_check_clk_hws'
>
> Fixes: d3a0946d7ac9a ("clk: imx: imx8: add audio clock mux driver")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Peng Fan <peng.fan@nxp.com>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH] clk: imx: imx8: build base support for scu clk
2023-10-09 11:44 [PATCH] clk: imx: imx8: build base support for scu clk Arnd Bergmann
2023-10-09 11:48 ` Peng Fan
@ 2023-10-10 18:56 ` Stephen Boyd
2023-10-10 19:26 ` Arnd Bergmann
1 sibling, 1 reply; 4+ messages in thread
From: Stephen Boyd @ 2023-10-10 18:56 UTC (permalink / raw)
To: Abel Vesa, Arnd Bergmann, Michael Turquette
Cc: Arnd Bergmann, Peng Fan, Shawn Guo, Sascha Hauer,
Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team,
Randy Dunlap, Jesse Taube, Shengjiu Wang, linux-clk,
linux-arm-kernel, linux-kernel
Quoting Arnd Bergmann (2023-10-09 04:44:55)
> From: Arnd Bergmann <arnd@arndb.de>
>
> There is now a dependency on a function from the clk.c file, so
> this also needs to be built:
>
> aarch64-linux-ld: Unexpected GOT/PLT entries detected!
> aarch64-linux-ld: Unexpected run-time procedure linkages detected!
> aarch64-linux-ld: drivers/clk/imx/clk-imx8-acm.o: in function `imx8_acm_clk_probe':
> clk-imx8-acm.c:(.text+0xbf0): undefined reference to `imx_check_clk_hws'
>
> Fixes: d3a0946d7ac9a ("clk: imx: imx8: add audio clock mux driver")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> ---
Is this another https://lore.kernel.org/r/20230921093647.3901752-1-abel.vesa@linaro.org
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH] clk: imx: imx8: build base support for scu clk
2023-10-10 18:56 ` Stephen Boyd
@ 2023-10-10 19:26 ` Arnd Bergmann
0 siblings, 0 replies; 4+ messages in thread
From: Arnd Bergmann @ 2023-10-10 19:26 UTC (permalink / raw)
To: Stephen Boyd, Abel Vesa, Arnd Bergmann, Michael Turquette
Cc: Peng Fan, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team,
Fabio Estevam, NXP Linux Team, Randy Dunlap, Jesse Taube,
Shengjiu Wang, linux-clk, linux-arm-kernel, linux-kernel
On Tue, Oct 10, 2023, at 20:56, Stephen Boyd wrote:
> Quoting Arnd Bergmann (2023-10-09 04:44:55)
>> From: Arnd Bergmann <arnd@arndb.de>
>>
>> There is now a dependency on a function from the clk.c file, so
>> this also needs to be built:
>>
>> aarch64-linux-ld: Unexpected GOT/PLT entries detected!
>> aarch64-linux-ld: Unexpected run-time procedure linkages detected!
>> aarch64-linux-ld: drivers/clk/imx/clk-imx8-acm.o: in function `imx8_acm_clk_probe':
>> clk-imx8-acm.c:(.text+0xbf0): undefined reference to `imx_check_clk_hws'
>>
>> Fixes: d3a0946d7ac9a ("clk: imx: imx8: add audio clock mux driver")
>> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
>> ---
>
> Is this another
> https://lore.kernel.org/r/20230921093647.3901752-1-abel.vesa@linaro.org
I think that's correct and my patch is not needed any more now.
It looks like it was already obsolete when I sent it, but I can't
find out why that is. I'll let you know if it comes back.
Arnd
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-10-10 19:27 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-09 11:44 [PATCH] clk: imx: imx8: build base support for scu clk Arnd Bergmann
2023-10-09 11:48 ` Peng Fan
2023-10-10 18:56 ` Stephen Boyd
2023-10-10 19:26 ` Arnd Bergmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox