From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757150AbeAHMUJ (ORCPT + 1 other); Mon, 8 Jan 2018 07:20:09 -0500 Received: from mail-il-dmz.mellanox.com ([193.47.165.129]:35482 "EHLO mellanox.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756426AbeAHMUH (ORCPT ); Mon, 8 Jan 2018 07:20:07 -0500 From: Vadim Pasternak To: dvhart@infradead.org, andy.shevchenko@gmail.com, gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org, platform-driver-x86@vger.kernel.org, jiri@resnulli.us, Vadim Pasternak Subject: [patch v7 0/3] rivers/platform: replace module x86/mlxcpld-hotplug with mellanox/mlxreg-hotplug Date: Mon, 8 Jan 2018 14:16:36 +0000 Message-Id: <1515420999-4133-1-git-send-email-vadimp@mellanox.com> X-Mailer: git-send-email 2.1.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: 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 | 7 +- drivers/platform/Kconfig | 2 + drivers/platform/Makefile | 1 + drivers/platform/mellanox/Kconfig | 26 + drivers/platform/mellanox/Makefile | 6 + drivers/platform/mellanox/mlxreg-hotplug.c | 714 ++++++++++++++++++++++++++ drivers/platform/x86/Kconfig | 9 - drivers/platform/x86/Makefile | 1 - drivers/platform/x86/mlx-platform.c | 237 +++++++-- drivers/platform/x86/mlxcpld-hotplug.c | 515 ------------------- include/linux/platform_data/mlxcpld-hotplug.h | 99 ---- include/linux/platform_data/mlxreg.h | 144 ++++++ 12 files changed, 1082 insertions(+), 679 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