Received: by 2002:a05:7412:f584:b0:e2:908c:2ebd with SMTP id eh4csp1941824rdb; Tue, 5 Sep 2023 09:22:58 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG5ft2sfRN+Kie9150akzbqkNYGOtN3IELd90noTILMk5gbEsaDSTgoMXGut+5bl+5GBesD X-Received: by 2002:a17:906:8a62:b0:9a5:7ade:b5e9 with SMTP id hy2-20020a1709068a6200b009a57adeb5e9mr241983ejc.51.1693930978175; Tue, 05 Sep 2023 09:22:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693930978; cv=none; d=google.com; s=arc-20160816; b=HxjTDDv80AUeC6nXSTJGWCnphc5uGgqh0Uvv/Uh+VCxQ6pH8fnUBvhgh8M5Yp+OUeT 2tZbOkBj90BH55+i4o08M/wadRvnyEJcyTOu0XnuSiU+ThAm+1Qt7XDr6WvOnym17vT7 /K1+YxxMQzZmq2KuqMAZRQMfKMYQXBxFMRUR8WSTao52GmjPHZMV6uQYp9JdOVoWDUn+ YdYXhXaK/InoNJDPvo2Cv9dpM8ykaYmrpLV6DMEOnp+V6gDqLz0pPL91WdKx+Ly9F6MY L6GJJjNTJAQNOg2mns1lNlcma5XgeiOR6XerAH7pE+gHDNOl9HthIQjCRpXSGw0UtGjD 06+A== 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=H/QBPbcdBIUaDmEdJvoBEfz2mE+9ATt7Z3dvvW3W+XM=; fh=zZO7z6CJKnJnoZ8UniVFG9vLRIWRHG1+r8VAVrJvE94=; b=cTcuhPgIN04/nU37gGUxzFX6QhKZepUqVBQfZA1TGGeJme+tY94Dbcxhzqqln3hDU8 tuBsJT8j68WGIwdAGXqwDq1yXxGSfiRxMmSdjDQVIpvHFbQjjzXpLxl70qn8fBqb6kyf rgVbWTSQbIYKnuJEz7AO/AvNb8/6zHeFDzz3gz6SadpOZlzTiaH6Zk69gTIawCDhfAPN 1OiEvH5xhWaE7S7raWKJrSlE6TKCZSiykTsX1TKcVIrh3wbz6cxkbCM0+tjVwQcRHpcd STeOa0RQJ6wBgtWfrrgwgMmCzFmWLX2zpBbbNxivzpeKGtKzpNGv09nIAH+gBm93vdPS Hs9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@9elements.com header.s=google header.b="D/83I3LU"; 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 y16-20020a1709064b1000b0099bcf34927fsi8084521eju.640.2023.09.05.09.22.52; Tue, 05 Sep 2023 09:22:58 -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="D/83I3LU"; 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 S1344084AbjHaKPW (ORCPT + 8 others); Thu, 31 Aug 2023 06:15:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33478 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243627AbjHaKPV (ORCPT ); Thu, 31 Aug 2023 06:15:21 -0400 Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D9550CF4 for ; Thu, 31 Aug 2023 03:15:17 -0700 (PDT) Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-9a5dff9d2d9so68144966b.3 for ; Thu, 31 Aug 2023 03:15:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=9elements.com; s=google; t=1693476916; x=1694081716; 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=H/QBPbcdBIUaDmEdJvoBEfz2mE+9ATt7Z3dvvW3W+XM=; b=D/83I3LUXCsZrb2APzMxQs1EUOarA9A37v0QZ5Th/A1QfUv9Ba6mNjMUFzck6TCSOs tsoT2fMlnImN/d24DKJ4cE6K+77LdwNYaBWWhJbQtKbkXt+XkRsN9gkVsG1e3Mpn/qVV HatyYwZu8nvsvu19FcnUbAGyMbVGm8MIcvVqFZEGiWa4dLt7IS0vdgBdRX24jJ6rgZkF 74laAtR4otK517WelO50NF8RSBBgFxqfC6MHhQK0bt97MF/Xe73cZJH1S3ofyXGskv1Z 8Iy2JkwxJYUt+etXjWbiI5qH+VH+8zeCMXUBDqU3VU4t5hIbwgvgQjAMFvwbMwX0czHZ qfTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693476916; x=1694081716; 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=H/QBPbcdBIUaDmEdJvoBEfz2mE+9ATt7Z3dvvW3W+XM=; b=RQas7iUU1Ejas9ObyTgiML7Wb7PAoL2QUm2faMuiKbsrPmKCo1qoRBlTY78HlhmvYU Ao56U2RbBeYQO3U2uzxtv35988ofM/OezV5O4IlN+xSXOEWG3UVRCN07ToAIFtaKKEq3 JY0x/4p0QIatKWS6DvMIzXaR3lBbFL9wM9J3asjRYHkl1Q5TzlIgYDvxyeRBf40WsqEZ w6hVNX0zbqgC+79xmVuG0toDlgk+gpAaXgfzdKHoRVFwE0tqo3kM43INivj4FvkxnxK5 BpesMyMBCg82H3QHHm+6cLuUt/FlK9tYxOG8QLgpU5KRzIe5Z/x2Yiitm3HuNfl0Zq6A LC3w== X-Gm-Message-State: AOJu0Yzz6J+WTdRxHYnr4E7443msyiyaaEjGhy0fH+xw+1I9GoM/JlIG DU1yYZqK4VY2fcy88QXlxYG6VFG3j+Mvnv17OvJuVA== X-Received: by 2002:a17:907:77d3:b0:99e:1581:6437 with SMTP id kz19-20020a17090777d300b0099e15816437mr3483828ejc.46.1693476916352; Thu, 31 Aug 2023 03:15:16 -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 h5-20020a1709062dc500b009a2235ed496sm604388eji.141.2023.08.31.03.15.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 31 Aug 2023 03:15:15 -0700 (PDT) From: Naresh Solanki X-Google-Original-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 v2 1/2] dt-bindings: i2c: Add custom properties for MAX7357/MAX7358 Date: Thu, 31 Aug 2023 12:15:11 +0200 Message-ID: <20230831101513.2042773-1-Naresh.Solanki@9elements.com> X-Mailer: git-send-email 2.41.0 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_BLOCKED, 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 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. 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 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: f9ea75e087b81081f33e34c4e1ba8b4abe841d9f -- 2.41.0