[PATCH 3/4] dt-bindings: i2c Add regulator to pca954x

From: Patrick Rudolph
Date: Tue Dec 14 2021 - 04:51:04 EST


Add a regulator called vcc and update the example.

Signed-off-by: Patrick Rudolph <patrick.rudolph@xxxxxxxxxxxxx>
---
Documentation/devicetree/bindings/i2c/i2c-mux-pca954x.yaml | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/Documentation/devicetree/bindings/i2c/i2c-mux-pca954x.yaml b/Documentation/devicetree/bindings/i2c/i2c-mux-pca954x.yaml
index bd794cb80c11..5add7db02c0c 100644
--- a/Documentation/devicetree/bindings/i2c/i2c-mux-pca954x.yaml
+++ b/Documentation/devicetree/bindings/i2c/i2c-mux-pca954x.yaml
@@ -64,6 +64,9 @@ properties:
description: if present, overrides i2c-mux-idle-disconnect
$ref: /schemas/mux/mux-controller.yaml#/properties/idle-state

+ vcc-supply:
+ description: An optional voltage regulator supplying power to the chip.
+
required:
- compatible
- reg
@@ -84,6 +87,8 @@ examples:
#size-cells = <0>;
reg = <0x74>;

+ vcc-supply = <&p3v3>;
+
interrupt-parent = <&ipic>;
interrupts = <17 IRQ_TYPE_LEVEL_LOW>;
interrupt-controller;
--
2.33.1