linux/drivers/soc/samsung/exynos-chipid.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright (c) 2019 Samsung Electronics Co., Ltd.
 *	      http://www.samsung.com/
 * Copyright (c) 2020 Krzysztof Kozlowski <[email protected]>
 *
 * Exynos - CHIP ID support
 * Author: Pankaj Dubey <[email protected]>
 * Author: Bartlomiej Zolnierkiewicz <[email protected]>
 * Author: Krzysztof Kozlowski <[email protected]>
 *
 * Samsung Exynos SoC Adaptive Supply Voltage and Chip ID support
 */

#include <linux/device.h>
#include <linux/errno.h>
#include <linux/mfd/syscon.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/regmap.h>
#include <linux/slab.h>
#include <linux/soc/samsung/exynos-chipid.h>
#include <linux/sys_soc.h>

#include "exynos-asv.h"

struct exynos_chipid_variant {};

struct exynos_chipid_info {};

static const struct exynos_soc_id {} soc_ids[] =;

static const char *product_id_to_soc_id(unsigned int product_id)
{}

static int exynos_chipid_get_chipid_info(struct regmap *regmap,
		const struct exynos_chipid_variant *data,
		struct exynos_chipid_info *soc_info)
{}

static int exynos_chipid_probe(struct platform_device *pdev)
{}

static void exynos_chipid_remove(struct platform_device *pdev)
{}

static const struct exynos_chipid_variant exynos4210_chipid_drv_data =;

static const struct exynos_chipid_variant exynos850_chipid_drv_data =;

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

static struct platform_driver exynos_chipid_driver =;
module_platform_driver();

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