Home Home > GIT Browse > SLE15-SP1-AZURE
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bogendoerfer <tbogendoerfer@suse.de>2019-06-19 18:03:06 +0200
committerThomas Bogendoerfer <tbogendoerfer@suse.de>2019-06-19 18:04:59 +0200
commit5fbe6b91e7e8ef015fe5a9d8ea178c6e3910d283 (patch)
tree570595dd8c4c95be16b4a41d07293b4666ed8e04
parent24f7cdf5c1f2d97bebf4a09451b9a1df675a2bbd (diff)
platform/x86: mlx-platform: Add UID LED for the next generation
systems (bsc#1112374).
-rw-r--r--patches.drivers/platform-x86-mlx-platform-Add-UID-LED-for-the-next-g.patch36
-rw-r--r--series.conf1
2 files changed, 37 insertions, 0 deletions
diff --git a/patches.drivers/platform-x86-mlx-platform-Add-UID-LED-for-the-next-g.patch b/patches.drivers/platform-x86-mlx-platform-Add-UID-LED-for-the-next-g.patch
new file mode 100644
index 0000000000..1943ca9e9f
--- /dev/null
+++ b/patches.drivers/platform-x86-mlx-platform-Add-UID-LED-for-the-next-g.patch
@@ -0,0 +1,36 @@
+From: Vadim Pasternak <vadimp@mellanox.com>
+Date: Tue, 26 Feb 2019 08:20:33 +0000
+Subject: platform/x86: mlx-platform: Add UID LED for the next generation
+ systems
+Patch-mainline: v5.1-rc1
+Git-commit: cc2597eb8eeb4634408e206a7374463868805d41
+References: bsc#1112374
+
+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>
+Acked-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
+---
+ drivers/platform/x86/mlx-platform.c | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+--- a/drivers/platform/x86/mlx-platform.c
++++ b/drivers/platform/x86/mlx-platform.c
+@@ -913,6 +913,11 @@ static struct mlxreg_core_data mlxplat_m
+ .capability = MLXPLAT_CPLD_LPC_REG_FAN_DRW_CAP_OFFSET,
+ .bit = BIT(5),
+ },
++ {
++ .label = "uid:blue",
++ .reg = MLXPLAT_CPLD_LPC_REG_LED5_OFFSET,
++ .mask = MLXPLAT_CPLD_LED_LO_NIBBLE_MASK,
++ },
+ };
+
+ static struct mlxreg_core_platform_data mlxplat_default_ng_led_data = {
diff --git a/series.conf b/series.conf
index 26fac347dd..9244ed80b6 100644
--- a/series.conf
+++ b/series.conf
@@ -45730,6 +45730,7 @@
patches.drivers/platform-x86-intel_pmc_core-Add-Package-cstates-resi.patch
patches.drivers/platform-x86-intel_pmc_core-Quirk-to-ignore-XTAL-shu.patch
patches.drivers/platform-x86-mlx-platform-Add-extra-CPLD-for-next-ge.patch
+ patches.drivers/platform-x86-mlx-platform-Add-UID-LED-for-the-next-g.patch
patches.suse/msft-hv-1855-x86-hyperv-Fix-kernel-panic-when-kexec-on-HyperV.patch
patches.fixes/tools-lib-traceevent-fix-buffer-overflow-in-arg_eval.patch
patches.drivers/tpm-tpm_crb-Avoid-unaligned-reads-in-crb_recv.patch