Skip to content

Commit 341d72e

Browse files
Marek Vasutbebarino
authored andcommitted
dt-bindings: clk: rs9: Fix DIF pattern match
The pattern match [0-19] is incorrect and does not cover range of 0..19, use pattern 1?[0-9] to cover range 0..19 instead. Update the example to validate all parts of the pattern match and prevent such failures in the future. Fixes: 26c1bc6 ("dt-bindings: clk: rs9: Add Renesas 9-series I2C PCIe clock generator") Signed-off-by: Marek Vasut <marek.vasut@mailbox.org> Reviewed-by: Conor Dooley <conor.dooley@microchip.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent 37eb334 commit 341d72e

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

Documentation/devicetree/bindings/clock/renesas,9series.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ properties:
6262
description: Output clock down spread in pcm (1/1000 of percent)
6363

6464
patternProperties:
65-
"^DIF[0-19]$":
65+
"^DIF1?[0-9]$":
6666
type: object
6767
description:
6868
Description of one of the outputs (DIF0..DIF19).
@@ -107,6 +107,15 @@ examples:
107107
DIF0 {
108108
renesas,slew-rate = <3000000>;
109109
};
110+
111+
/* Not present on 9FGV0241, used for DT validation only */
112+
DIF2 {
113+
renesas,slew-rate = <2000000>;
114+
};
115+
116+
DIF19 {
117+
renesas,slew-rate = <3000000>;
118+
};
110119
};
111120
};
112121

0 commit comments

Comments
 (0)