linux/drivers/regulator/raa215300.c

// SPDX-License-Identifier: GPL-2.0
//
// Renesas RAA215300 PMIC driver
//
// Copyright (C) 2023 Renesas Electronics Corporation
//

#include <linux/clk.h>
#include <linux/clkdev.h>
#include <linux/clk-provider.h>
#include <linux/err.h>
#include <linux/i2c.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/regmap.h>

#define RAA215300_FAULT_LATCHED_STATUS_1
#define RAA215300_FAULT_LATCHED_STATUS_2
#define RAA215300_FAULT_LATCHED_STATUS_3
#define RAA215300_FAULT_LATCHED_STATUS_4
#define RAA215300_FAULT_LATCHED_STATUS_6

#define RAA215300_INT_MASK_1
#define RAA215300_INT_MASK_2
#define RAA215300_INT_MASK_3
#define RAA215300_INT_MASK_4
#define RAA215300_INT_MASK_6

#define RAA215300_REG_BLOCK_EN
#define RAA215300_HW_REV

#define RAA215300_INT_MASK_1_ALL
#define RAA215300_INT_MASK_2_ALL
#define RAA215300_INT_MASK_3_ALL
#define RAA215300_INT_MASK_4_ALL
#define RAA215300_INT_MASK_6_ALL

#define RAA215300_REG_BLOCK_EN_RTC_EN
#define RAA215300_RTC_DEFAULT_ADDR

static const struct regmap_config raa215300_regmap_config =;

static void raa215300_rtc_unregister_device(void *data)
{}

static int raa215300_clk_present(struct i2c_client *client, const char *name)
{}

static int raa215300_i2c_probe(struct i2c_client *client)
{}

static const struct of_device_id raa215300_dt_match[] =;
MODULE_DEVICE_TABLE(of, raa215300_dt_match);

static struct i2c_driver raa215300_i2c_driver =;
module_i2c_driver();

MODULE_DESCRIPTION();
MODULE_AUTHOR();
MODULE_AUTHOR();
MODULE_LICENSE();