blob: dd570762e2f5af72063ac25a0e36ad990d543773 (
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
|
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef LUMPY_ONBOARD_H
#define LUMPY_ONBOARD_H
#define BOARD_LIGHTSENSOR_NAME "lightsensor"
#define BOARD_LIGHTSENSOR_I2C_ADDR 0x44
#define BOARD_LIGHTSENSOR_IRQ 20
#define BOARD_TRACKPAD_NAME "trackpad"
#define BOARD_TRACKPAD_I2C_ADDR 0x67
#define BOARD_TRACKPAD_IRQ 21
#define BOARD_TRACKPAD_WAKE_GPIO 0x1b
/* Write Protect: GPIO24 = KBC3_SPI_WP#, active high */
#define GPIO_SPI_WP 24
/* Recovery: GPIO42 = CHP3_REC_MODE#, active low */
#define GPIO_REC_MODE 42
#ifndef __ACPI__
int get_power_switch(void);
#endif
#endif
|