]> git.itanic.dy.fi Git - linux-stable/commit
spi: migrate mt7621 text bindings to YAML
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Tue, 27 Sep 2022 03:19:29 +0000 (05:19 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 27 Sep 2022 11:33:06 +0000 (12:33 +0100)
commit048f71f7685706dcc859160cc74f73e361cfe6c0
treee9ad3dacfe6e812b31818f95657baf798b5687c7
parentaa69dc65e3b34ce67847f92be06ce9a624a02475
spi: migrate mt7621 text bindings to YAML

SoC MT7621 SPI bindings used text format, so migrate them to YAML.
There are some additions to the binding that were not in the original
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 'spi' as string so maintain that as const in
the schema.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Link: https://lore.kernel.org/r/20220927031929.807070-1-sergio.paracuellos@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/spi/ralink,mt7621-spi.yaml [new file with mode: 0644]
Documentation/devicetree/bindings/spi/spi-mt7621.txt [deleted file]