]> git.baikalelectronics.ru Git - kernel.git/commit
dt-bindings: i2c: Convert DW I2C binding to DT schema
authorBaikal Electronics <support@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)
commitf12e7c6ec1019a96fd394a35b5ef5c4dda658c13
treed7fd3474741dd5686f1adb1b35bbe805912f6fad
parent2ddf727e4ed4bdbf8103afce275c96009e91e59a
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]