Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp3078737rdb; Tue, 13 Feb 2024 06:23:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IFIL2oIhMwJfGhqAZ3jmqOSalNyVVtpkYoXM7bO7kdzNVyHyqcy7dZg4oOesfAwzSd7Ptx7 X-Received: by 2002:a05:6358:652a:b0:176:8a8e:213c with SMTP id v42-20020a056358652a00b001768a8e213cmr15530121rwg.3.1707834198302; Tue, 13 Feb 2024 06:23:18 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707834198; cv=pass; d=google.com; s=arc-20160816; b=e8kIlrIRptIb3xFk3Adbq4XKpfRjXLCpd5zU68oz4ozz/8zzvhU+1puTM34+CEE7Mr qtMPuH2wpEsgS6dUEUA4VptWTfjDcW75+x95XjX3eYedRIZSuJrYGh0v9vtERpztvcSS GVxb4JJcpUHEWhJ2jaLMw6I+Pc9TV6wcdY/wFFxermou/pSORoNRoIEbYnEPCq5xQg0I pbhUU73t+C9xzpMfORJSaxmrrSTN2dMmedT4H0ae/GQJwEpZYEwKY++ROfcnaIUSO7Uv j4PLrAlZixdc4zHvU0l+nmrAD9czKhjuwt5QwMfI53UAAGT7Z1LY5lKGA5Ek68NBrXIF PLRw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=Pe27R5El4Dv++yOPITXX9+jKm5cvh9lf2r0jCzdmu/0=; fh=hK6b2Ha6X7DasE9pWJM3qbPeJYRZS/I8rkwuDKRzPzY=; b=iMG/+c4ZxkjrPkfWDDhe8rPisZm4yD124R6rC8w7zCDn2rSbORXdkc2AormEn18ScZ jzjwJ0fyUrmfBMI9uPu1675zwG6eIaA20MznlUfD+yKT6ZfpZ6OjviJx5C10rybL6kiu GxkvScbBN/q4OMJOrOfH5Zp4hw9/ORYqSXEso7wgS5yYdEl9iykL5Ybh0VNXZubIFPnQ FyuiiXgJ5ssHKI1jI5NriiRIPuWlyTkbLg3RDuePNsgeMkTJf/29VgoOupwZwh93xv12 OoGAXmpUVz95TAiVoM5lbHzYbTphFrr7mRKbMGgQ4jq5+bptUqwvyJMIdNb4jnJDwaVX IbbQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@9elements.com header.s=google header.b=IfMLbuos; arc=pass (i=1 spf=pass spfdomain=9elements.com dkim=pass dkdomain=9elements.com dmarc=pass fromdomain=9elements.com); spf=pass (google.com: domain of linux-kernel+bounces-63666-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63666-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=9elements.com X-Forwarded-Encrypted: i=2; AJvYcCVzDDyq2xYpAqFfK5uLr783mbkjYPFGJ6vKpRUKpI1osGZ6sTX2qclHwAisuC/JpWCLZey8uroRcHljrv+EhiUmGCnJwc1ExWZYZI1EWg== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id i12-20020a636d0c000000b005cda184c281si2061222pgc.199.2024.02.13.06.23.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 06:23:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-63666-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@9elements.com header.s=google header.b=IfMLbuos; arc=pass (i=1 spf=pass spfdomain=9elements.com dkim=pass dkdomain=9elements.com dmarc=pass fromdomain=9elements.com); spf=pass (google.com: domain of linux-kernel+bounces-63666-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63666-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=9elements.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id E3A0D282105 for ; Tue, 13 Feb 2024 14:23:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4BBC858235; Tue, 13 Feb 2024 14:22:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=9elements.com header.i=@9elements.com header.b="IfMLbuos" Received: from mail-ej1-f42.google.com (mail-ej1-f42.google.com [209.85.218.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7F2A058203 for ; Tue, 13 Feb 2024 14:22:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707834156; cv=none; b=KGNJy6RnZCeoRlqVrqlQ3XOiE4mgY0QGkebs2qQg0y0Eh3Qyiu+qjq19AqVM9nWlIsnCyUcLF7dmj6T/qEgTOC8tyuy5RMG8CiwKh5xaxk0oNuZ5nQqAt+ovlJxoEGx9YUCuJ1YTRyfjZ9VD6scGbnUT59XUiZAaEz+YCzrvO6E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707834156; c=relaxed/simple; bh=ZVoWPkWDGGWjLhBURKBmzMi+6xun3d9llfJxTCKJHGg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=lO2i+/Y3yAX4f6kZHSHwuGAPT+Ye+ay1pxaK/wrg4j+dtgHVA9nYjsyaPLDxBN2Z+a3INQoVRj2756kHTltIJN/JrpMW+XRTr0hVKjZEWhERXMhZlvsZpRrdmJuC/Sh5Cdg4uve+UMc5hw3bdzrkl/467j/dgrcBTyiYt6RwEeM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=9elements.com; spf=pass smtp.mailfrom=9elements.com; dkim=pass (2048-bit key) header.d=9elements.com header.i=@9elements.com header.b=IfMLbuos; arc=none smtp.client-ip=209.85.218.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=9elements.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=9elements.com Received: by mail-ej1-f42.google.com with SMTP id a640c23a62f3a-a3d002bc6f7so75843366b.3 for ; Tue, 13 Feb 2024 06:22:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=9elements.com; s=google; t=1707834153; x=1708438953; 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=Pe27R5El4Dv++yOPITXX9+jKm5cvh9lf2r0jCzdmu/0=; b=IfMLbuosVUu9hLdyXKGteoM6WQFCQjI1NY2y1X7gf/TrEDibHaLN/fthxu8J1zjnAI KqKh3Cbju9joKL01o8UrrC+L2QoNPtTnkPF2JhIu50XHQ/scpDU8Y+WX9ef2kEWZcTsK Q1NcIwCujzDhY+Bpfeovg8cbgYz5Mlm5i9g0GQD2yQTfVbSnN9SVCtXb0fMoIQ17U9st ZIc1c8BnW75MdTqn0UbahHvKJsyhKmZXG1iPQ8wjsKHS4zYMSfl7k+Vn88emSBCxaONJ jjkpydH53NEOfLBLdzVY/uGmZR6iNxQG4ETi4IRR6o1xxhdd5aEZ2zjIv9AX0KN1PN5H NpLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707834153; x=1708438953; 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=Pe27R5El4Dv++yOPITXX9+jKm5cvh9lf2r0jCzdmu/0=; b=J5VuMgtIccGgP6UqWJa9DbPDFcz+rxO/7p8Ob62GRdJKE3Tgp6euy5KM4RUfP+rB+/ +m9ApeRm4mzz8wixaWG1jHhqq3rrR4ifh93O8hu1Etdv9bNy1SIIDwOcVlVsMkWCsbL/ fmQjWGHFLAQpPvZ0RroybZomC5oGa6lzdhx2nU0BcwAkbg1FliT1Tes+TGUQ6Y1T4Woo ZacFeCJrra2vZpnet2pBoSO5HiiQGy/cTtj62aevV7HTY8D73hKAGrp0XxFhyJpEhaN2 BYZSOyyI1Qljln/+vUYsZQ2BjQ03GNL94qSBUCi4X3qRrKwoDwkuNg1J4KG8I41z02jH sraw== X-Gm-Message-State: AOJu0YxchQkwB6uopDIBj2ma5pgtuRIkhqXdiI+K3JjbGEkl16XtWRa2 XuMsg0mSV32Jc8zykQD4mEvCemkODacEwku/iR13BgIEqeqzTUO3G+edzTxIMi0= X-Received: by 2002:a17:906:a419:b0:a3d:fb7:84a3 with SMTP id l25-20020a170906a41900b00a3d0fb784a3mr864127ejz.77.1707834152688; Tue, 13 Feb 2024 06:22:32 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCXImBO3mmi4JY0TRPPzH+4244VODD/T2hLnxKqUoEVlKwe0g7ic8MIyyAPFjyIGcgh4iWydYEZvYuNSWCg1t2ZMB3LcqXeSPn8B+CrmOaJTTqf/ghzMTQ0DTic2JE3rUNGRPxfQhHU2yWKJIG6eDRySV4mP5csLxky1SKuAAjPoiAVZNIH1jf2NaM8RKe2jrhzryIPQmMKE9ip43fQvQFbySLzCdma6gFXZqpMM/4ZOrtPVWN4EdOldaQSQRA30VGeYFcddDRUyEV92wrOY/rWxQcq0d690exWGMb8XZjI+KQjKQ61iap2Y88tEUgdjPoIGI9n2L47tLdk9pAVEP3AsuzRKY7xZn4sOuEr9hZZWOSHNlQCFn5zwf+T/nHxQTZwP/h+0sq3ebW74WzPqAqiuDsbEiJMebIkTQvwN/4zsvGpkTG6Pp3hdMs8YB2iKONeo5oQ/Fg0c 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 lu1-20020a170906fac100b00a3c97e49bc9sm1322671ejb.218.2024.02.13.06.22.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 06:22:32 -0800 (PST) From: Naresh Solanki To: Peter Rosin , Andi Shyti , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Laurent Pinchart Cc: mazziesaccount@gmail.com, Patrick Rudolph , Naresh Solanki , Rob Herring , linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 1/2] dt-bindings: i2c: pca954x: Add custom properties for MAX7357 Date: Tue, 13 Feb 2024 19:52:26 +0530 Message-ID: <20240213142228.2146218-1-naresh.solanki@9elements.com> X-Mailer: git-send-email 2.42.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Patrick Rudolph Maxim Max7357 has 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 Reviewed-by: Rob Herring --- Changes in V5: - Append Reviewer-by Changes in V4: - Drop max7358. Changes in V3: - Update commit message Changes in V2: - Update properties. --- .../bindings/i2c/i2c-mux-pca954x.yaml | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/Documentation/devicetree/bindings/i2c/i2c-mux-pca954x.yaml b/Documentation/devicetree/bindings/i2c/i2c-mux-pca954x.yaml index 2d7bb998b0e9..9aa0585200c9 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,19 @@ allOf: "#interrupt-cells": false interrupt-controller: false + - if: + not: + properties: + compatible: + contains: + enum: + - maxim,max7357 + then: + properties: + maxim,isolate-stuck-channel: false + maxim,send-flush-out-sequence: false + maxim,preconnection-wiggle-test-enable: false + unevaluatedProperties: false examples: base-commit: 957bd221ac7b2b56cbdf56739e3a94d4f479209e -- 2.42.0