xref: /openbmc/phosphor-bmc-code-mgmt/eeprom-device/README.md (revision 30fd7e4cedcf0d6dfabe753ad698f6b4d135e38b)
1# EEPROM Device Update Daemon
2
3This daemon implements the update process for EEPROM device attached via I2C.
4
5## Entity Manager Configuration Example (Harma)
6
7The following JSON snippet demonstrates how to configure an EEPROM device,
8including bus details, address, GPIO settings, and compatibility information.
9
10```json
11{
12  "Name": "MB_Retimer",
13  "Bus": 12,
14  "Address": "0x24",
15  "FirmwareDevice": "MB_Retimer_EEPROM",
16  "MuxOutputs": [
17    {
18      "Name": "rt-cpu0-p1-enable",
19      "Polarity": "High"
20    },
21    {
22      "Name": "smb-rt-rom-p1-select",
23      "Polarity": "High"
24    }
25  ],
26  "FirmwareInfo": {
27    "VendorIANA": 40981,
28    "CompatibleHardware": "com.meta.Hardware.Harma.pt5161l.Retimer"
29  },
30  "Type": "PT5161LFirmware"
31}
32```
33
34## Entity Manager Interface
35
36The EEPROM device configuration can be found at the following D-Bus path,
37provided that the EEPROMDevice is a expose record in the Harma_MB Entity Manager
38configuration:
39
40```bash
41/xyz/openbmc_project/inventory/system/board/Harma_MB/MB_Retimer
42```
43
44The D-Bus interface name for EEPROMDevice configuration will be as follows:
45
46```bash
47xyz.openbmc_project.Configuration.EEPROMDevice
48```
49