From patchwork Sun Jun 23 12:16:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Vadim Pasternak X-Patchwork-Id: 11011681 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C835776 for ; Sun, 23 Jun 2019 12:16:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B710828AF8 for ; Sun, 23 Jun 2019 12:16:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A913528B02; Sun, 23 Jun 2019 12:16:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3C9CF28AF8 for ; Sun, 23 Jun 2019 12:16:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726408AbfFWMQf (ORCPT ); Sun, 23 Jun 2019 08:16:35 -0400 Received: from mail-il-dmz.mellanox.com ([193.47.165.129]:60367 "EHLO mellanox.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726086AbfFWMQe (ORCPT ); Sun, 23 Jun 2019 08:16:34 -0400 Received: from Internal Mail-Server by MTLPINE2 (envelope-from vadimp@mellanox.com) with ESMTPS (AES256-SHA encrypted); 23 Jun 2019 15:16:32 +0300 Received: from r-build-lowlevel.mtr.labs.mlnx. (r-build-lowlevel.mtr.labs.mlnx [10.209.0.190]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id x5NCGW1D001431; Sun, 23 Jun 2019 15:16:32 +0300 From: Vadim Pasternak To: andy.shevchenko@gmail.com, dvhart@infradead.org Cc: platform-driver-x86@vger.kernel.org, Vadim Pasternak Subject: [PATCH v1 platform-next 0/7] platform/x86: mlx-platform: init flow amendments and support for new attributes Date: Sun, 23 Jun 2019 12:16:23 +0000 Message-Id: <20190623121630.17945-1-vadimp@mellanox.com> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Sender: platform-driver-x86-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: platform-driver-x86@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patchset includes: - Changes in initialization flow to allow passing a ‘regmap’ handle to i2c-mlxcpd driver. - Adding separate register map default structure for the next generation systems. - Modification order in ‘mlxplat_dmi_table’ in order to reduce the number of ‘dmi_table’ entries necessary for new systems support. - Adding more reset causes attributes. - Adding new attributes to documentation. - Fixing duplicated attribute name in documentation. Vadim Pasternak (7): platform/x86: mlx-platform: Move regmap initialization before all drivers activation platform/x86: mlx-platform: Change API for i2c-mlxcpld driver activation platform/x86: mlx-platform: Add regmap structure for the next generation systems platform/x86: mlx-platform: Modify DMI matching order platform/x86: mlx-platform: Add more reset cause attributes Documentation/ABI: Add new attribute for mlxreg-io sysfs interfaces Documentation/ABI: Fix duplicated attribute for mlxreg-io sysfs interfaces Documentation/ABI/stable/sysfs-driver-mlxreg-io | 22 ++- drivers/platform/x86/mlx-platform.c | 216 +++++++++++++++++------- 2 files changed, 173 insertions(+), 65 deletions(-)