linux/drivers/clocksource/clksrc_st_lpc.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * Clocksource using the Low Power Timer found in the Low Power Controller (LPC)
 *
 * Copyright (C) 2015 STMicroelectronics – All Rights Reserved
 *
 * Author(s): Francesco Virlinzi <[email protected]>
 *	      Ajit Pal Singh <[email protected]>
 */

#include <linux/clk.h>
#include <linux/clocksource.h>
#include <linux/init.h>
#include <linux/of_address.h>
#include <linux/sched_clock.h>
#include <linux/slab.h>

#include <dt-bindings/mfd/st-lpc.h>

/* Low Power Timer */
#define LPC_LPT_LSB_OFF
#define LPC_LPT_MSB_OFF
#define LPC_LPT_START_OFF

static struct st_clksrc_ddata {} ddata;

static void __init st_clksrc_reset(void)
{}

static u64 notrace st_clksrc_sched_clock_read(void)
{}

static int __init st_clksrc_init(void)
{}

static int __init st_clksrc_setup_clk(struct device_node *np)
{}

static int __init st_clksrc_of_register(struct device_node *np)
{}
TIMER_OF_DECLARE(ddata, "st,stih407-lpc", st_clksrc_of_register);