From patchwork Mon Feb 8 20:16:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vadim Pasternak X-Patchwork-Id: 378807 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.8 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 14134C433E6 for ; Mon, 8 Feb 2021 20:17:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C95C864E66 for ; Mon, 8 Feb 2021 20:17:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232133AbhBHURI (ORCPT ); Mon, 8 Feb 2021 15:17:08 -0500 Received: from mail-il-dmz.mellanox.com ([193.47.165.129]:41572 "EHLO mellanox.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S236699AbhBHURB (ORCPT ); Mon, 8 Feb 2021 15:17:01 -0500 Received: from Internal Mail-Server by MTLPINE1 (envelope-from vadimp@nvidia.com) with SMTP; 8 Feb 2021 22:16:08 +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 118KG8n4004438; Mon, 8 Feb 2021 22:16:08 +0200 From: Vadim Pasternak To: peda@axentia.se, wsa@the-dreams.de Cc: linux-i2c@vger.kernel.org, Vadim Pasternak Subject: [PATCH i2c-next v5 0/6] mux: mlxcpld: Extend driver functionality Date: Mon, 8 Feb 2021 22:16:00 +0200 Message-Id: <20210208201606.10620-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(-) Acked-by: Peter Rosin