Skip to content

Commit deca7db

Browse files
Raviteja Narayanamwsakernel
authored andcommitted
dt-bindings: i2c: xiic: Add 'xlnx,axi-iic-2.1' to compatible
Add xilinx I2C new version 'xlnx,axi-iic-2.1' string to compatible. Add clock-frequency as optional property. Signed-off-by: Raviteja Narayanam <[email protected]> Signed-off-by: Manikanta Guntupalli <[email protected]> Acked-by: Michal Simek <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
1 parent de461a2 commit deca7db

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

Documentation/devicetree/bindings/i2c/xlnx,xps-iic-2.00.a.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ allOf:
1414

1515
properties:
1616
compatible:
17-
const: xlnx,xps-iic-2.00.a
17+
enum:
18+
- xlnx,axi-iic-2.1
19+
- xlnx,xps-iic-2.00.a
1820

1921
reg:
2022
maxItems: 1
@@ -30,6 +32,13 @@ properties:
3032
description: |
3133
Input clock name.
3234
35+
clock-frequency:
36+
description:
37+
Optional I2C SCL clock frequency. If not specified, do not configure
38+
in software, rely only on hardware design value.
39+
default: 100000
40+
enum: [ 100000, 400000, 1000000 ]
41+
3342
required:
3443
- compatible
3544
- reg

0 commit comments

Comments
 (0)