]> git.itanic.dy.fi Git - linux-stable/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)
commite7c21940463cf02bdefb4edd38d61dd7c589bb5c
treee7bce1e4bad3d5db4c7265b573cd6c19979a7467
parent6d83bcf7826bef0e08165a692a1c2ed569840e78
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