mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-07-22 01:43:37 -04:00
The get_sdram_rows() and get_memclkdiv() helpers need smemc register that are separate from the clk registers, move them out of the clk driver, and use an extern declaration instead. Cc: Michael Turquette <mturquette@baylibre.com> Cc: Stephen Boyd <sboyd@kernel.org> Cc: linux-clk@vger.kernel.org Link: https://lore.kernel.org/lkml/87pnielzo4.fsf@belgarion.home/ Signed-off-by: Arnd Bergmann <arnd@arndb.de>
13 lines
367 B
C
13 lines
367 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
#ifndef __PXA_REGS_H
|
|
#define __PXA_REGS_H
|
|
|
|
#include <linux/types.h>
|
|
|
|
void pxa_smemc_set_pcmcia_timing(int sock, u32 mcmem, u32 mcatt, u32 mcio);
|
|
void pxa_smemc_set_pcmcia_socket(int nr);
|
|
int pxa2xx_smemc_get_sdram_rows(void);
|
|
unsigned int pxa3xx_smemc_get_memclkdiv(void);
|
|
void __iomem *pxa_smemc_get_mdrefr(void);
|
|
|
|
#endif
|