Add the snapshots of vibrator LDO and aw2016 led drivers to 5.15 kernel. This snapshot is based on the msm-5.4 mainline commit 858c8bc8aa2c (Merge "msm: kgsl: Perform cache flush on the pages obtained using get_user_pages()"). Change-Id: I96468b3bccf4f53a2c868f6576833e3777d042aa Signed-off-by: Shilpa Suresh <quic_c_sbsure@quicinc.com>
32 lines
740 B
C
32 lines
740 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (c) 2015, The Linux Foundation. All rights reserved.
|
|
* Copyright (c) 2022, Qualcomm Innovation Center, Inc. All rights reserved.
|
|
*/
|
|
|
|
#ifndef __LINUX_AW2016_LED_H__
|
|
#define __LINUX_AW2016_LED_H__
|
|
|
|
/* The definition of each time described as shown in figure.
|
|
* /-----------\
|
|
* / | \
|
|
* /| | |\
|
|
* / | | | \-----------
|
|
* |hold_time_ms | |
|
|
* | | |
|
|
* rise_time_ms fall_time_ms |
|
|
* off_time_ms
|
|
*/
|
|
|
|
struct aw2016_platform_data {
|
|
int imax;
|
|
int led_current;
|
|
int rise_time_ms;
|
|
int hold_time_ms;
|
|
int fall_time_ms;
|
|
int off_time_ms;
|
|
struct aw2016_led *led;
|
|
};
|
|
|
|
#endif
|