Files
android_kernel_motorola_sm6225/include/linux/hssp_programmer.h
T
Kenny Kessler 6f78313042 motorola: dlkm: Add Cypress Capsense
Add the Cypress Capsense DLKM.

Change-Id: Ia38e38d0042431be56ed20ec800b9b70bca032c9
Signed-off-by: Kenny Kessler <kenny.kessler@motorola.com>
Reviewed-on: https://gerrit.mot.com/1099054
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Kenneth Kessler <kennykessler@motorola.com>
Submit-Approved: Jira Key
2017-12-05 11:26:16 -06:00

27 lines
1.0 KiB
C

/* Copyright (c) 2015, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <linux/notifier.h>
void register_hssp_update_notify(struct notifier_block *nb);
void unregister_hssp_update_notify(struct notifier_block *nb);
int cycapsense_fw_update(void);
int cycapsense_reset(void);
/*
static inline void register_hssp_update_notify(struct notifier_block *nb) { }
static inline void unregister_hssp_update_notify(struct notifier_block *nb) { }
static inline int cycapsense_fw_update(void) { return 0; }
static inline int cycapsense_reset(void) { return 0; }
*/
#define HSSP_START 0
#define HSSP_STOP 1