linux/drivers/input/touchscreen/cyttsp_core.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Header file for:
 * Cypress TrueTouch(TM) Standard Product (TTSP) touchscreen drivers.
 * For use with Cypress Txx3xx parts.
 * Supported parts include:
 * CY8CTST341
 * CY8CTMA340
 *
 * Copyright (C) 2009, 2010, 2011 Cypress Semiconductor, Inc.
 * Copyright (C) 2012 Javier Martinez Canillas <[email protected]>
 *
 * Contact Cypress Semiconductor at www.cypress.com <[email protected]>
 */


#ifndef __CYTTSP_CORE_H__
#define __CYTTSP_CORE_H__

#include <linux/kernel.h>
#include <linux/err.h>
#include <linux/module.h>
#include <linux/types.h>
#include <linux/device.h>
#include <linux/regulator/consumer.h>

#define CY_NUM_RETRY

struct cyttsp_tch {} __packed;

/* TrueTouch Standard Product Gen3 interface definition */
struct cyttsp_xydata {} __packed;


/* TTSP System Information interface definition */
struct cyttsp_sysinfo_data {};

/* TTSP Bootloader Register Map interface definition */
#define CY_BL_CHKSUM_OK
struct cyttsp_bootloader_data {};

struct cyttsp;

struct cyttsp_bus_ops {};

enum cyttsp_state {};

struct cyttsp {};

struct cyttsp *cyttsp_probe(const struct cyttsp_bus_ops *bus_ops,
			    struct device *dev, int irq, size_t xfer_buf_size);

extern const struct dev_pm_ops cyttsp_pm_ops;

#endif /* __CYTTSP_CORE_H__ */