[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1508264554-184107-1-git-send-email-vadimp@mellanox.com>
Date: Tue, 17 Oct 2017 18:22:31 +0000
From: Vadim Pasternak <vadimp@...lanox.com>
To: dvhart@...radead.org, andy.shevchenko@...il.com,
gregkh@...uxfoundation.org
Cc: linux-kernel@...r.kernel.org, platform-driver-x86@...r.kernel.org,
jiri@...nulli.us, Vadim Pasternak <vadimp@...lanox.com>
Subject: [patch v4 0/3] drivers/platform: replace module x86/mlxcpld-hotplug with mellanox/mlxreg-hotplug
The patchset:
- replaces modules include/linux/platform_data/mlxcpld-hotplug.h and
drivers/platform/x86/mlxcpld-hotplug.c with the modules
include/linux/platform_data/mlxreg.h and
drivers/platform/mellanox/mlxreg-hotplug.c;
relevant Makefile and Kconfig are updated;
- modifies Mellanox hotplug driver for making it architecture
independent. Drivers has been tested for x86 and ARM based systems.
- introduces regmap interface for mlxreg-hotplug driver to allow hotplug
event functionality over programmable devices logic, when these devices
can be attached to different interfaces types, like I2C, LPC, SPI;
driver drivers/platform/x86/mlx-platform.c is updated according to new
interface.
Vadim Pasternak (3):
platform/x86: move Mellanox hardware platform hotplug driver to
platform/mellanox
platform/mellanox: mlxreg-hotplug: allow driver for ARM architecture
platform/mellanox: mlxreg-hotplug: modify to use regmap intreface
MAINTAINERS | 15 +-
drivers/platform/Kconfig | 2 +
drivers/platform/Makefile | 1 +
drivers/platform/mellanox/Kconfig | 25 +
drivers/platform/mellanox/Makefile | 1 +
drivers/platform/mellanox/mlxreg-hotplug.c | 699 ++++++++++++++++++++++++++
drivers/platform/x86/Kconfig | 9 -
drivers/platform/x86/Makefile | 1 -
drivers/platform/x86/mlx-platform.c | 239 +++++++--
drivers/platform/x86/mlxcpld-hotplug.c | 515 -------------------
include/linux/platform_data/mlxcpld-hotplug.h | 99 ----
include/linux/platform_data/mlxreg.h | 138 +++++
12 files changed, 1060 insertions(+), 684 deletions(-)
create mode 100644 drivers/platform/mellanox/Kconfig
create mode 100644 drivers/platform/mellanox/Makefile
create mode 100644 drivers/platform/mellanox/mlxreg-hotplug.c
delete mode 100644 drivers/platform/x86/mlxcpld-hotplug.c
delete mode 100644 include/linux/platform_data/mlxcpld-hotplug.h
create mode 100644 include/linux/platform_data/mlxreg.h
--
2.1.4
Powered by blists - more mailing lists