Skip to content

Commit dde2c69

Browse files
PatrickRudolphwsakernel
authored andcommitted
dt-bindings: i2c: Add Maxim MAX735x/MAX736x variants
Update the pca954x bindings to add support for the Maxim MAX735x/MAX736x chips. The functionality will be provided by the existing pca954x driver. For chips that are powered off by default add a regulator called vdd-supply. Signed-off-by: Patrick Rudolph <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Acked-by: Peter Rosin <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
1 parent f0382e3 commit dde2c69

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

Documentation/devicetree/bindings/i2c/i2c-mux-pca954x.yaml

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,29 @@
44
$id: http://devicetree.org/schemas/i2c/i2c-mux-pca954x.yaml#
55
$schema: http://devicetree.org/meta-schemas/core.yaml#
66

7-
title: NXP PCA954x I2C bus switch
7+
title: NXP PCA954x I2C and compatible bus switches
88

99
maintainers:
1010
- Laurent Pinchart <[email protected]>
1111

1212
description:
13-
The binding supports NXP PCA954x and PCA984x I2C mux/switch devices.
13+
The NXP PCA954x and compatible devices are I2C bus
14+
multiplexer/switches that share the same functionality
15+
and register layout.
16+
The devices usually have 4 or 8 child buses, which are
17+
attached to the parent bus by using the SMBus "Send Byte"
18+
command.
1419

1520
properties:
1621
compatible:
1722
oneOf:
1823
- enum:
24+
- maxim,max7356
25+
- maxim,max7357
26+
- maxim,max7358
27+
- maxim,max7367
28+
- maxim,max7368
29+
- maxim,max7369
1930
- nxp,pca9540
2031
- nxp,pca9542
2132
- nxp,pca9543
@@ -56,6 +67,10 @@ properties:
5667
description: if present, overrides i2c-mux-idle-disconnect
5768
$ref: /schemas/mux/mux-controller.yaml#/properties/idle-state
5869

70+
vdd-supply:
71+
description: A voltage regulator supplying power to the chip. On PCA9846
72+
the regulator supplies power to VDD2 (core logic) and optionally to VDD1.
73+
5974
required:
6075
- compatible
6176
- reg
@@ -68,6 +83,8 @@ allOf:
6883
compatible:
6984
contains:
7085
enum:
86+
- maxim,max7367
87+
- maxim,max7369
7188
- nxp,pca9542
7289
- nxp,pca9543
7390
- nxp,pca9544
@@ -94,6 +111,8 @@ examples:
94111
#size-cells = <0>;
95112
reg = <0x74>;
96113
114+
vdd-supply = <&p3v3>;
115+
97116
interrupt-parent = <&ipic>;
98117
interrupts = <17 IRQ_TYPE_LEVEL_LOW>;
99118
interrupt-controller;

0 commit comments

Comments
 (0)