From: Naresh Solanki <naresh.solanki@9elements.com>
To: Peter Rosin <peda@axentia.se>, Andi Shyti <andi.shyti@kernel.org>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>,
Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Patrick Rudolph <patrick.rudolph@9elements.com>,
Naresh Solanki <Naresh.Solanki@9elements.com>,
linux-i2c@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: [PATCH 1/2] dt-binding: Add custom property for MAX7357
Date: Wed, 30 Aug 2023 13:57:42 +0200 [thread overview]
Message-ID: <20230830115744.4102929-1-Naresh.Solanki@9elements.com> (raw)
From: Patrick Rudolph <patrick.rudolph@9elements.com>
Add a custom property "maxim,bus-lockup-fix" to enable proprietary
features on MAX7357. The driver configures MAX7357 to isolate the
failing channel and trigger a flush-out sequence for bus lock-up
resolution.
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Signed-off-by: Naresh Solanki <Naresh.Solanki@9elements.com>
---
.../devicetree/bindings/i2c/i2c-mux-pca954x.yaml | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/Documentation/devicetree/bindings/i2c/i2c-mux-pca954x.yaml b/Documentation/devicetree/bindings/i2c/i2c-mux-pca954x.yaml
index 2d7bb998b0e9..984d4614a270 100644
--- a/Documentation/devicetree/bindings/i2c/i2c-mux-pca954x.yaml
+++ b/Documentation/devicetree/bindings/i2c/i2c-mux-pca954x.yaml
@@ -71,6 +71,11 @@ 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,bus-lockup-fix:
+ type: boolean
+ description: Isolates only the stuck channel and generates a flush-out sequence
+ to attempt to clear the bus lock-up.
+
required:
- compatible
- reg
@@ -95,6 +100,16 @@ allOf:
"#interrupt-cells": false
interrupt-controller: false
+ - if:
+ not:
+ properties:
+ compatible:
+ contains:
+ const: maxim,max7357
+ then:
+ properties:
+ maxim,bus-lockup-fix: false
+
unevaluatedProperties: false
examples:
base-commit: f9ea75e087b81081f33e34c4e1ba8b4abe841d9f
--
2.41.0
next reply other threads:[~2023-08-30 18:38 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-30 11:57 Naresh Solanki [this message]
2023-08-30 11:57 ` [PATCH 2/2] i2c: muxes: Enable features on MAX7357 Naresh Solanki
2023-09-02 18:42 ` Andi Shyti
2023-09-11 9:07 ` Naresh Solanki
2023-08-30 14:38 ` [PATCH 1/2] dt-binding: Add custom property for MAX7357 Krzysztof Kozlowski
2023-08-31 9:45 ` Naresh Solanki
2023-08-31 12:01 ` Krzysztof Kozlowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230830115744.4102929-1-Naresh.Solanki@9elements.com \
--to=naresh.solanki@9elements.com \
--cc=andi.shyti@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=patrick.rudolph@9elements.com \
--cc=peda@axentia.se \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.