iic_dvfs.h 544 Bytes
Newer Older
1
/*
2
 * Copyright (c) 2015-2021, Renesas Electronics Corporation. All rights reserved.
3
4
5
6
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

7
8
#ifndef IIC_DVFS_H
#define IIC_DVFS_H
9
10

/* PMIC slave */
11
12
13
14
#define PMIC			(0x30U)
#define BKUP_MODE_CNT		(0x20U)
#define DVFS_SET_VID		(0x54U)
#define REG_KEEP10		(0x79U)
15
16

/* EEPROM slave */
17
18
#define EEPROM			(0x50U)
#define BOARD_ID		(0x70U)
19
20
21
22

int32_t rcar_iic_dvfs_receive(uint8_t slave, uint8_t reg, uint8_t *data);
int32_t rcar_iic_dvfs_send(uint8_t slave, uint8_t regr, uint8_t data);

23
#endif /* IIC_DVFS_H */