/* 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