mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-02 16:44:59 +00:00

Add HID Low level driver callbacks and hid probe function to register QucikI2C as a HID driver, and external touch device as a HID device. Co-developed-by: Xinpeng Sun <xinpeng.sun@intel.com> Signed-off-by: Xinpeng Sun <xinpeng.sun@intel.com> Signed-off-by: Even Xu <even.xu@intel.com> Tested-by: Rui Zhang <rui1.zhang@intel.com> Tested-by: Mark Pearson <mpearson-lenovo@squebb.ca> Reviewed-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Reviewed-by: Mark Pearson <mpearson-lenovo@squebb.ca> Tested-by: Aaron Ma <aaron.ma@canonical.com> Signed-off-by: Jiri Kosina <jkosina@suse.com>
15 lines
401 B
C
15 lines
401 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/* Copyright (c) 2024 Intel Corporation */
|
|
|
|
#ifndef _QUICKI2C_HID_H_
|
|
#define _QUICKI2C_HID_H_
|
|
|
|
struct quicki2c_device;
|
|
|
|
int quicki2c_hid_send_report(struct quicki2c_device *qcdev,
|
|
void *data, size_t data_size);
|
|
int quicki2c_hid_probe(struct quicki2c_device *qcdev);
|
|
void quicki2c_hid_remove(struct quicki2c_device *qcdev);
|
|
|
|
#endif /* _QUICKI2C_HID_H_ */
|