linux/drivers/i2c/muxes/i2c-mux-pinctrl.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * I2C multiplexer using pinctrl API
 *
 * Copyright (c) 2012, NVIDIA CORPORATION.  All rights reserved.
 */

#include <linux/i2c.h>
#include <linux/i2c-mux.h>
#include <linux/module.h>
#include <linux/pinctrl/consumer.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/of.h>
#include "../../pinctrl/core.h"

struct i2c_mux_pinctrl {};

static int i2c_mux_pinctrl_select(struct i2c_mux_core *muxc, u32 chan)
{}

static int i2c_mux_pinctrl_deselect(struct i2c_mux_core *muxc, u32 chan)
{}

static struct i2c_adapter *i2c_mux_pinctrl_root_adapter(
	struct pinctrl_state *state)
{}

static struct i2c_adapter *i2c_mux_pinctrl_parent_adapter(struct device *dev)
{}

static int i2c_mux_pinctrl_probe(struct platform_device *pdev)
{}

static void i2c_mux_pinctrl_remove(struct platform_device *pdev)
{}

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

static struct platform_driver i2c_mux_pinctrl_driver =;
module_platform_driver();

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