linux/drivers/pinctrl/visconti/pinctrl-common.h

/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Copyright (c) 2020 TOSHIBA CORPORATION
 * Copyright (c) 2020 Toshiba Electronic Devices & Storage Corporation
 * Copyright (c) 2020 Nobuhiro Iwamatsu <[email protected]>
 */

#ifndef __VISCONTI_PINCTRL_COMMON_H__
#define __VISCONTI_PINCTRL_COMMON_H__

struct pinctrl_pin_desc;

/* PIN */
#define VISCONTI_PINS(pins_name, ...)

struct visconti_desc_pin {};

#define VISCONTI_PIN(_pin, dsel, d_sh, pude, pudsel, p_sh)

/* Group */
#define VISCONTI_GROUPS(groups_name, ...)

struct visconti_mux {};

struct visconti_pin_group {};

#define VISCONTI_PIN_GROUP(group_name, off, msk, v)

/* MUX */
struct visconti_pin_function {};

#define VISCONTI_PIN_FUNCTION(func)

/* chip dependent data */
struct visconti_pinctrl_devdata {};

int visconti_pinctrl_probe(struct platform_device *pdev,
			   const struct visconti_pinctrl_devdata *devdata);

#endif /* __VISCONTI_PINCTRL_COMMON_H__ */