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 "rg3mxxb12.h"
21#include "p3h284x.h"
22
23#define I3C_BUS3 2
24
25#define SEND_SETAASA_STACK_SIZE 1024
26#define SEND_SETAASA_TIME_MS 5000
27
28#define RG3MXXB12_CMD_INITIAL_SIZE 9
29#define P3H284X_CMD_INITIAL_SIZE 6
30
31#define LDO_VOLT \
32 V_LDO_SETTING(rg3mxxb12_ldo_1_2_volt, rg3mxxb12_ldo_1_2_volt, rg3mxxb12_ldo_1_2_volt, \
33 rg3mxxb12_ldo_1_2_volt)
34
35extern const uint8_t rg3mxxb12_cmd_initial[][2];
36extern const uint8_t p3h284x_cmd_initial[][2];
37
38void start_setaasa();
39void send_setaasa();
40
41#endif
const uint8_t p3h284x_cmd_initial[][2]
Definition: plat_i3c.c:23
const uint8_t rg3mxxb12_cmd_initial[][2]
Definition: plat_i3c.c:11
void send_setaasa()
Definition: plat_i3c.c:64
void start_setaasa()
Definition: plat_i3c.c:55