summaryrefslogtreecommitdiff
path: root/zephyr/shim/include/zephyr_shim.h
blob: dce1706c5b9407e117cd367443a0e921e4528c3a (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
29
30
31
32
33
34
35
36
/* Copyright 2020 The ChromiumOS Authors
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#ifndef __BOARD_H
#define __BOARD_H

#include "common.h"

#include <zephyr/devicetree.h>

/* Included shimed version of gpio signal. */
#include "gpio_signal.h"

/* Include shimmed version of power signal */
#include "power/power.h"

/* Include board specific i2c mapping if I2C is enabled. */
#if defined(CONFIG_I2C)
#include "i2c/i2c.h"
#endif

/* Include board specific sensor configuration if motionsense is enabled */
#ifdef CONFIG_MOTIONSENSE
#include "motionsense_sensors_defs.h"
#endif

/*
 * Should generate enums for each charger.
 */
#ifdef CONFIG_PLATFORM_EC_OCPC
#include "charger_enum.h"
#endif

#endif /* __BOARD_H */