brintos

brintos / linux-shallow public Read only

0
0
Text · 640 B · 37eec73 Raw
29 lines · c
1/* SPDX-License-Identifier: GPL-2.0 */2/* Copyright (C) 2022 Microchip Technology Inc. */3 4#ifndef _GPIO_PCI1XXXX_H5#define _GPIO_PCI1XXXX_H6 7#include <linux/spinlock.h>8#include <linux/mutex.h>9#include <linux/kthread.h>10#include <linux/types.h>11#include <linux/auxiliary_bus.h>12 13/* Perform operations like variable length write, read and write with read back for OTP / EEPROM14 * Perform bit mode write in OTP15 */16 17struct gp_aux_data_type {18	int irq_num;19	resource_size_t region_start;20	resource_size_t region_length;21};22 23struct auxiliary_device_wrapper {24	struct auxiliary_device aux_dev;25	struct gp_aux_data_type gp_aux_data;26};27 28#endif29