Skip to content

Commit 3cef676

Browse files
clamor-slag-linaro
authored andcommitted
dt-bindings: mfd: max77620: Document optional RTC address for MAX77663
Document an optional second I2C address for the MAX77663 PMIC's RTC device, to be used if the MAX77663 RTC is located at a non-default I2C address. Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com> Reviewed-by: Rob Herring (Arm) <robh@kernel.org> Link: https://patch.msgid.link/20260312085258.11431-5-clamor95@gmail.com Signed-off-by: Lee Jones <lee@kernel.org>
1 parent 4370650 commit 3cef676

1 file changed

Lines changed: 21 additions & 1 deletion

File tree

Documentation/devicetree/bindings/mfd/maxim,max77620.yaml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,17 @@ properties:
1717
- maxim,max77663
1818

1919
reg:
20-
maxItems: 1
20+
description:
21+
Can contain an optional second I2C address pointing to the PMIC's
22+
RTC device. If no RTC address is provided, a default address specific
23+
to this PMIC will be used.
24+
minItems: 1
25+
maxItems: 2
26+
27+
reg-names:
28+
items:
29+
- const: pmic
30+
- const: rtc
2131

2232
interrupts:
2333
maxItems: 1
@@ -192,6 +202,16 @@ allOf:
192202
maxim,suspend-fps-time-period-us:
193203
enum: [40, 80, 160, 320, 640, 1280, 2560, 5120]
194204

205+
- if:
206+
properties:
207+
compatible:
208+
not:
209+
contains:
210+
const: maxim,max77663
211+
then:
212+
properties:
213+
reg-names: false
214+
195215
required:
196216
- compatible
197217
- reg

0 commit comments

Comments
 (0)