blob: 9b02a9feaf983d0b30222fd91c278c32b8844443 (
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.
*/
/* Tegra power module for Chrome EC */
#ifndef __CROS_EC_TEGRA_POWER_H
#define __CROS_EC_TEGRA_POWER_H
#include "gpio.h"
#ifdef CONFIG_CHIPSET_TEGRA
/**
* Interrupt handlers for Tegra chipset GPIOs.
*/
void tegra_power_event(enum gpio_signal signal);
void tegra_suspend_event(enum gpio_signal signal);
#else
#define tegra_power_event NULL
#define tegra_suspend_event NULL
#endif
#endif /* __CROS_EC_TEGRA_POWER_H */
|