From patchwork Tue Apr 5 12:05:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrick Rudolph X-Patchwork-Id: 558619 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 C345DC4332F for ; Tue, 5 Apr 2022 14:06:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237927AbiDEOIW (ORCPT ); Tue, 5 Apr 2022 10:08:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51608 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343586AbiDENEx (ORCPT ); Tue, 5 Apr 2022 09:04:53 -0400 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E6AE11F795 for ; Tue, 5 Apr 2022 05:06:27 -0700 (PDT) Received: by mail-wr1-x430.google.com with SMTP id z1so6661516wrg.4 for ; Tue, 05 Apr 2022 05:06:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=9elements.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=z46lGhLfI6ugeu1P3zjJF0oXFB21fasaHhYIlRjoeMU=; b=c/SA4frMQAMHJXuDb0VyOfv2BeFzsflHSheqcsZper5NrOSCQcDkjHGkxYhD4uNF1C I+Xyo11kF6QE1iNzQI+lBBNtJBJlEw/7qjhL9zW8sCmr6cjvigCUy4IPjhJCB5vSpU94 9dfv3K/TYdm865KWJVTxotArxbpGIJW+TdPaCTIMUmJW1PQAD6LS4ywWbwzBHQ7eeKu+ +jmxW9ZK/GZp36hKFxCgGgwc1Qsp6IIjZTNUulESiraVoRjdGe8BJ2ZPyEN0UqrFAEND G/xGtqqj7CdZj9tqiScMA7VXvzoLTSrcZ3FGc/BH8vD8+90EyfHcd31cemhdem4NlzJt Grug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=z46lGhLfI6ugeu1P3zjJF0oXFB21fasaHhYIlRjoeMU=; b=4T4Bq2CkByeGQVw0cC4YfryhwUFlkHCsoYnDA8686cvpKKjYDW0JDOHHI+qr9myNLN zFOP3tv5BhWvtjMqZPO7BY4kn08AfE6VTYWuC2RRkyomioeKhvaXSykjS03+DbPcGjfd J+WallCFDmrtkW+tSyAr3dVip0SYaS4zf+HTYa+u89757o+t9nBvZU0sIlRA4FuhYHSF d0rcdlk11alycODTwdkg2AfcZYhGX2I0/vO/tnr/I0hW7y0kmcgDOaeP0IaO9o2Z2DAy 9cRVDmuOOXJ4w/lOTXITk/upSVX9m2cqgEsRSiX8ImEE0cBW6QPrkA954mGFocgz2Pmk ttyA== X-Gm-Message-State: AOAM533CrKfK2Z9flcpWtA7P8L9PaY7QxEiTea/IG8cR0TWTsGFGX6PC VU1aPGlpy6hqy+c4aB2OF087Fw== X-Google-Smtp-Source: ABdhPJyqTOFEOFeAFt/2YcX1+9+RtfO1i6wtivOXlQ7O002sz/pWInKXqVkJNxQ9hZqMYs1r9BBdQQ== X-Received: by 2002:adf:8066:0:b0:206:1563:8b2b with SMTP id 93-20020adf8066000000b0020615638b2bmr2518784wrk.582.1649160385937; Tue, 05 Apr 2022 05:06:25 -0700 (PDT) Received: from fedora.lab.9e.network (ip-078-094-000-051.um19.pools.vodafone-ip.de. [78.94.0.51]) by smtp.gmail.com with ESMTPSA id r16-20020a7bc090000000b0038e73023334sm1994323wmh.2.2022.04.05.05.06.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Apr 2022 05:06:25 -0700 (PDT) From: Patrick Rudolph To: Laurent Pinchart , linux-i2c@vger.kernel.org Cc: Patrick Rudolph , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [v7 0/3] Add support for Maxim MAX735x/MAX736x variants Date: Tue, 5 Apr 2022 14:05:48 +0200 Message-Id: <20220405120552.433415-1-patrick.rudolph@9elements.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org 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 (3): 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 | 44 ++++-- drivers/i2c/muxes/Kconfig | 4 +- drivers/i2c/muxes/i2c-mux-pca954x.c | 126 ++++++++++++++++-- 3 files changed, 153 insertions(+), 21 deletions(-)