Received: by 10.213.65.68 with SMTP id h4csp402885imn; Tue, 27 Mar 2018 01:10:19 -0700 (PDT) X-Google-Smtp-Source: AG47ELs0aPYqd5footL+Vn8EzIjlD+u0RvzGO6bcDsr4B0kotluLyABpEvZqfb/QMpExX9QJzZH0 X-Received: by 10.99.95.5 with SMTP id t5mr30545242pgb.295.1522138219098; Tue, 27 Mar 2018 01:10:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522138219; cv=none; d=google.com; s=arc-20160816; b=W3x7h9u+KqICid5u0IDsMP0t9pnWu5mn3WskSfEFwbnEoNhZOdS1EVbsKeUJwoSXg9 L36v6WVz5ZWylYMkmxrfy/onjiBmiCeOyXXDsnUihAxEgzxREnjAkF6VoIFJfAgrJTuV XoV3gubo7BQaqjOp3GmhfUUTqZq/+dEO+wZyqAvVrdnJcmrTA0ny7HnkqKuv5TjZULCn 5mEF7wi73HtI37bGLne2a6AuNZyF7iNcsufTqGPVMqVj/dFhqcx0J71lAYEPhK6tL/u5 Ghi3O07L836L5aN8cw70ouGQOuRSdH02LyZXy/75qdSg3kB4W2NOFe0r/nm0Ic4K8RhS K3IA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=4/GEKwbQQ37HoBlZSRv9yaifWXWTdjeKrHFyMWSVoZM=; b=oTtofNRQMZ1m8+1BnXVDZeEc17cLER8Bf5ccFrsEuNeYkgIkSybq2FRbU+eUM+7IAE 64WVAoj82uVx/k901Av/DHnGJrJK+jroyQS8YN/4npED+l/zyN2/Ide1I5ISm9UzdKh3 WPBHoPdyOWNKxlBHCPn7xHyKGUdnWUKZ+YpArmZt7cPCq5nDK8tn06mREjDYl5xhrWsk 66FMxiudw4k/tS0WEZJ0RIFPsq5N9162RlIrlsIAu2s6Qs09x0ZqzXjCQFKopguPLsT5 qJXjDML6GVBVyNVWvNlsu1ad35I8HdZd4GvUF/2F1ntmFeL0PFVYKaMI9FMo6n/u5tu0 3oAw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mellanox.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v10si382296pgf.833.2018.03.27.01.10.04; Tue, 27 Mar 2018 01:10:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mellanox.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752286AbeC0IIK (ORCPT + 99 others); Tue, 27 Mar 2018 04:08:10 -0400 Received: from mail-il-dmz.mellanox.com ([193.47.165.129]:35086 "EHLO mellanox.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752035AbeC0IFw (ORCPT ); Tue, 27 Mar 2018 04:05:52 -0400 Received: from Internal Mail-Server by MTLPINE1 (envelope-from vadimp@mellanox.com) with ESMTPS (AES256-SHA encrypted); 27 Mar 2018 10:06:41 +0200 Received: from r-mgtswh-226.mtr.labs.mlnx. (r-mgtswh-226.mtr.labs.mlnx [10.209.1.51]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id w2R85mx0029508; Tue, 27 Mar 2018 11:05:48 +0300 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, michaelsh@mellanox.com, ivecera@redhat.com, Vadim Pasternak Subject: [PATCH v1 0/7] platform/x86: Mellanox add fixes and new features Date: Tue, 27 Mar 2018 10:02:00 +0000 Message-Id: <1522144927-56512-1-git-send-email-vadimp@mellanox.com> X-Mailer: git-send-email 2.1.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patcheset includes: Document fixes for mlxreg-hotplug driver and mlxreg header file. Fix for the race condition in mlxreg-hotplug driver. Adding support for ODM system types. Activation of Mellanox LED driver from mlx-platform. Introduction of new mlxreg-io driver. Activation of mlxreg-io driver from mlx-platform. Vadim Pasternak (7): platform_data/mlxreg: Document fixes for hotplug device platform/mellanox: mlxreg-hotplug: Document fixes for hotplug private data platform/mellanox: mlxreg-hotplug: add extra cycle for hotplug work queue platform: mellanox: add new ODM system types to mlx-platform platform/x86: mlx-platform: Add LED platform driver activation platform/mellanox: Introduce support for Mellanox register access driver platform/x86: mlx-platform: Add mlxreg-io platform driver activation drivers/platform/mellanox/Kconfig | 11 + drivers/platform/mellanox/Makefile | 1 + drivers/platform/mellanox/mlxreg-hotplug.c | 23 +- drivers/platform/mellanox/mlxreg-io.c | 221 ++++++++++++++ drivers/platform/x86/mlx-platform.c | 447 +++++++++++++++++++++++++++++ include/linux/platform_data/mlxreg.h | 66 ++++- 6 files changed, 765 insertions(+), 4 deletions(-) create mode 100644 drivers/platform/mellanox/mlxreg-io.c -- 2.1.4