/*
 * Copyright 2022 Sony Corporation
 */

#ifndef _SONY_POWERKEY_FDR_CONFIG_H_
#define _SONY_POWERKEY_FDR_CONFIG_H_

#define POWERKEY_FDR_USE_RECOVERY
/* ADC_PORT_POWERKEY_DEV should not be defined if you use auto detected device from device tree */
/* #define ADC_PORT_POWERKEY_DEV	"sar@1c020a00" */
#define ADC_PORT_POWERKEY_NUM	0
#define ADC_PORT_POWERKEY_PRESSED_LEVEL_LOW	512
#define POWERKEY_FDR_CHECK_PERIOD_SEC	5

int do_check_powerkey_fdr(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]);

#endif // _SONY_POWERKEY_FDR_CONFIG_H_

