blob: a9c7bb4790e4997b9a02e0a008d93942d888907e [file] [log] [blame]
Ying Zhang3ad27372014-10-31 18:06:18 +08001/*
2 * Copyright 2014 Freescale Semiconductor, Inc.
3 *
4 * SPDX-License-Identifier: GPL-2.0+
5 */
6
7#ifndef __VID_H_
8#define __VID_H_
9
10#define IR36021_LOOP1_MANUAL_ID_OFFSET 0x6A
11#define IR36021_LOOP1_VOUT_OFFSET 0x9A
12#define IR36021_MFR_ID_OFFSET 0x92
13#define IR36021_MFR_ID 0x43
14
15/* step the IR regulator in 5mV increments */
16#define IR_VDD_STEP_DOWN 5
17#define IR_VDD_STEP_UP 5
18int adjust_vdd(ulong vdd_override);
19
20#endif /* __VID_H_ */