dt-bindings: convert mtk-quadspi binding doc for spi-mtk-nor
authorChuanhong Guo <gch981213@gmail.com>
Fri, 6 Mar 2020 08:50:51 +0000 (16:50 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 11 Mar 2020 19:56:08 +0000 (19:56 +0000)
commit13a971046a23990a00419d031642a09605903caa
tree42f6fd571908854098498decf774474dae77d8b0
parent881d1ee9fe81ff2be1b90809a07621be97404a57
dt-bindings: convert mtk-quadspi binding doc for spi-mtk-nor

spi-mtk-nor is a driver to replace mtk-quadspi and they have almost
the same device-tree bindings. Reuse this binding documentation and
convert it for new driver:

1. "Mediatek SoCs" -> "Mediatek ARM SoCs" because MTK MIPS SoCs
   use different controllers.
2. document "interrupts" as a required property because it's
   available on all SoCs with this controller and new driver takes
   advantages of it. It's implemented as optional only to maintain
   backward compatibility.
3. add a dummy interrupt binding in example.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
Link: https://lore.kernel.org/r/20200306085052.28258-4-gch981213@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/spi/spi-mtk-nor.txt [moved from Documentation/devicetree/bindings/mtd/mtk-quadspi.txt with 75% similarity]