From: Vadim Pasternak <vadimp@mellanox.com>
To: gregkh@linuxfoundation.org, andy.shevchenko@gmail.com
Cc: linux-kernel@vger.kernel.org,
platform-driver-x86@vger.kernel.org, linux-leds@vger.kernel.org,
jacek.anaszewski@gmail.com, lee.jones@linaro.org,
robh+dt@kernel.org, jiri@resnulli.us, pavel@ucw.cz,
Vadim Pasternak <vadimp@mellanox.com>
Subject: [patch v2 0/3] drivers/platform: replace module x86/mlxcpld-hotplug with mellanox/mlxreg-hotplug
Date: Tue, 5 Sep 2017 14:28:24 +0000 [thread overview]
Message-ID: <1504621707-137323-1-git-send-email-vadimp@mellanox.com> (raw)
The patchset modifies x86/mlxcpld-hotplug.c for making it architecture
independent, renames to mlxreg-hotplug and moves it from
drivers/platform/x86 folder to new drivers/platform/mellanox folder.
This modification also 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.
Module include/linux/platform_data/mlxcpld-hotplug.h is removed and new
module include/linux/platform_data/mlxreg.h is to be used instead.
Driver drivers/platform/x86/mlx-platform.c is updated according to new
interface.
Relevant Makefile and Kconfig are updated.
New include file include/linux/platform_data/mlxreg.h from this patch is
added to allow kbuild testing.
Vadim Pasternak (3):
platform/mellanox: Introduce Mellanox hardware platform hotplug driver
platform/x86: mlx-platform: modify hotplug device activation
platform/x86: mlxcpld-hotplug: driver removing
MAINTAINERS | 12 +-
drivers/platform/Kconfig | 2 +
drivers/platform/Makefile | 1 +
drivers/platform/mellanox/Kconfig | 25 +
drivers/platform/mellanox/Makefile | 1 +
drivers/platform/mellanox/mlxreg-hotplug.c | 712 ++++++++++++++++++++++++++
drivers/platform/x86/Kconfig | 9 -
drivers/platform/x86/Makefile | 1 -
drivers/platform/x86/mlx-platform.c | 225 ++++++--
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, 1056 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
next reply other threads:[~2017-09-05 12:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-05 14:28 Vadim Pasternak [this message]
2017-09-05 14:28 ` [patch v2 1/3] platform/mellanox: Introduce Mellanox hardware platform hotplug driver Vadim Pasternak
2017-09-07 13:35 ` kbuild test robot
2017-09-05 14:28 ` [patch v2 2/3] platform/x86: mlx-platform: modify hotplug device activation Vadim Pasternak
2017-09-05 14:28 ` [patch v2 3/3] platform/x86: mlxcpld-hotplug: driver removing Vadim Pasternak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1504621707-137323-1-git-send-email-vadimp@mellanox.com \
--to=vadimp@mellanox.com \
--cc=andy.shevchenko@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=jacek.anaszewski@gmail.com \
--cc=jiri@resnulli.us \
--cc=lee.jones@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-leds@vger.kernel.org \
--cc=pavel@ucw.cz \
--cc=platform-driver-x86@vger.kernel.org \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®