summaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/mach-loongson32
diff options
context:
space:
mode:
authorYang Ling <gnaygnil@gmail.com>2016-09-06 05:11:38 +0300
committerRalf Baechle <ralf@linux-mips.org>2016-10-04 17:13:57 +0300
commit60219c563c9b62aac237631a7c9aa092e8396138 (patch)
tree128403687dec398acf1e4656c2030f9c180f6735 /arch/mips/include/asm/mach-loongson32
parent9f3b8081a4763022ccfabaffc485094be0064fa4 (diff)
downloadlinux-60219c563c9b62aac237631a7c9aa092e8396138.tar.xz
MIPS: Add RTC support for Loongson1C board
The patch adds RTC support for Loongson1C board, and enable the external crystal when the RTC is first powered up. Signed-off-by: Yang Ling <gnaygnil@gmail.com> Cc: keguang.zhang@gmail.com Cc: linux-mips@linux-mips.org Cc: linux-kernel@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/14214/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm/mach-loongson32')
-rw-r--r--arch/mips/include/asm/mach-loongson32/platform.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/include/asm/mach-loongson32/platform.h b/arch/mips/include/asm/mach-loongson32/platform.h
index 672531aa9bef..7adc31364939 100644
--- a/arch/mips/include/asm/mach-loongson32/platform.h
+++ b/arch/mips/include/asm/mach-loongson32/platform.h
@@ -30,5 +30,6 @@ void __init ls1x_clk_init(void);
void __init ls1x_dma_set_platdata(struct plat_ls1x_dma *pdata);
void __init ls1x_nand_set_platdata(struct plat_ls1x_nand *pdata);
void __init ls1x_serial_set_uartclk(struct platform_device *pdev);
+void __init ls1x_rtc_set_extclk(struct platform_device *pdev);
#endif /* __ASM_MACH_LOONGSON32_PLATFORM_H */