]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit973c948b403e73144809473f275c6d54625e8ee0
tree42f6fd571908854098498decf774474dae77d8b0
parent1dedd590205c27b51a67f87a1c8f3583b9e0da38
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/mtd/mtk-quadspi.txt [deleted file]
Documentation/devicetree/bindings/spi/spi-mtk-nor.txt [new file with mode: 0644]