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:38 +0200
commit74245cb7e924b5472ba2fdc44f9d53968e4c12a6 (patch)
tree382052c9e4a7772558c4e3501d0410b85308e80a
parent890a2c4db3879a71c7c8ebee384c2ec971bf1205 (diff)
platform_data/mlxreg: Add capability field to core platform data
(bsc#1112374).
-rw-r--r--patches.drivers/platform_data-mlxreg-Add-capability-field-to-core-pl.patch36
-rw-r--r--series.conf1
2 files changed, 37 insertions, 0 deletions
diff --git a/patches.drivers/platform_data-mlxreg-Add-capability-field-to-core-pl.patch b/patches.drivers/platform_data-mlxreg-Add-capability-field-to-core-pl.patch
new file mode 100644
index 0000000000..585d85d1f3
--- /dev/null
+++ b/patches.drivers/platform_data-mlxreg-Add-capability-field-to-core-pl.patch
@@ -0,0 +1,36 @@
+From: Vadim Pasternak <vadimp@mellanox.com>
+Date: Wed, 12 Dec 2018 23:59:14 +0000
+Subject: platform_data/mlxreg: Add capability field to core platform data
+Patch-mainline: v5.1-rc1
+Git-commit: 946e4e02b11889cb161b15ff4712a8ba21a50eb6
+References: bsc#1112374
+
+Add capability field to "mlxreg_core_platform_data" structure.
+The purpose of this register is to provide additional info to platform
+driver through the atribute related capability register.
+
+Signed-off-by: Vadim Pasternak <vadimp@mellanox.com>
+Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
+Acked-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
+---
+ include/linux/platform_data/mlxreg.h | 2 ++
+ 1 file changed, 2 insertions(+)
+
+--- a/include/linux/platform_data/mlxreg.h
++++ b/include/linux/platform_data/mlxreg.h
+@@ -61,6 +61,7 @@ struct mlxreg_hotplug_device {
+ * @reg: attribute register;
+ * @mask: attribute access mask;
+ * @bit: attribute effective bit;
++ * @capability: attribute capability register;
+ * @mode: access mode;
+ * @np - pointer to node platform associated with attribute;
+ * @hpdev - hotplug device data;
+@@ -72,6 +73,7 @@ struct mlxreg_core_data {
+ u32 reg;
+ u32 mask;
+ u32 bit;
++ u32 capability;
+ umode_t mode;
+ struct device_node *np;
+ struct mlxreg_hotplug_device hpdev;
diff --git a/series.conf b/series.conf
index c9faa0228e..5b68a72476 100644
--- a/series.conf
+++ b/series.conf
@@ -45715,6 +45715,7 @@
patches.arch/0005-virtio-blk-consider-virtio_max_dma_size-for-maximum-segment-size
patches.drivers/platform-x86-mlx-platform-Add-support-for-fan-direct.patch
patches.drivers/platform_data-mlxreg-Document-fixes-for-core-platfor.patch
+ patches.drivers/platform_data-mlxreg-Add-capability-field-to-core-pl.patch
patches.drivers/platform-x86-intel_pmc_core-Handle-CFL-regmap-proper.patch
patches.drivers/platform-x86-intel_pmc_core-Fix-PCH-IP-sts-reading.patch
patches.drivers/platform-x86-intel_pmc_core-Fix-PCH-IP-name.patch