linux/drivers/pinctrl/mediatek/pinctrl-mt6797.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Based on pinctrl-mt6765.c
 *
 * Copyright (C) 2018 MediaTek Inc.
 *
 * Author: ZH Chen <[email protected]>
 *
 * Copyright (C) Manivannan Sadhasivam <[email protected]>
 *
 */

#include "pinctrl-mtk-mt6797.h"
#include "pinctrl-paris.h"

/*
 * MT6797 have multiple bases to program pin configuration listed as the below:
 * gpio:0x10005000, iocfg[l]:0x10002000, iocfg[b]:0x10002400,
 * iocfg[r]:0x10002800, iocfg[t]:0x10002C00.
 * _i_base could be used to indicate what base the pin should be mapped into.
 */

static const struct mtk_pin_field_calc mt6797_pin_mode_range[] =;

static const struct mtk_pin_field_calc mt6797_pin_dir_range[] =;

static const struct mtk_pin_field_calc mt6797_pin_di_range[] =;

static const struct mtk_pin_field_calc mt6797_pin_do_range[] =;

static const struct mtk_pin_reg_calc mt6797_reg_cals[PINCTRL_PIN_REG_MAX] =;

static const char * const mt6797_pinctrl_register_base_names[] =;

static const struct mtk_pin_soc mt6797_data =;

static const struct of_device_id mt6797_pinctrl_of_match[] =;

static struct platform_driver mt6797_pinctrl_driver =;

static int __init mt6797_pinctrl_init(void)
{}
arch_initcall(mt6797_pinctrl_init);