2022-09-22 08:57:49

by Manikanta Guntupalli

[permalink] [raw]
Subject: [PATCH V2 7/9] dt-bindings: i2c: xiic: Add 'xlnx,axi-iic-2.1' to

From: Raviteja Narayanam <[email protected]>

Added the xilinx I2C new version 'xlnx,axi-iic-2.1' string to compatible
Added clock-frequency as optional property.

Signed-off-by: Raviteja Narayanam <[email protected]>
Signed-off-by: Manikanta Guntupalli <[email protected]>
---
.../devicetree/bindings/i2c/xlnx,xps-iic-2.00.a.yaml | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/i2c/xlnx,xps-iic-2.00.a.yaml b/Documentation/devicetree/bindings/i2c/xlnx,xps-iic-2.00.a.yaml
index 715dcfa5a922..be6c18b2c19e 100644
--- a/Documentation/devicetree/bindings/i2c/xlnx,xps-iic-2.00.a.yaml
+++ b/Documentation/devicetree/bindings/i2c/xlnx,xps-iic-2.00.a.yaml
@@ -14,7 +14,9 @@ allOf:

properties:
compatible:
- const: xlnx,xps-iic-2.00.a
+ enum:
+ - xlnx,xps-iic-2.00.a
+ - xlnx,axi-iic-2.1

reg:
maxItems: 1
@@ -36,6 +38,9 @@ required:
- interrupts
- clocks

+optional:
+ - clock-frequency
+
unevaluatedProperties: false

examples:
--
2.25.1