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 <raviteja.narayanam@xilinx.com> Signed-off-by: Manikanta Guntupalli <manikanta.guntupalli@amd.com> Acked-by: Michal Simek <michal.simek@amd.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Wolfram Sang <wsa@kernel.org>
1 parent de461a2 commit deca7db

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

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)