18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci *  DS1287 timer functions.
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci *  Copyright (C) 2008  Yoichi Yuasa <yuasa@linux-mips.org>
68c2ecf20Sopenharmony_ci */
78c2ecf20Sopenharmony_ci#ifndef __ASM_DS1287_H
88c2ecf20Sopenharmony_ci#define __ASM_DS1287_H
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ciextern int ds1287_timer_state(void);
118c2ecf20Sopenharmony_ciextern void ds1287_set_base_clock(unsigned int clock);
128c2ecf20Sopenharmony_ciextern int ds1287_clockevent_init(int irq);
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ci#endif
15