[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230830115744.4102929-1-Naresh.Solanki@9elements.com>
Date: Wed, 30 Aug 2023 13:57:42 +0200
From: Naresh Solanki <naresh.solanki@...ements.com>
To: Peter Rosin <peda@...ntia.se>, Andi Shyti <andi.shyti@...nel.org>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Conor Dooley <conor+dt@...nel.org>,
Laurent Pinchart <laurent.pinchart@...asonboard.com>
Cc: Patrick Rudolph <patrick.rudolph@...ements.com>,
Naresh Solanki <Naresh.Solanki@...ements.com>,
linux-i2c@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH 1/2] dt-binding: Add custom property for MAX7357
From: Patrick Rudolph <patrick.rudolph@...ements.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@...ements.com>
Signed-off-by: Naresh Solanki <Naresh.Solanki@...ements.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
Powered by blists - more mailing lists