Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: i2c: pca954x: Add custom properties for MAX7357

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 <patrick.rudolph@9elements.com>
Signed-off-by: Naresh Solanki <naresh.solanki@9elements.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>

authored by

Patrick Rudolph and committed by
Andi Shyti
5731cb4b 54be6c6c

+30
+30
Documentation/devicetree/bindings/i2c/i2c-mux-pca954x.yaml
··· 71 71 description: A voltage regulator supplying power to the chip. On PCA9846 72 72 the regulator supplies power to VDD2 (core logic) and optionally to VDD1. 73 73 74 + maxim,isolate-stuck-channel: 75 + type: boolean 76 + description: Allows to use non faulty channels while a stuck channel is 77 + isolated from the upstream bus. If not set all channels are isolated from 78 + the upstream bus until the fault is cleared. 79 + 80 + maxim,send-flush-out-sequence: 81 + type: boolean 82 + description: Send a flush-out sequence to stuck auxiliary buses 83 + automatically after a stuck channel is being detected. 84 + 85 + maxim,preconnection-wiggle-test-enable: 86 + type: boolean 87 + description: Send a STOP condition to the auxiliary buses when the switch 88 + register activates a channel to detect a stuck high fault. On fault the 89 + channel is isolated from the upstream bus. 90 + 74 91 required: 75 92 - compatible 76 93 - reg ··· 111 94 interrupts: false 112 95 "#interrupt-cells": false 113 96 interrupt-controller: false 97 + 98 + - if: 99 + not: 100 + properties: 101 + compatible: 102 + contains: 103 + enum: 104 + - maxim,max7357 105 + then: 106 + properties: 107 + maxim,isolate-stuck-channel: false 108 + maxim,send-flush-out-sequence: false 109 + maxim,preconnection-wiggle-test-enable: false 114 110 115 111 unevaluatedProperties: false 116 112