summaryrefslogtreecommitdiff
path: root/test/genvif/src/board.h
blob: c596b833e09c4100487f2ec07103e3d81e6e1835 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* 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.
 */

#define PD_OPERATING_POWER_MW 15000
#define PD_MAX_POWER_MW 65000
#define PD_MAX_CURRENT_MA 3250
#define PD_MAX_VOLTAGE_MV 20000

/* Stubs required by the shared code */
#define GPIO_PIN(port, index) (GPIO_##port, BIT(index))
#define GPIO_PIN_MASK(p, m) .port = GPIO_##p, .mask = (m)