android_kernel_sony_sdm845/drivers/misc/vxr7200.h
Rajesh Bharathwaj 244c9ad7ef vxr7200: add sysfs node for proximity control
Adding sysfs node that could be used to turn off Display power supplies
when Proximity is off, and turns on Display when Proximity is on.
Also, added USB event handler to handle USB cable connect/disconnect
events.

Change-Id: Ib45def0282efc5a58e09b2b7c9a363d1a2d13ac5
Signed-off-by: Rajesh Bharathwaj <rajeshbharathwaj@codeaurora.org>
2020-07-01 11:37:13 -07:00

18 lines
637 B
C

/* Copyright (c) 2020 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.
*/
#ifndef __VXR7200_H_
#define __VXR7200_H_
void vxr7200_usb_event(bool usb_plug);
#endif /* __VXR7200_H_ */