#include <linux/input-polldev.h>
#include <linux/amlogic/scpi_protocol.h>
#include "adc_keypad.h"
+#include <linux/amlogic/scpi_protocol.h>
#define POLL_INTERVAL_DEFAULT 25
#define KEY_JITTER_COUNT 1
input_report_key(kp->poll_dev->input,
KEY_POWER, 0);
input_sync(kp->poll_dev->input);
+ if (scpi_clr_wakeup_reason())
+ pr_debug("clr adc wakeup reason fail.\n");
break;
}
#include <linux/interrupt.h>
#include <linux/slab.h>
#include <linux/amlogic/pm.h>
+#include <linux/amlogic/scpi_protocol.h>
#undef pr_fmt
#define pr_fmt(fmt) "gpio-keypad: " fmt
break;
}
}
+ if (scpi_clr_wakeup_reason())
+ pr_debug("clr gpio kp wakeup reason fail.\n");
}
return 0;
}
#include <linux/amlogic/pm.h>
#include <linux/of_address.h>
#include "../../../gpio/gpiolib.h"
+#include <linux/amlogic/scpi_protocol.h>
#define OFFSET 24
break;
}
}
+ if (scpi_clr_wakeup_reason())
+ pr_debug("clr gipo key wakeup reason fail.\n");
}
return 0;
}
#include <linux/amlogic/iomap.h>
#include <linux/pm_wakeup.h>
#include <linux/pm_wakeirq.h>
+#include <linux/amlogic/scpi_protocol.h>
static void amlremote_tasklet(unsigned long data);
static void learning_done_workqueue(struct work_struct *work);
input_event(chip->r_dev->input_device,
EV_KEY, KEY_POWER, 0);
input_sync(chip->r_dev->input_device);
+ if (scpi_clr_wakeup_reason())
+ pr_debug("clr wakeup reason fail.\n");
}
if (get_resume_method() == REMOTE_CUS_WAKEUP) {
input_sync(chip->r_dev->input_device);
input_event(chip->r_dev->input_device, EV_KEY, 133, 0);
input_sync(chip->r_dev->input_device);
+ if (scpi_clr_wakeup_reason())
+ pr_debug("clr wakeup reason fail.\n");
}
#endif
#include <linux/debugfs.h>
#include <linux/input.h>
#include <linux/amlogic/pm.h>
+#include <linux/amlogic/scpi_protocol.h>
static void __iomem *alarm_reg_vaddr;
static void __iomem *timere_low_vaddr, *timere_high_vaddr;
input_sync(vinput_dev);
input_event(vinput_dev, EV_KEY, KEY_POWER, 0);
input_sync(vinput_dev);
+ if (scpi_clr_wakeup_reason())
+ pr_debug("clr vrtc wakeup reason fail.\n");
}
}