From patchwork Thu Aug 17 07:10:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrick Rudolph X-Patchwork-Id: 714483 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AC757EB64DD for ; Thu, 17 Aug 2023 07:11:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239481AbjHQHLY (ORCPT ); Thu, 17 Aug 2023 03:11:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58448 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348359AbjHQHLF (ORCPT ); Thu, 17 Aug 2023 03:11:05 -0400 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E17FF272B for ; Thu, 17 Aug 2023 00:11:00 -0700 (PDT) Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-99c136ee106so975394766b.1 for ; Thu, 17 Aug 2023 00:11:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=9elements.com; s=google; t=1692256259; x=1692861059; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=10hrN69GNW7jEsK+iBtlLYcIuc/Ievar3/OKjhX+0P4=; b=cYAqRqrFGqxtx5X++EX/SpDAvNsuRgefS9Ues4JEL15GQFDrFph+1a6Foy6xBSieyN cjSO2ZKEAypjLOiPVGTtD/gQPi5oWEFyF8c/BYoYMAujD5VK4VvLEfGby3pJ6hIS0u+N EZLVvf/96s3aA9hOB9OuStKj9KfTzq21Ws6cSTB2IP17Z4QbMgKpU/6K3XCr2+6QYFzP IQX1NJOJ6jqgCEXo3OjG/JA2QRBlBDLjpdeCZYABzakGcMItmza1o2O2vQS0J0fsttat lO9TwyzzYCGIefo4uqmylK3KPSdYVTl1T0eond1gPEb6dZHdarjtKXR1UW0jXKbv7qnk FNEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692256259; x=1692861059; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=10hrN69GNW7jEsK+iBtlLYcIuc/Ievar3/OKjhX+0P4=; b=OEDwLM37iO8Za5r3E7zCl4M2rC3Zl9xgLDW2cm00/g5Z5tVAsytQPANRWXwquw1SCc DyauSY+cHttdghW/IS3sSIr7y1+ew7YE1gX7rgEQqEC0522bT6eR2xT0/UN73cqLh0Zr 7GC+8moG5Ija2eG8vn19OTRslOZfuAyR0FgSiApBVmMUx/YFFB8MoxiSNv6Ri9L6KXkn foqVNQpUdBl/Qs/yMoh8rQqb13zyE3X/w8oua4rs1phVv+6wliSKE0x8UPQUSfxQOemU FZc/JfQo/1C4QZeQAqlnEUKedcjRfAYQF6xqLkJ1VU3JxbfTZdj2xbYAdOtiG8Imb/xF cDHg== X-Gm-Message-State: AOJu0YwBBhurFLQmvJO3EuGXhM7RlV8e9BNWMOUr4biRa66wpBNpH8WX JHTouunL6EpBie1l+D7LEDMlNg== X-Google-Smtp-Source: AGHT+IEhSMzhYE0v4cwo8rnXfYnPMUytVW1oTxHU6/vvXlqg+cUZxbuDSTMTgUa3lnrofuowlLqbpg== X-Received: by 2002:a17:906:5195:b0:99d:f6e9:1cf8 with SMTP id y21-20020a170906519500b0099df6e91cf8mr3781695ejk.20.1692256259251; Thu, 17 Aug 2023 00:10:59 -0700 (PDT) Received: from fedora.sec.9e.network (ip-095-222-150-251.um34.pools.vodafone-ip.de. [95.222.150.251]) by smtp.gmail.com with ESMTPSA id qn17-20020a170907211100b00992b510089asm9674361ejb.84.2023.08.17.00.10.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Aug 2023 00:10:58 -0700 (PDT) From: Patrick Rudolph To: Laurent Pinchart , linux-i2c@vger.kernel.org Cc: naresh.solanki@9elements.com, Patrick Rudolph , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v15 0/4] Add support for Maxim MAX735x/MAX736x variants Date: Thu, 17 Aug 2023 09:10:49 +0200 Message-ID: <20230817071056.2125679-1-patrick.rudolph@9elements.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org v15: - Clarified VDD usage on PCA9846 which has two VDD pins v14: - Added comment for interrupt support v13: - Fix dt-binding - Fixed nits v12: - Add separate patch correcting interrupt support in dt-binding - Fix typo in commit message - Make vdd-supply non optional v11: - Fix dt-binding example v10: - Small updates to dt-bindings - Make vdd-supply optional - Drop MAX7357 enhanced mode configuration v9: - Fix 'then' not aligned with 'if' in dt-bindings - Split enhanced mode configuration into separate patch - Add MAX7357/MAX7358 register definitions - Rename config register defines - Update comments and explain non default config being applied on MAX7357 - Check for I2C_FUNC_SMBUS_WRITE_BYTE_DATA functionality v8: - Move allOf in dt-binding and use double negation v7: - Reworked the commit message, comments and renamed a struct field. No functional change. v6: - Fix typo in dt-bindings v5: - Remove optional and make vdd-supply mandatory v4: - Add missing maxitems dt-bindings property v3: - Merge dt-bindings into i2c-mux-pca954x.yaml v2: - Move dt-bindings to separate file - Added support for MAX736x as they are very similar - Fixed an issue found by kernel test robot - Dropped max735x property and custom IRQ check - Added MAX7357 config register defines instead of magic values - Renamed vcc-supply to vdd-supply Patrick Rudolph (4): dt-bindings: i2c: pca954x: Correct interrupt support dt-bindings: i2c: Add Maxim MAX735x/MAX736x variants i2c: muxes: pca954x: Add MAX735x/MAX736x support i2c: muxes: pca954x: Add regulator support .../bindings/i2c/i2c-mux-pca954x.yaml | 46 ++++++++-- drivers/i2c/muxes/Kconfig | 6 +- drivers/i2c/muxes/i2c-mux-pca954x.c | 92 +++++++++++++++++-- 3 files changed, 129 insertions(+), 15 deletions(-) Acked-by: Peter Rosin Acked-by: Peter Rosin