linux/drivers/nvmem/layerscape-sfp.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Layerscape SFP driver
 *
 * Copyright (c) 2022 Michael Walle <[email protected]>
 *
 */

#include <linux/device.h>
#include <linux/io.h>
#include <linux/mod_devicetable.h>
#include <linux/module.h>
#include <linux/nvmem-provider.h>
#include <linux/platform_device.h>
#include <linux/property.h>
#include <linux/regmap.h>

#define LAYERSCAPE_SFP_OTP_OFFSET

struct layerscape_sfp_priv {};

struct layerscape_sfp_data {};

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

static struct nvmem_config layerscape_sfp_nvmem_config =;

static int layerscape_sfp_probe(struct platform_device *pdev)
{}

static const struct layerscape_sfp_data ls1021a_data =;

static const struct layerscape_sfp_data ls1028a_data =;

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

static struct platform_driver layerscape_sfp_driver =;
module_platform_driver();

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