History log of /openbmc/phosphor-gpio-monitor/README.md (Results 1 – 5 of 5)
Revision Date Author Comments
# eb1e29fa 05-Aug-2024 George Liu <liuxiwei@ieisystem.com>

README.md: Fix MD024 warnings

The following warnings are generated by using markdownlint analysis:
```
README.md:91 MD024/no-duplicate-heading Multiple headings with the same content [Context: "## C

README.md: Fix MD024 warnings

The following warnings are generated by using markdownlint analysis:
```
README.md:91 MD024/no-duplicate-heading Multiple headings with the same content [Context: "## Configuration"]
README.md:109 MD024/no-duplicate-heading Multiple headings with the same content [Context: "## Sample config file"]
```
Refer to markdown-lint [1] to fix MD024
[1]: https://github.com/updownpress/markdown-lint/blob/master/rules/024-no-duplicate-header.md

Signed-off-by: George Liu <liuxiwei@ieisystem.com>
Change-Id: I37415b6d3212a0ac9419919095296e9ff2e21fad

show more ...


# 46a9a5b9 10-Aug-2023 Patrick Rudolph <patrick.rudolph@9elements.com>

Add phosphor-multi-gpio-presence

The new service works like phosphor-gpio-presence, but uses libgpiod
and can monitor an arbitrary amount of GPIOs.

The driver loading feature hasn't been ported to

Add phosphor-multi-gpio-presence

The new service works like phosphor-gpio-presence, but uses libgpiod
and can monitor an arbitrary amount of GPIOs.

The driver loading feature hasn't been ported to the new service.

Change-Id: I412345f804208e48eec40ec020b3a0d8f668a34b
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>

show more ...


# a66ac0fc 09-Jan-2023 Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>

Support event multi targets

Description:
- Support event multi targets.

Design:
- The origin multi-gpio-monitor doesn't detect the comming events are
rising or falling and it can only start one s

Support event multi targets

Description:
- Support event multi targets.

Design:
- The origin multi-gpio-monitor doesn't detect the comming events are
rising or falling and it can only start one service after events
triggered.

- We need to do corresponding actions when gpio pin rising or falling.
So we modify multi-gpio-monitor config json and read the rising
actions and falling actions in it.

- When service monitored one gpio status is changed,
service will detect that it is a rising or falling event and then
call systemd startUnit to start services that set in config json.

- For example with config json below:
When PowerGood is falling, "PowerGoodFalling.service"
and "PowerOff.service" will start.
[
{
"Name": "PowerGood",
"ChipId": "0",
"GpioNum": 14,
"EventMon": "BOTH",
"Targets": {
"FALLING": ["PowerGoodFalling.service", "PowerOff.service"],
"RISING": ["PowerGoodRising.service", "PowerOn.service"]
},
"Continue": true
}
]

Test Case:
Check that corresponding targets start or not - pass

Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
Change-Id: I043d4385b91a04d360a4d50048320db15e63ac74

show more ...


# b5bd8853 06-Dec-2022 Patrick Williams <patrick@stwcx.xyz>

reformat and fix markdownlint issues

Fix the prettier / markdownlint format issues in the repository.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ie00d9f902c1323ca997d82e21ae2d8f

reformat and fix markdownlint issues

Fix the prettier / markdownlint format issues in the repository.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ie00d9f902c1323ca997d82e21ae2d8f8669ba896

show more ...


# 939a6431 09-Oct-2019 Vijay Khemka <vijaykhemka@fb.com>

GPIO Monitor with multiple lines and libgpiod

Added a new GPIO monitor (phosphor-multi-gpio-monitor) which monitors
multiple gpio lines based on their line name or offset. GPIO details

GPIO Monitor with multiple lines and libgpiod

Added a new GPIO monitor (phosphor-multi-gpio-monitor) which monitors
multiple gpio lines based on their line name or offset. GPIO details
need to be defined in a JSON file and needs to be passed to this daemon.

This uses libgpiod for accessing gpio lines and also uses CLI11 for
parsing input parameter.

Signed-off-by: Vijay Khemka <vijaykhemka@fb.com>
Change-Id: I843e6df8c1159888f2ca628d1f69c1d2294d29d6

show more ...