aboutsummaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/i2c
diff options
context:
space:
mode:
authorGravatar Raviteja Narayanam <raviteja.narayanam@xilinx.com> 2023-02-15 19:02:22 +0530
committerGravatar Wolfram Sang <wsa@kernel.org> 2023-02-17 22:42:58 +0100
commitdeca7db82bdebfe4713de28574245276cd5e3023 (patch)
tree53ebd7af4a28e018d9757f3a2b6758a8a5b88596 /Documentation/devicetree/bindings/i2c
parenti2c: i801: Call i801_check_post() from i801_access() (diff)
downloadlinux-deca7db82bdebfe4713de28574245276cd5e3023.tar.gz
linux-deca7db82bdebfe4713de28574245276cd5e3023.tar.bz2
linux-deca7db82bdebfe4713de28574245276cd5e3023.zip
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>
Diffstat (limited to 'Documentation/devicetree/bindings/i2c')
-rw-r--r--Documentation/devicetree/bindings/i2c/xlnx,xps-iic-2.00.a.yaml11
1 files changed, 10 insertions, 1 deletions
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 8d241a703d85..1b598638d457 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,axi-iic-2.1
+ - xlnx,xps-iic-2.00.a
reg:
maxItems: 1
@@ -30,6 +32,13 @@ properties:
description: |
Input clock name.
+ clock-frequency:
+ description:
+ Optional I2C SCL clock frequency. If not specified, do not configure
+ in software, rely only on hardware design value.
+ default: 100000
+ enum: [ 100000, 400000, 1000000 ]
+
required:
- compatible
- reg