-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
common: Adjust rg3mxxb12 I3C HUB init function (#1478)
Summary: # Description - Let Rg3mxxb12 I3C HUB initial function using the same way to set LOD_VOLT. # Motivation - The two projects use the function in different way, adjust it in the same to avoid confused. Pull Request resolved: #1478 Test Plan: - Build code: Pass - Check I3C Hub init in GL: Pass - Check I3C HUB init in Yv4: Pass # Log: 1. Check I3C Hub config setting is correct on Yv4. [BIC console] uart:~$ i3c ccc I3C_1 -a 0x7E -i 0x06 Send CCC ID 0x06 (w) to address 0x7e uart:~$ i3c ccc I3C_1 -a 0x7E -i 0x06 Send CCC ID 0x06 (w) to address 0x7e uart:~$ i3c ccc I3C_1 -a 0x7E -i 0x29 Send CCC ID 0x29 (w) to address 0x7e uart:~$ uart:~$ i3c ccc I3C_1 -a 0x70 -i 0x8D -r 6 Send CCC ID 0x8d (r) to address 0x70 00000000: 04 cd 0c 46 99 04 |...F.. | uart:~$ i3c xfer I3C_1 -a 0x70 -w 0x16 -r 1 Private transfer to address 0x70 00000000: aa |. | 2. Get DIMM information through I3C on GL. root@bmc-oob:~# dimm-util slot1 --serial FRU: slot1 DIMM A Serial Number: 76833FCE DIMM B Serial Number: 76833F04 DIMM C Serial Number: 76833F1E DIMM D Serial Number: 76833F3E DIMM E Serial Number: 76833EFE DIMM F Serial Number: 76833FCB DIMM G Serial Number: 76833ED2 DIMM H Serial Number: 76833F28 Reviewed By: amithash Differential Revision: D51460353 fbshipit-source-id: 9c24367a864b1a60abf1f0086862cca948bcd681
- Loading branch information
1 parent
ae43dd9
commit 2cc2f0d
Showing
6 changed files
with
38 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/* | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
#ifndef PLAT_I3C_H | ||
#define PLAT_I3C_H | ||
|
||
#include "rg3mxxb12.h" | ||
|
||
#define LDO_VOLT \ | ||
V_LDO_SETTING(rg3mxxb12_ldo_1_2_volt, rg3mxxb12_ldo_1_2_volt, rg3mxxb12_ldo_1_2_volt, \ | ||
rg3mxxb12_ldo_1_2_volt) | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters