mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-31 22:23:05 +00:00

Add HID Low level driver callbacks and hid probe function to register QucikSPI 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 _QUICKSPI_HID_H_
|
|
#define _QUICKSPI_HID_H_
|
|
|
|
struct quickspi_device;
|
|
|
|
int quickspi_hid_send_report(struct quickspi_device *qsdev,
|
|
void *data, size_t data_size);
|
|
int quickspi_hid_probe(struct quickspi_device *qsdev);
|
|
void quickspi_hid_remove(struct quickspi_device *qsdev);
|
|
|
|
#endif /* _QUICKSPI_HID_H_ */
|