Received: by 2002:a05:7412:a986:b0:f9:90c9:de9f with SMTP id o6csp12232rdh; Wed, 20 Dec 2023 12:50:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IEJCoANqrHTBXl6Ctwq6PQLqXbONKpQKcPWpqLdVdMvp2k7HjaI15n0u6N+l/U6QDbuWInq X-Received: by 2002:a05:6808:1442:b0:3b8:b063:adf6 with SMTP id x2-20020a056808144200b003b8b063adf6mr26255373oiv.83.1703105416681; Wed, 20 Dec 2023 12:50:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703105416; cv=none; d=google.com; s=arc-20160816; b=uxdOLuwGsXW7K1Pp/dII8ocqGKprKsjVqen/RRtmkosMd6C2LxB6W06dXP/K2zHz3W +/xChr7teVVx2IcT3Hi657ypisGgg9VSetxzrMJl9Rkgf29/y9p28enWW6LWbDy5Ng3v WAlgncG53zZjkuDdO8k3eu1YCLHQO8mhm2YcEFCJb4cnJQi1lAQYqkO3T0JgUl9PGOvN VdrSLukO8rJIPm268PsOdYYH0xEuf72iQwcSF0qJDnnn3ZI5UQnIDzvu3b0We2CiDeYi wAhjGywWvVJ2naqw3BMnI8zTEdcpsgs8iKjMQ8zv5/JC3HxMWxx9gEoCPvSs9ganprNE XyEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature; bh=a5lxZ0YAsDyP71Uk2/N8NkN4q9Y+VXNYur34yjdwg/E=; fh=7rTWsApTvanAmfwxXe/dWJHK99sxaqY+Bfs7DVfxqQc=; b=dftuWpsKQ76qhFDwlSB90TGAEnuBw1Rzd2Z4+e15PpXxM90bvZGLvUEXrPxD9SobOx iBweQtBt3328A/YNCB+oVTaFX4bLTLXl0+ULTUcoFSOiYyrL/V0PK73XMnWEGeOkzg8Q th6FsNVfD/TRMXFpOeZf27vZvTZXIKDuOc0acwTEztZqb9Z7mj5v8dcuYU2DqS+oGo0P wLYnd+Pn+VXBECETdYOYCymqS1vKXc2eFdZvZOh9gz6C8YSmhppcDjCFkkyzhYCe4a1w v2tg7QSUB3+yvOTX2LFKrH6hO3WxqV3BKXSmidkskI4dEXiuDvq2wmdmt2sg+fi1VHQf GpHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WT8jKLpK; spf=pass (google.com: domain of linux-kernel+bounces-7423-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7423-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id h2-20020a0cb4c2000000b0067aa68574b3si522379qvf.100.2023.12.20.12.50.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 12:50:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7423-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WT8jKLpK; spf=pass (google.com: domain of linux-kernel+bounces-7423-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7423-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id DB0541C2256C for ; Wed, 20 Dec 2023 20:50:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 812721EB5F; Wed, 20 Dec 2023 20:50:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="WT8jKLpK" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9FAA648CC9; Wed, 20 Dec 2023 20:50:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6ED26C433C8; Wed, 20 Dec 2023 20:50:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1703105410; bh=SCTbrl+xMgjd0CYmPII6l8JIdLWbKGFFqcXQV4hU7Vk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=WT8jKLpKrZw9XXGQ4JrM71qX73Yf8H9Mzqc/5+oMasmITzQ4Fll4XHG6N4SJfTOgq ruYJZiAF217gcZxpKijTl+hR2t1hCX8YvP3K66eJLCXeZgctXtnscPd7BFN3oa+Hep tQErt7pscHlTnJwOORpt0UqFpWYmdFjvEI5kM4ZEGZMLNDy8LIQjO3NZ9Oei2N+Dz7 hvHV1ZUz96OYk0BZ8UX3zz8X95n8sPuJCqPF9BZXXDxUoFgeOkxyIJjfKGaF/LmCe9 +wX4lErRROth1flFcbXcSYa0W2cweQMTK9rIQngZDKFLQYJR72UBBToS6YtSV09YgD XNHDBThvJXi9Q== Date: Wed, 20 Dec 2023 21:50:04 +0100 From: Wolfram Sang To: Naresh Solanki , Rob Herring Cc: Peter Rosin , Andi Shyti , Krzysztof Kozlowski , Conor Dooley , Laurent Pinchart , Patrick Rudolph , Rob Herring , linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RESEND PATCH v5 1/2] dt-bindings: i2c: pca954x: Add custom properties for MAX7357 Message-ID: Mail-Followup-To: Wolfram Sang , Naresh Solanki , Rob Herring , Peter Rosin , Andi Shyti , Krzysztof Kozlowski , Conor Dooley , Laurent Pinchart , Patrick Rudolph , Rob Herring , linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20231220082803.345153-1-naresh.solanki@9elements.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="9k72YHBHIjnGiFBv" Content-Disposition: inline In-Reply-To: <20231220082803.345153-1-naresh.solanki@9elements.com> --9k72YHBHIjnGiFBv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 20, 2023 at 01:58:01PM +0530, Naresh Solanki wrote: > From: Patrick Rudolph >=20 > 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. >=20 > These should be validated for proper functioning & detection of devices > in secondary bus as sometimes it can cause secondary bus being disabled. >=20 > Add booleans for: > - maxim,isolate-stuck-channel > - maxim,send-flush-out-sequence > - maxim,preconnection-wiggle-test-enable >=20 > Signed-off-by: Patrick Rudolph > Signed-off-by: Naresh Solanki > Reviewed-by: Rob Herring Rob, are you really OK with these bindings? They look more like configuration instead of HW description to me. > --- > 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(+) >=20 > 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 PCA= 9846 > the regulator supplies power to VDD2 (core logic) and optionally t= o VDD1. > =20 > + 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 isolat= ed 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 s= witch > + register activates a channel to detect a stuck high fault. On faul= t the > + channel is isolated from the upstream bus. > + > required: > - compatible > - reg > @@ -95,6 +112,19 @@ allOf: > "#interrupt-cells": false > interrupt-controller: false > =20 > + - 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 > =20 > examples: >=20 > base-commit: 76998e5bcdf155b36c7066808a0a65b2ee13cb2a > --=20 > 2.41.0 >=20 >=20 --9k72YHBHIjnGiFBv Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAmWDU3wACgkQFA3kzBSg KbYCtg/+IHnU4Dlg5ZuJoczu05tDkIEorMC7QYYZauBkjd14V0PJuzdaQYYs6JBe Z3uEZyw6hNx5fZT87YEH/hXEzmTVAIRuOUzg2aEVmPPy7FCUD8HG0I0siUJGWzSX eASSmz9A5YaZS/AFAhPg982vespbLVtd0gubN1b2dabx+JCZvEyt2UN4ooiw7IXD MdXWye8/RruXLZUMP+LehEmUi7JRbRNP8sBJISEIi4xnel6VLHDvIHKo31JWXjMK 6jyzMgIK82gHW1vOHAQsikKCQMFUSsXHBh2qDV9nMNDJc5LRXF7n2ujt+jgvnzSW EwP8lRYyHxPGwsYYSdxRJ7QnfNLDvAsM7VEN8StXXt8Hlt+NzpJO6bIO69oKtNHk 21xEVsWlgS62W3p9Ro92h2HaircFk4iEYXHFW6mXhh8RVQfz+pNpAz3B1HfCp1e4 nskkKJPVOB7rchZvhf/dStDC9pZNRlXSO4A3irteWU2YB8RI9oFWkfLjAUGoNuRq IGQwoEAJVA+ywcHp/dO4xYxzTlDK7CBns5TrGWxC5ke4mKVxOzvVjZXgdJ5rzUAB RFoQKQ/AD08vPHh6lQXweShhc/h8oJEvvWfBZTH5KW/oICFUDyRU7oTcbtHf68JN 7JMP3aC6jApo69gofOmPhT/l5lj77PhuOh6Dpvrsdoro84pqf9Y= =982l -----END PGP SIGNATURE----- --9k72YHBHIjnGiFBv--