dt-bindings: i2c: Convert i2c-pxa to json-schema
authorLubomir Rintel <lkundrak@v3.sk>
Tue, 16 Jun 2020 22:33:50 +0000 (00:33 +0200)
committerRob Herring <robh@kernel.org>
Mon, 13 Jul 2020 18:49:22 +0000 (12:49 -0600)
commitecb11b2cc30cc8bc222ced20f280a3d0b167e481
tree78eaf73fe66c8e3f7a735006187075a3cf8ce6d3
parentf882846c018263f1e17fe11fd0154115d11255b2
dt-bindings: i2c: Convert i2c-pxa to json-schema

A conversion of the i2c-pxa binding to DT schema format using json-schema.

This also cleans ups some errors in the binding: The compatible string
description suggested that "mmp" in "mrvl,mmp-twsi" is to be substituted
with a processor model, which wouldn't be a right thing to do and indeed
nobody seems to have been doing that. There also was "Recommended
properties" section that included optional as well as mandatory
properties. Missing mandatory properties were added to the example.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Link: https://lore.kernel.org/r/20200616223353.993567-3-lkundrak@v3.sk
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/i2c/i2c-pxa.txt [deleted file]
Documentation/devicetree/bindings/i2c/i2c-pxa.yaml [new file with mode: 0644]