blob: 4e44e66f2f85c649582fa7b9abbe81c86feacfc6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
/* Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
/* Gaia power module for Chrome EC */
#ifndef __CROS_EC_GAIA_POWER_H
#define __CROS_EC_GAIA_POWER_H
#include "gpio.h"
#ifdef CONFIG_CHIPSET_GAIA
/**
* Interrupt handlers for Gaia chipset GPIOs.
*/
void gaia_power_event(enum gpio_signal signal);
void gaia_suspend_event(enum gpio_signal signal);
#else
#define gaia_power_event NULL
#define gaia_suspend_event NULL
#endif
#endif /* __CROS_EC_GAIA_POWER_H */
|