Received: by 2002:ac8:156:0:b0:3e0:cd10:60c8 with SMTP id f22csp2499354qtg; Thu, 23 Mar 2023 04:57:52 -0700 (PDT) X-Google-Smtp-Source: AK7set/VPGeSC1u+MWNdpfUZLmjnQgZjtectZmU6Ym9+UeNIxTPn7Wkxu/n92n4aEhHgnsCcvqUR X-Received: by 2002:aa7:9a0e:0:b0:626:24b2:cd6c with SMTP id w14-20020aa79a0e000000b0062624b2cd6cmr6221725pfj.7.1679572672062; Thu, 23 Mar 2023 04:57:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679572672; cv=none; d=google.com; s=arc-20160816; b=Nd+uPErXZhYYMhAI4ditA9yj1ByHqwpiM7cAq7kw7/UJp7KSQP89kBks0uhObBsO7W jMEl/yG7zb17kf+kpnvsKXBWjy+H/5FXupq5Gm4GoGgpmgkytTqWKL7PRRsAeFpQ2aCR nip4BAm4PE5/47zAmqqcrOakvSS4aZNX15ujv90CB4VEuDk5PvKq0OemEfNSyKXU8Spc 2agQTDzukkLI+T4dfIkAw6FMtUj1vv/pi0jDa7VpTr4gsArRoXHZcFcxobKl2MMbtKhv UghT74EuSMBX3rzdNNnWt0VjoE6iPxHAhpVkY0xNGRHkih2WCXICFiR1B6zDuxR8YRrw HAlg== 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=gEX3oAejBbS136aFLc2hCm49xsCfS2Jd421gnkE/ZzM=; b=KzH3a1pjdfsEXGxihJFBXzIWgK2UNC/LZ+6XSBf6zckUFC1JQYtr0tVuueQ8ccYqYx pRpjQT51XE21YoSgCvfwocju4BKrIWdmHm1sJZuxLtoMuPL6qaFaJ80nrtuX0GKbvc0m TriDCwturMepek4S6vjhizngrpjoh4UmNLVSFltN4BKWZCav8KLlOc6MOP1oUxtKNelU sPfIzsBvXStdv2wfH8DcJyBzY8APZmREoIvrbnfqDDqLcaLW9guMvl3uHdcxrvQyBVhU cov7fSxw85c1WMJPKd8Rpiok6ELFjAHcUOkcccEM88NRDmrh352HeUc3ki+sk6SdwU4U Ru/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@9elements.com header.s=google header.b="Bi/AtRbg"; 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 i18-20020a63d452000000b004fbf6b6908asi3867564pgj.480.2023.03.23.04.57.40; Thu, 23 Mar 2023 04:57:52 -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="Bi/AtRbg"; 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 S231256AbjCWLyT (ORCPT + 99 others); Thu, 23 Mar 2023 07:54:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53458 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231775AbjCWLyH (ORCPT ); Thu, 23 Mar 2023 07:54:07 -0400 Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 082EE35EDE for ; Thu, 23 Mar 2023 04:53:59 -0700 (PDT) Received: by mail-ed1-x52a.google.com with SMTP id eh3so85233275edb.11 for ; Thu, 23 Mar 2023 04:53:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=9elements.com; s=google; t=1679572438; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=gEX3oAejBbS136aFLc2hCm49xsCfS2Jd421gnkE/ZzM=; b=Bi/AtRbguFiM/ehBvhhvJ84eM+gT6UM9brFqUYyd/pd+8dxEU1aeUMUnjVfxPzHt2w Fp45DnjMJpgUcBdFclYz6OpmS/r1zRhAJWegrkQMDHMHxDm11clJAfS+s64NQ2EVfoEg S5zowwjyv73aIVx0OWo7Iw6sBOdXNscK4YsuBk0g77DfojOfZrsyvwz9f14cJP+d1Hc9 +wmrpPlgouYdjUPvh+sIAOaXCToRinpqDMuZzLHkjaSetPd5VpJ8FxMgA/SQ9MSFL3N2 v9eWkkTMIdzej3oAnQva4huZwk7gDZDNbpe88ySz/8qJhug9Bxn4WQkXfAakG/56IRpQ Btbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679572438; 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=gEX3oAejBbS136aFLc2hCm49xsCfS2Jd421gnkE/ZzM=; b=BT7acRhD9e2hwkAG4knq1PuR2w2CcfFdMsecdSnEP5I18E5wR4W1ybeXxwT0Mkad+F 27uI/q8AsckfoAZOWiplY6le4Xv22US2xM5UHbR3luxBzWgivWRW67f94YXAn0U2KjGU HZLSU6w/G4FjJv5SGitvCLluv34ofubAfQcDd57NOOIDqOMSYbWOTWmerMiFyp1HD/RT zwGMDmF/DYxofIQgABzfaTfd6IXuZN5PJgQ6QOYDCrg5VDXgmeYQti0NT7LsAVWP7OeF EEUk+4wUuEQt7BziUNjYMxooZ/gXQs2eCb06kAkhgNO9uhX0EZVlbmT4mxDeeMacrBKQ fSVg== X-Gm-Message-State: AO0yUKXD4VFyzRpC7PTQk7K4mw5OJ3HpX/s/bgdiaJ04j4rVPcJeVdce 017lf1qWXRqghqKLpGeUvEN8Iw== X-Received: by 2002:a17:906:3612:b0:933:2f77:ca78 with SMTP id q18-20020a170906361200b009332f77ca78mr10376372ejb.28.1679572438286; Thu, 23 Mar 2023 04:53:58 -0700 (PDT) Received: from fedora.. (ip-095-222-150-251.um34.pools.vodafone-ip.de. [95.222.150.251]) by smtp.gmail.com with ESMTPSA id r5-20020a1709064d0500b00923f05b2931sm8510047eju.118.2023.03.23.04.53.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Mar 2023 04:53:57 -0700 (PDT) From: Patrick Rudolph To: Laurent Pinchart , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Patrick Rudolph , devicetree@vger.kernel.org Subject: [PATCH v10 0/3] Add support for Maxim MAX735x/MAX736x variants Date: Thu, 23 Mar 2023 12:53:52 +0100 Message-Id: <20230323115356.2602042-1-patrick.rudolph@9elements.com> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 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 (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 | 43 ++++++++- drivers/i2c/muxes/Kconfig | 6 +- drivers/i2c/muxes/i2c-mux-pca954x.c | 95 +++++++++++++++++-- 3 files changed, 130 insertions(+), 14 deletions(-) -- 2.39.1