]> git.baikalelectronics.ru Git - kernel.git/commit
dt-bindings: i2c: migrate mt7621 text bindings to YAML
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Tue, 20 Sep 2022 05:20:50 +0000 (07:20 +0200)
committerRob Herring <robh@kernel.org>
Mon, 26 Sep 2022 19:08:20 +0000 (14:08 -0500)
commita2de929295d6741ba9b22652193c2a18055974b6
treee7bce1e4bad3d5db4c7265b573cd6c19979a7467
parent2f1957d5ede138f7b2757f7905a566fb9060c205
dt-bindings: i2c: migrate mt7621 text bindings to YAML

SoC MT7621 I2C bindings used text format, so migrate them to YAML.
There are some additions to the binding that were not in the original
txt file. This binding is used in MT7621 and MT7628a Ralink SoCs. To
properly match both dts nodes in tree we need to add to the schema
'clocks', 'clock-names' and 'reset-names'. Both 'clock-names' and
'reset-names' use 'i2c' as string so maintain that as const in
the schema. Also, Properly update MAINTAINERS file to align the
changes.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220920052050.582321-1-sergio.paracuellos@gmail.com
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/i2c/i2c-mt7621.txt [deleted file]
Documentation/devicetree/bindings/i2c/mediatek,mt7621-i2c.yaml [new file with mode: 0644]
MAINTAINERS