summaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/mach-loongson32
diff options
context:
space:
mode:
authorYang Ling <gnaygnil@gmail.com>2016-09-06 02:11:38 (GMT)
committerRalf Baechle <ralf@linux-mips.org>2016-10-04 14:13:57 (GMT)
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 672531a..7adc313 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 */