From 07d824e5bbc17ecc00a5b0afd24963d27a3fca94 Mon Sep 17 00:00:00 2001 From: Angelo Dureghello Date: Tue, 24 Mar 2026 00:14:24 +0100 Subject: m68k: mcf5441x: create stub to use imx drivers Some NXP imx hardware ip module as the esdhc controller are exactly the same in some new ColdFire cpus. For the specific case, mcf5441x needs to use the existing fsl_esdhc_imx.c driver for the esdhc device. Create a stub to be able to use NXP "imx" serie drivers as the fsl_esdhc_imx in the ColdFire architecture. Signed-off-by: Angelo Dureghello --- arch/m68k/include/asm/arch-mcf5445x/clock.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 arch/m68k/include/asm/arch-mcf5445x/clock.h (limited to 'arch/m68k/include') diff --git a/arch/m68k/include/asm/arch-mcf5445x/clock.h b/arch/m68k/include/asm/arch-mcf5445x/clock.h new file mode 100644 index 00000000000..10ceecafcea --- /dev/null +++ b/arch/m68k/include/asm/arch-mcf5445x/clock.h @@ -0,0 +1,19 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * ColdFire clock support + * + * Copyright 2026 Kernelspace. + * Angelo Dureghello + */ + +#ifndef __CLOCK_H +#define __CLOCK_H + +/* Stub to use fsl/nxp drivers. */ +enum mxc_clock { + MXC_ESDHC_CLK, +}; + +int mxc_get_clock(enum mxc_clock clk); + +#endif /* __CLOCK_H */ -- cgit v1.2.3