From patchwork Sat Jan 8 18:57:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrick Rudolph X-Patchwork-Id: 530721 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 6084CC433F5 for ; Sat, 8 Jan 2022 18:58:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234911AbiAHS6e (ORCPT ); Sat, 8 Jan 2022 13:58:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232414AbiAHS6e (ORCPT ); Sat, 8 Jan 2022 13:58:34 -0500 Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F3E6C061401 for ; Sat, 8 Jan 2022 10:58:34 -0800 (PST) Received: by mail-wr1-x432.google.com with SMTP id o3so18032823wrh.10 for ; Sat, 08 Jan 2022 10:58:34 -0800 (PST) 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=EEyUTxFJIz6kwG3kSZIrQjY/C5LVppVG+iMmlquslj8=; b=E+yTJXXtUQcdFe9Z3H/jh0u9LJZFAbE7eeTqrqwH3oqz3G/sR5tCW62S98Q7D6jRMV OZJirLXxbHMb8wsY51jj0ggRnYjPy2VspNlR85CpQoR9NWsQjFUy8w1akBhDATSnJbed bAKXQT7moY5AScR8Ee+P2knxdwTHmoNKXYfVg65xJExpFGI2/QoghUhUig87/uOK0Lo0 pkMv9bz6iTo3xbTkihdTMELumJ3w6KIxgC5I9/7NZIrFkDLaPuPS9FWneOoX8x1pF01v 04jyBzMH2aoInZJLouzdrpKO3uR5dw3Muyp1Zfc/aX3DaDp00cjSS+tKe7Qcq6Y/TwYK wRbw== 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=EEyUTxFJIz6kwG3kSZIrQjY/C5LVppVG+iMmlquslj8=; b=Y/kmq3Hcioac7bi75wyxu2elPc/oP5PVy2GX/bR8BfSsX64i067g4POtlgTnu3fPnf 7SO7NWiWIjB83ZLlr+noYDybaLO+ITd2extbsKrYdzIIbcMtuJDZZjTq8dVNka/49Jcg jkKpr/WoaqFyPBdAP7TZhvob97jDseszrMQEeEzNZR061DILPo5KT2J4vhDfoyNSj8li rVIIbiuEvyX1zHsSpcLEb0ZB9sXHNrZVWNXscsN9Zvm5woEnWRQTU6L00biK+cBPPOh4 I/M+Q5r1Qikdol5XcGrRZJ6t1fO81RfqH2YhgX/VMa95Be+bCtOEXltyUmDQroX5c4pc vHYA== X-Gm-Message-State: AOAM533FkSpX+An7FZwUFACxJwhabY6CFKICCfcZlrtXkG/X2nBohx7E 9/sRFQrfCzg2Gdco4l3LxUmZRw== X-Google-Smtp-Source: ABdhPJyIy71saxDADU4/SYJS7nSb3jiPXr13T4krVXzJ2fLHr3iaJzgUMloaWMlFrUgDB+8sB0so8w== X-Received: by 2002:a5d:47c2:: with SMTP id o2mr59475440wrc.637.1641668312719; Sat, 08 Jan 2022 10:58:32 -0800 (PST) Received: from fedora.sec.9e.network (ip-88-153-139-166.hsi04.unitymediagroup.de. [88.153.139.166]) by smtp.gmail.com with ESMTPSA id bg12sm2886209wmb.5.2022.01.08.10.58.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 Jan 2022 10:58:32 -0800 (PST) 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 v2 0/4] Add support for Maxim MAX735x/MAX736x variants Date: Sat, 8 Jan 2022 19:57:54 +0100 Message-Id: <20220108185759.2086347-1-patrick.rudolph@9elements.com> X-Mailer: git-send-email 2.33.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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 dt-bindings: i2c: Add regulator to pca954x and max735x i2c: muxes: pca954x: Add regulator support .../bindings/i2c/i2c-mux-max735x.yaml | 106 +++++++++++++++ .../bindings/i2c/i2c-mux-pca954x.yaml | 5 + drivers/i2c/muxes/Kconfig | 4 +- drivers/i2c/muxes/i2c-mux-pca954x.c | 124 ++++++++++++++++-- 4 files changed, 228 insertions(+), 11 deletions(-) create mode 100644 Documentation/devicetree/bindings/i2c/i2c-mux-max735x.yaml