/*
 *
 * Copyright (C) 2012-2019, Samsung Electronics Co., Ltd.
 *
 * GPIO interface, local implementation
 */

#include <errno.h>
#include "dbg.h"
#include "device.h"
#include "secmap.h"
#include "touch_gpio.h"

#ifdef USE_TOUCH_INTERRUPT
static void gpio_save_state(void)
{
}

int map_gpio_sfr(void)
{
    return 0;
}

void gpio_restore_state(void)
{
}

void gpio_config(void)
{
    gpio_save_state();
}

/* Enable/disable touch attention interrupt from gpio */
void gpio_enable_touch_irq(bool enable)
{
    (void)enable;
}

/* Clear pending touch attention interrupt */
void gpio_clear_pend_irq(void)
{
}
#endif /* USE_TOUCH_INTERRUPT */