Skip to content

Commit cc2597e

Browse files
mellanoxbmcdvhart
authored andcommitted
platform/x86: mlx-platform: Add UID LED for the next generation systems
Add support for UID LED for the next generation systems MQMB7xx, MSN37xx, MSN34xx, MSN38xx. All these systems support UID LED control through the programmable device. The UID LED is to be exposed to leds-mlxreg driver. Signed-off-by: Vadim Pasternak <vadimp@mellanox.com> Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
1 parent eb480b4 commit cc2597e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

drivers/platform/x86/mlx-platform.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -913,6 +913,11 @@ static struct mlxreg_core_data mlxplat_mlxcpld_default_ng_led_data[] = {
913913
.capability = MLXPLAT_CPLD_LPC_REG_FAN_DRW_CAP_OFFSET,
914914
.bit = BIT(5),
915915
},
916+
{
917+
.label = "uid:blue",
918+
.reg = MLXPLAT_CPLD_LPC_REG_LED5_OFFSET,
919+
.mask = MLXPLAT_CPLD_LED_LO_NIBBLE_MASK,
920+
},
916921
};
917922

918923
static struct mlxreg_core_platform_data mlxplat_default_ng_led_data = {

0 commit comments

Comments
 (0)