Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3984627rdb; Thu, 14 Sep 2023 08:28:01 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEO1vrqAxE/769lDXCKSqt/oOFrnpigcIuiAW+aBFQSCfJ67XyIe53NkVfpk00xHvThlsTV X-Received: by 2002:a17:903:22c9:b0:1c0:9d6f:9d28 with SMTP id y9-20020a17090322c900b001c09d6f9d28mr6648868plg.11.1694705280912; Thu, 14 Sep 2023 08:28:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694705280; cv=none; d=google.com; s=arc-20160816; b=nf1ErPYC4QpknCbAPmiHwyMUrD+xuN0TEUn0gY5Yia8WJTqRHyMY8N09QLEkox0kGB a1T1YV5eM0lBNWOn78vpO8g/os9Qh7Ry4e5Y1whwntzcbF83b+e8kvwlsta80A/FL3OL rjDLGIJaZI06hNHXutNbYHiAimeuRuKDsoeBETNz8rFaVmHa6qp/3S4rU5nKZy0TO2xv 7yM5cn+B33531+SC/qDDXH0OsxZHk/KUoRX6xYTnFIo4LmUQp7VVJ9oDRwFlN3sfihtD +UDr5EO3gsoxPCY1V0YKiU371gnRNReU/9GNDLpNhIH2b+LUgH3LFK2rAHp/bBD2yiOQ +3kg== 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=oXa4ycYFzT7jLeokUgoWTtJjQh8+NIDSPVuIE36lEvI=; fh=ooIdYZkJKgzw29M1oF/IT9lrxoiw2Uk9Wms+9UDT2Ic=; b=oAG9H+ojsh27JuogTDpv0s20LNDsJHlnnpuytqP5Bz7aE6+cHjSFWnJt6ZVVfySg0Y jIHdwzFb4vz1prdVLmEZ1Y829YXjY3yBZkXRV+eACDM1MB6kOLHYwthjXqmkSPcYDfar shhQtMMYVW1ussAVlIU4GIMvJly6cWtQMlziMSoKLXHjMA9UyElM6fSlk3zoC/2HAkAs rkG3KnImizb3cDnOuch0me94WrYc4CzCqB9AwhX0K5C+rFkVYQAzSdX90/0hlf8OJzwX gDVt9PPS1NGZ8Eecfcmz9axBvR/9rw6QsW+IjGfXkojg7IsvQObyqXwramGgXFcHzsWW n7qw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@9elements.com header.s=google header.b=TcUy05We; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id a13-20020a170902eccd00b001bf0ad16519si2029896plh.513.2023.09.14.08.28.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 08:28:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@9elements.com header.s=google header.b=TcUy05We; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=9elements.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 8F7F180DCA47; Thu, 14 Sep 2023 04:34:33 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233606AbjINLed (ORCPT + 99 others); Thu, 14 Sep 2023 07:34:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235307AbjINLe3 (ORCPT ); Thu, 14 Sep 2023 07:34:29 -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 691591FDF for ; Thu, 14 Sep 2023 04:34:22 -0700 (PDT) Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-9ad8bf9bfabso114459766b.3 for ; Thu, 14 Sep 2023 04:34:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=9elements.com; s=google; t=1694691261; x=1695296061; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=oXa4ycYFzT7jLeokUgoWTtJjQh8+NIDSPVuIE36lEvI=; b=TcUy05WeARz+LFWGVi8yH1dw7F0mWoa4WJBNDiQ5PnB/9xefhisF5srV995mBw12CC OWOcRYqndaPWkQQd8YTwAxSdEGEl90fHxUJ3nx3eY+xTicjdp+cRCoD94csY33O8/bx4 4sU4zj4bcQAg+AfJrwX+oAvQ06DrqktiIPEGfFhjFMj/3eRNB2ccocmi87kLme1OUTB0 G3oedJVA+/rfBC7OR45jt1ehBWiPxWzrNtD9HFeH1nAY+wYIviDmRb6qa3XIp6ZE/ZJ/ BtTIYEq9nzudNLzao1pkzaa3WgFCM9pblakoeZ0rOl4dBy2dPiP0i5cfUxm2MbSMQAQk OL8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694691261; x=1695296061; 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=oXa4ycYFzT7jLeokUgoWTtJjQh8+NIDSPVuIE36lEvI=; b=bxyPLQWltI9QbmnTDQEhcSCM66LBNfx1m/HVogCQcPcNkXKD0XED8PtdeEjh70lcDq GE/nCi161x6I+HbRKZvOHAFxRCl+xsdzWnEen43fTn301ZcZDOBvrnft3gXx6AuMmFfZ c0m/AYLWbOfdQkGJmk7v7MNJq74p6YuhHGR3eyBEUeY95oKjVuDQy9gCI7uDjhogb3z/ tdWgZdXptGzOGlJLHpAtsmBJSR20lqw5XFxawqbhUtkIASe/Kir4b4GzoV5LUPJZ19ar 6s5mMnD2BtXM/ZNNdNZvrsZY63Zhaxt90YdpgiaLnYpzfyohRbQ+/WCUymuyw6f+n8Tg bQiA== X-Gm-Message-State: AOJu0YyDEtO/ZRM3gy6sKfvnTBvCpFfi2VNR8eRT4N8UG5mO0OJZH9dS 0obDNIzrYKNrmuLrSlbtg+kjHQ== X-Received: by 2002:a17:907:2724:b0:9ad:7ec3:c055 with SMTP id d4-20020a170907272400b009ad7ec3c055mr4343650ejl.10.1694691260689; Thu, 14 Sep 2023 04:34:20 -0700 (PDT) Received: from stroh80.sec.9e.network (ip-078-094-000-051.um19.pools.vodafone-ip.de. [78.94.0.51]) by smtp.gmail.com with ESMTPSA id h11-20020a170906854b00b0099ccee57ac2sm875119ejy.194.2023.09.14.04.34.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 04:34:20 -0700 (PDT) From: Naresh Solanki To: Peter Rosin , Andi Shyti , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Laurent Pinchart Cc: Patrick Rudolph , Naresh Solanki , linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 1/2] dt-bindings: i2c: pca954x: Add custom properties for MAX7357/MAX7358 Date: Thu, 14 Sep 2023 13:34:14 +0200 Message-ID: <20230914113416.1285518-1-naresh.solanki@9elements.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Thu, 14 Sep 2023 04:34:33 -0700 (PDT) X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, 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 agentk.vger.email From: Patrick Rudolph Both chips have a configuration register to enable additional features. These features aren't enabled by default & its up to board designer to enable the same as it may have unexpected side effects. These should be validated for proper functioning & detection of devices in secondary bus as sometimes it can cause secondary bus being disabled. Add booleans for: - maxim,isolate-stuck-channel - maxim,send-flush-out-sequence - maxim,preconnection-wiggle-test-enable Signed-off-by: Patrick Rudolph Signed-off-by: Naresh Solanki --- Changes in V3: - Update commit message Changes in V2: - Update properties. --- .../bindings/i2c/i2c-mux-pca954x.yaml | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/Documentation/devicetree/bindings/i2c/i2c-mux-pca954x.yaml b/Documentation/devicetree/bindings/i2c/i2c-mux-pca954x.yaml index 2d7bb998b0e9..fa73eadfdf7b 100644 --- a/Documentation/devicetree/bindings/i2c/i2c-mux-pca954x.yaml +++ b/Documentation/devicetree/bindings/i2c/i2c-mux-pca954x.yaml @@ -71,6 +71,23 @@ properties: description: A voltage regulator supplying power to the chip. On PCA9846 the regulator supplies power to VDD2 (core logic) and optionally to VDD1. + maxim,isolate-stuck-channel: + type: boolean + description: Allows to use non faulty channels while a stuck channel is + isolated from the upstream bus. If not set all channels are isolated from + the upstream bus until the fault is cleared. + + maxim,send-flush-out-sequence: + type: boolean + description: Send a flush-out sequence to stuck auxiliary buses + automatically after a stuck channel is being detected. + + maxim,preconnection-wiggle-test-enable: + type: boolean + description: Send a STOP condition to the auxiliary buses when the switch + register activates a channel to detect a stuck high fault. On fault the + channel is isolated from the upstream bus. + required: - compatible - reg @@ -95,6 +112,20 @@ allOf: "#interrupt-cells": false interrupt-controller: false + - if: + not: + properties: + compatible: + contains: + enum: + - maxim,max7357 + - maxim,max7358 + then: + properties: + maxim,isolate-stuck-channel: false + maxim,send-flush-out-sequence: false + maxim,preconnection-wiggle-test-enable: false + unevaluatedProperties: false examples: base-commit: 637f33a4fe864ac8636e22766d67210e801fcd0d -- 2.41.0