Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp598802rwb; Fri, 7 Oct 2022 01:15:09 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7/cF3tWpPqIX/poGIddtAg351Y7md5KxyGc+pYCfDlXTBINced7v1Bt+Muiqqd2Pn3RXEl X-Received: by 2002:a05:6402:f96:b0:459:4180:6cf4 with SMTP id eh22-20020a0564020f9600b0045941806cf4mr3497300edb.64.1665130509161; Fri, 07 Oct 2022 01:15:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665130509; cv=none; d=google.com; s=arc-20160816; b=Go2RBVsr9amLeJ+J+KbEtyia/h6DKl5TyqIiXfrQqJXN8ph7GMAfgUS8bAQ/rpucs4 MZMjQc5T+BXnxptW/pTrEkETXR1HgpMGPI29fZgxbEGabAF3WfXgNAlobqfMfy6TkgQR zvo6dqelMKcxQXsFX3dxSlVpmPY1FFs1NHTcUQ1Uw0L1WWguKAsLJ8SFwozTTeW+miVs v63RixcBVkvbVkycl87JHCo4+3BpLYMUvp6axoH47zhND4pXafv20Ls5wh6j20bQVpdB zLo53Po5N8bblONLULakkqep06t6GsUW6toXOd5vbG22QhN/KIcRIaTy6k8Uq5+wG1Ci r/iw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=6cKqRbn3P/xpE+S210j3qCazjn2THQLP9aoRkXcWPq0=; b=DkA+q5eRc/AFQ1HIHMOGgr8sXknV2KFeSnipL3nWiNUyvmPhYpFuqpRNdse/aEjkS0 WigjNgkHbDKW4xgR7rbU3SAsV7RvV9B55sjYy81oNr68kXPjlehEn/pZCFyar95DFomJ /dVR1SnqRudBqx73og+mgKVNDZY/YHZASt2YoVBfIqsooVF5jdCmKxjLFqWDIOskI14D MXcYmmSeISt+3GAsWzM5DVKzkEAqhOQi6owQPFG+lChU62pSJdHkBbWZCUawFe/rn+mr 6NEPpxugZb9sTUPGburM3K6XgMyUusG0S14exvn6OoPHzY6GoUSnj1mPNVjkvxoRec3w Z/Yw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@9elements.com header.s=google header.b=U1v64D8P; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=9elements.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sg39-20020a170907a42700b0078b85fdf4e4si1767324ejc.532.2022.10.07.01.14.43; Fri, 07 Oct 2022 01:15:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@9elements.com header.s=google header.b=U1v64D8P; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=9elements.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229826AbiJGHyp (ORCPT + 99 others); Fri, 7 Oct 2022 03:54:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229805AbiJGHyk (ORCPT ); Fri, 7 Oct 2022 03:54:40 -0400 Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A47CCBF48 for ; Fri, 7 Oct 2022 00:54:38 -0700 (PDT) Received: by mail-ed1-x52c.google.com with SMTP id x59so5910846ede.7 for ; Fri, 07 Oct 2022 00:54:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=9elements.com; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=6cKqRbn3P/xpE+S210j3qCazjn2THQLP9aoRkXcWPq0=; b=U1v64D8Pgvbtv8Bu+3/z8FJaBKXRWTkhG0G1+gFCeQUUI439wWIVU6UwLk4uOzeNd/ lzWUdlQkq9h0b3q7C1/f5lwSoHC9GXDffAvlsniXtAfyWP+LQ11XsLkQKMYC9C1VYhFP Zq9beRSNbiAUZlI0kU3perWKQdGOUI7iqZI9G9EGSkSQCWLgMdtlbGZV+ayvdT5teB8Q 2wHTdJiBOWNtboCTYS487fwIAcMHw4CTdMiSLWFxSX+/6R/7aEec7xjnKKkt6ywb5Pbx GVUzb94cwT3dL1PZTbtNarbLyNuQRHotslKMKWvrX54Db0wKquIEXI8F7U0BFPufySXS 1mSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=6cKqRbn3P/xpE+S210j3qCazjn2THQLP9aoRkXcWPq0=; b=OIXP5qw1pFc5P01S4pWL3uAKqKQCe/1EwVsfMMWpljWYY9xNUX6HrzGK8mp2r2eSnC +1YQjAl7dUqdgRoOU78pD+ukMyD/pN5hpU0jaEVzAO+xGa9HT/ptBsvJOTwGUQ36MEkY xhHM1H9izfNEi3f5AnS5x3cWqQs/3nopOUBFuXfc5yMt6LPN15ZpimyXGwWQuEkpzzhI Fjb8IO5jZrLdFaY98P2pGUDwVks8/fCffb5khvmlaWF1TZPdC47/tZKifemUpAFo018B Y4jeG4fl5mB6oNxH7dnlzwsRdwwBZHKwzXx2nTSapksx6zmwrm0eWv4I8Woyzl4U1sgj I0sw== X-Gm-Message-State: ACrzQf1ROFkwWv0uquKsKmy79mXq0BVZy3+Ktdwm7TUYyhTv6Bd5Rze6 UgUAtnVBPPn/pFNw+oxQdbMTtA== X-Received: by 2002:a05:6402:548f:b0:457:ed40:5f58 with SMTP id fg15-20020a056402548f00b00457ed405f58mr3333425edb.408.1665129277211; Fri, 07 Oct 2022 00:54:37 -0700 (PDT) Received: from fedora.sec.9e.network (ip-094-114-232-236.um31.pools.vodafone-ip.de. [94.114.232.236]) by smtp.gmail.com with ESMTPSA id hv13-20020a17090760cd00b00741a0c3f4cdsm782281ejc.189.2022.10.07.00.54.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Oct 2022 00:54:36 -0700 (PDT) From: Patrick Rudolph To: Laurent Pinchart , linux-i2c@vger.kernel.org Cc: robh@kernel.org, peda@axentia.se, wsa@kernel.org, Patrick Rudolph , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [v9 0/4] Add support for Maxim MAX735x/MAX736x variants Date: Fri, 7 Oct 2022 09:53:49 +0200 Message-Id: <20221007075354.568752-1-patrick.rudolph@9elements.com> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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: Add Maxim MAX735x/MAX736x variants i2c: muxes: pca954x: Add MAX735x/MAX736x support i2c: muxes: pca954x: Configure MAX7357 in enhanced mode i2c: muxes: pca954x: Add regulator support .../bindings/i2c/i2c-mux-pca954x.yaml | 39 ++++- drivers/i2c/muxes/Kconfig | 6 +- drivers/i2c/muxes/i2c-mux-pca954x.c | 140 +++++++++++++++++- 3 files changed, 170 insertions(+), 15 deletions(-) -- 2.37.3