From patchwork Thu Feb 4 16:24:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vadim Pasternak X-Patchwork-Id: 377265 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, UNPARSEABLE_RELAY, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 329E9C433E6 for ; Thu, 4 Feb 2021 16:26:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EB8D864F53 for ; Thu, 4 Feb 2021 16:26:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237052AbhBDQ0z (ORCPT ); Thu, 4 Feb 2021 11:26:55 -0500 Received: from mail-il-dmz.mellanox.com ([193.47.165.129]:49658 "EHLO mellanox.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S237960AbhBDQZm (ORCPT ); Thu, 4 Feb 2021 11:25:42 -0500 Received: from Internal Mail-Server by MTLPINE1 (envelope-from vadimp@nvidia.com) with SMTP; 4 Feb 2021 18:24:53 +0200 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 114GOrHB012325; Thu, 4 Feb 2021 18:24:53 +0200 From: Vadim Pasternak To: peda@axentia.se, wsa@the-dreams.de Cc: linux-i2c@vger.kernel.org, Vadim Pasternak Subject: [PATCH i2c-next v4 0/6] i2c: mux: mlxcpld: Extend driver functionality Date: Thu, 4 Feb 2021 18:24:45 +0200 Message-Id: <20210204162451.29518-1-vadimp@nvidia.com> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org The patchset adds new features for the existing Mellanox systems. Patch #1 converts driver to platform driver. Patch #2 prepare driver for word addressing support. Patch #3 removes adapter numbers enforcement. Patch #4 adds support for word address space devices. Patch #5 extends mux number supported by driver. Patch #6 adds callback notification about mux creation. Vadim Pasternak (6): i2c: mux: mlxcpld: Convert driver to platform driver i2c: mux: mlxcpld: Prepare mux selection infrastructure for two-byte support i2c: mux: mlxcpld: Get rid of adapter numbers enforcement i2c: mux: mlxcpld: Extend driver to support word address space devices i2c: mux: mlxcpld: Extend supported mux number i2c: mux: mlxcpld: Add callback to notify mux creation completion drivers/i2c/muxes/i2c-mux-mlxcpld.c | 128 ++++++++++++++++++++-------------- include/linux/platform_data/mlxcpld.h | 11 ++- 2 files changed, 83 insertions(+), 56 deletions(-)