dt-bindings: i2c: Convert DW I2C binding to DT schema
authorSerge Semin <Sergey.Semin@baikalelectronics.ru>
Thu, 28 May 2020 09:33:11 +0000 (12:33 +0300)
committerWolfram Sang <wsa@kernel.org>
Sat, 30 May 2020 09:33:27 +0000 (11:33 +0200)
commit3264d9e5cf453fc9d392dfbaca3ba0afd1c54462
treed7fd3474741dd5686f1adb1b35bbe805912f6fad
parent34765c19cce3cba0c94d471d2e84f71d4978996e
dt-bindings: i2c: Convert DW I2C binding to DT schema

Modern device tree bindings are supposed to be created as YAML-files
in accordance with dt-schema. This commit replaces Synopsys DW I2C
legacy bare text bindings with YAML file. As before the bindings file
states that the corresponding dts node is supposed to be compatible
either with generic DW I2C controller or with Microsemi Ocelot SoC I2C
one, to have registers, interrupts and clocks properties. In addition
the node may have clock-frequency, i2c-sda-hold-time-ns,
i2c-scl-falling-time-ns and i2c-sda-falling-time-ns optional properties.

Signed-off-by: Serge Semin <Sergey.Semin@baikalelectronics.ru>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Documentation/devicetree/bindings/i2c/i2c-designware.txt [deleted file]
Documentation/devicetree/bindings/i2c/snps,designware-i2c.yaml [new file with mode: 0644]