| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
An LED can be part of any number of groups. It is a requirement that
the priority of that particular LED is same in all the groups where
that LED is a member.
If the input yaml file does not conform to this requirement, compilation
should fail.
Change-Id: I187730e835521d14564495cbe52eb139fc1bd264
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
| |
In some cases, it is needed that the Solid-ON action over rules
Blink and this patch adds that support.
Change-Id: Ib0a88b11142ccef3e39ef0a7c6eb3a037c878bc2
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
| |
* iteritems / iterkeys does not exist in python3, use
items / keys directly.
* Order of dicts cannot be relied on.
Change-Id: Ieaf5f58115d4015070d812814d98ca1e58d92ae2
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
LED group consists of name and the associated LEDs that need to be
actioned on when the group is asserted or de-asserted.
However, its not a hard requirement that all the groups must have the
associated LEDs if the system does not have the usecase.
For example, it is required from the firmware standpoint that the
groups "bmc_booted" and "power_on" be present but not all systems
may have a mapping LED. So in those cases, the group itself can be
in asserted state but without doing anything underneath. Providing
this support will make sure that addition of LEDs into those groups
if needed in the future are handled seamlessly.
Change-Id: I345886a3edbabf11f1e9f5c9de4b9cf28a7c33f6
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This converts the LED group names and LED names from all formats
to lower_case_underscore.
Example : fan0IdentifyTest will become fan0_identify_test
Fixes openbmc/openbmc#1312
Change-Id: Iffa458d593239eb1cb6be0bcda749260cb01c80d
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
|
|
|
|
|
|
|
| |
Fixes openbmc/openbmc#1039
Change-Id: I995168828a187671072f761668c873c2b1936874
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
| |
The output is currently placed in the same directory as the
script. Default instead to cwd, and allow the user to specify
so out of tree builds can work.
Change-Id: Ia7b94f509e0239f7697634d7a52f22e38d7efc6a
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
| |
Change-Id: Ifce2040d750254227ebee7af4e46fca029820c83
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Existing parse_led.py had a hardcoded reference to the current
directory and the file name 'led.yaml'. This patch introduces
changes through which an arbitrary directory and filename can be
passed. What would still remain the older way is the generation
of led-gen.hpp into the current source directorty
Change-Id: I352dadd6aa99ef80192dfca3071357917d4593b8
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
| |
Previous code only considered the Name and Action for the LED but then
DutyOn and Period are also the properties that are associated with LED
and this patchset handles that.
Change-Id: Ifb57719ed3bcf01a4704618089d9ce676e4b951c
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
| |
This patchset enables gtest to allow different combinations
of LED set operations to be verified at build time.
Change-Id: I9c2ddf82c2e23be911233b23037ee44e3ce301db
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
| |
This extends generated sdbusplus interface and provides implementation for
handling LED group operations.
Change-Id: I9e6f83f2f801de24d33937bc651228b1c0ccdc37
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
| |
This enables creating custom groups and participating LEDs so that
it can later be generated from MRW. For each of the group, a dbus object
is created which will announce LED actions. Corresponding groups are
asserted / de-asserted based on user input.
Change-Id: I7e64bea13767b8d083dd946f4cf3aeb37e62ff17
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
|
|
This enables creating custom groups and participating LEDs so that it can later
be generated from MRW. For each of the group, a dbus object is created which
will announce LED actions.
Fixes openbmc/openbmc#550
Change-Id: I7a56d08755288dcfce45ee4c6d6b6c5e5aa454f7
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
|