summaryrefslogtreecommitdiff
path: root/meta-inspur/meta-fp5280g2/recipes-phosphor/leds
AgeCommit message (Collapse)AuthorFilesLines
2021-01-20meta-inspur: ledManager: Update led-group-config.jsonGeorge Liu1-288/+0
All core groups have been removed. (From meta-inspur rev: 2eec3eee4957224ca8840736763f13d5e739576a) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I3ab79cf7cc0f993fdbcfdb361a4e68c684a520e6 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-09-04fp5280g2: leds: Add JSON configuration file having Group definitionGeorge Liu1-0/+588
This commit adds the JSON configuration file having LED Group definitions and also enables using JSON at runtime than using the compile time generated group definition from YAML. (From meta-inspur rev: 88e5fee64a82d51e3f10137e9248a5aa72201c06) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: Idba650ab8e9df85eaca266ffd678baa48d9c91f3 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-21fp5280g2: replace --enable-use_json by --enable-use-jsonGeorge Liu1-1/+1
For consistency, use hyphen and not a mix of underscore and hyphen. (From meta-inspur rev: 21b37ce156ec4301f08aae1a70e049c37dadc7bf) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I93965d7534f10a88d61e656833414c70b7f5822c Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-10fp5280g2: Load LED manager with JSON configurationGeorge Liu2-0/+47
Since the led manager used the default YAML to generated led-gen.hpp and creates D-Bus object for the groups, and we tend to use JSON instead of YAML to create it. Tested: built successfully on phosphor-led-manager and create D-Bus object used JSON configuration. (From meta-inspur rev: 911c71c43beb4a3696f5c846bee06bc0a0d7bab2) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: Ibc72f26519bb968ed4b4c8df4e068206ab9c0704 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2019-09-23fp5280g2: Add led manager configureChicago Duan2-0/+39
Use the "init-ok" gpio to notify CPLD that the BMC has been initialized. CPLD will cause the power button led to blink. Tested: When BMC is booted complete, the power button will blink (From meta-inspur rev: 66361442598357012e8c2357ab94ed3323a1d20b) Signed-off-by: Chicago Duan <duanzhijia01@inspur.com> Change-Id: I5bbadd6de8058814d8765e02e137b58ea3f07278 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>