blob: 2dec58f6473190a841fb9aec305330eaa76ea81d [file] [log] [blame]
Jorge Ramirez-Ortizab853b02018-09-23 09:40:26 +02001/*
2 * Copyright (c) 2015-2017, Renesas Electronics Corporation. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +00007#ifndef IIC_DVFS_H
8#define IIC_DVFS_H
Jorge Ramirez-Ortizab853b02018-09-23 09:40:26 +02009
10/* PMIC slave */
11#define PMIC (0x30)
12#define BKUP_MODE_CNT (0x20)
13#define DVFS_SET_VID (0x54)
14#define REG_KEEP10 (0x79)
15
16/* EEPROM slave */
17#define EEPROM (0x50)
18#define BOARD_ID (0x70)
19
20int32_t rcar_iic_dvfs_receive(uint8_t slave, uint8_t reg, uint8_t *data);
21int32_t rcar_iic_dvfs_send(uint8_t slave, uint8_t regr, uint8_t data);
22
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +000023#endif /* IIC_DVFS_H */