OpenBIC
OpenSource Bridge-IC
plat_i3c.h
Go to the documentation of this file.
1/*
2 * Copyright (c) Meta Platforms, Inc. and affiliates.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#ifndef PLAT_I3C_H
18#define PLAT_I3C_H
19
20#include "hal_i3c.h"
21
22#define RSTDAA_COUNT 2
23
24#define RG3MXXB12_CMD_INITIAL_SIZE 9
25#define P3H284X_CMD_INITIAL_SIZE 9
26
27#define LDO_VOLT \
28 V_LDO_SETTING(rg3mxxb12_ldo_1_0_volt, rg3mxxb12_ldo_1_8_volt, rg3mxxb12_ldo_1_2_volt, \
29 rg3mxxb12_ldo_1_2_volt)
30#define DEFAULT_SLAVE_PORT_SETTING 0x3F
31
32extern const uint8_t rg3mxxb12_cmd_initial[][2];
33extern const uint8_t p3h284x_cmd_initial[][2];
34
35void init_i3c_hub();
36
37#endif
const uint8_t p3h284x_cmd_initial[][2]
Definition: plat_i3c.c:23
void init_i3c_hub()
Definition: plat_i3c.c:36
const uint8_t rg3mxxb12_cmd_initial[][2]
Definition: plat_i3c.c:11