linux/drivers/nvmem/snvs_lpgpr.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2015 Pengutronix, Steffen Trumtrar <[email protected]>
 * Copyright (c) 2017 Pengutronix, Oleksij Rempel <[email protected]>
 */

#include <linux/mfd/syscon.h>
#include <linux/module.h>
#include <linux/nvmem-provider.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/regmap.h>

#define IMX6Q_SNVS_HPLR
#define IMX6Q_SNVS_LPLR
#define IMX6Q_SNVS_LPGPR

#define IMX7D_SNVS_HPLR
#define IMX7D_SNVS_LPLR
#define IMX7D_SNVS_LPGPR

#define IMX_GPR_SL
#define IMX_GPR_HL

struct snvs_lpgpr_cfg {};

struct snvs_lpgpr_priv {};

static const struct snvs_lpgpr_cfg snvs_lpgpr_cfg_imx6q =;

static const struct snvs_lpgpr_cfg snvs_lpgpr_cfg_imx7d =;

static int snvs_lpgpr_write(void *context, unsigned int offset, void *val,
			    size_t bytes)
{}

static int snvs_lpgpr_read(void *context, unsigned int offset, void *val,
			   size_t bytes)
{}

static int snvs_lpgpr_probe(struct platform_device *pdev)
{}

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

static struct platform_driver snvs_lpgpr_driver =;
module_platform_driver();

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