summaryrefslogtreecommitdiff
path: root/board/host/gpio.inc
blob: 9e0df82334bf47f5a8ac59430b406b13b31880aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* -*- mode:c -*-
 *
 * Copyright (c) 2014 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.
 */

GPIO(EC_INT,               0, 0, 0,             NULL)
GPIO(LID_OPEN,             0, 0, GPIO_INT_BOTH, lid_interrupt)
GPIO(POWER_BUTTON_L,       0, 0, GPIO_INT_BOTH, power_button_interrupt)
GPIO(WP,                   0, 0, 0,             NULL)
GPIO(ENTERING_RW,          0, 0, 0,             NULL)
GPIO(AC_PRESENT,           0, 0, GPIO_INT_BOTH, extpower_interrupt)
GPIO(PCH_BKLTEN,           0, 0, 0,             NULL)
GPIO(ENABLE_BACKLIGHT,     0, 0, 0,             NULL)
GPIO(BUTTON_VOLUME_DOWN_L, 0, 0, GPIO_INT_BOTH, button_interrupt)
GPIO(BUTTON_VOLUME_UP,     0, 0, GPIO_INT_BOTH, button_interrupt)

/* Inductive charging */
GPIO(CHARGE_EN,            0, 0, 0,             NULL)
GPIO(CHARGE_DONE,          0, 0, GPIO_INT_BOTH, inductive_charging_interrupt)
GPIO(BASE_CHG_VDD_EN,      0, 0, 0,             NULL)