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

#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)