1 /*
2  * Renesas SCP/MCP Software
3  * Copyright (c) 2020-2022, Renesas Electronics Corporation. All rights
4  * reserved.
5  *
6  * SPDX-License-Identifier: BSD-3-Clause
7  */
8 
9 /* The use of "subordinate" may not be in sync with platform documentation */
10 
11 #ifndef RCAR_IIC_DVFS_H
12 #define RCAR_IIC_DVFS_H
13 
14 /* PMIC subordinate */
15 #define PMIC          (0x30)
16 #define BKUP_MODE_CNT (0x20)
17 #define DVFS_SET_VID (0x54)
18 #define REG_KEEP10 (0x79)
19 
20 /* EEPROM subordinate */
21 #define EEPROM   (0x50)
22 #define BOARD_ID (0x70)
23 
24 int32_t rcar_iic_dvfs_receive(uint8_t subordinate, uint8_t reg, uint8_t *data);
25 int32_t rcar_iic_dvfs_send(uint8_t subordinate, uint8_t regr, uint8_t data);
26 
27 #endif /* RCAR_IIC_DVFS_H */
28