]> git.baikalelectronics.ru Git - kernel.git/commitdiff
spi: add mt8186-nor compatible string
authorGuochun Mao <guochun.mao@mediatek.com>
Tue, 18 Jan 2022 14:28:17 +0000 (22:28 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 24 Jan 2022 13:32:13 +0000 (13:32 +0000)
Add MT8186 spi-nor controller support.
MT8186 needs a new clock name, axi_s, for spi nor axi slave bus clock.

Signed-off-by: Guochun Mao <guochun.mao@mediatek.com>
Signed-off-by: Zhen Zhang <zhen.zhang@mediatek.com>
Link: https://lore.kernel.org/r/20220118142820.2729-2-guochun.mao@mediatek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/spi/mediatek,spi-mtk-nor.yaml

index 4e4694e3d5390780ab187bbf3c98d20f0157acd4..be3cc7faed534d633e220a2b19f32471e1685648 100644 (file)
@@ -30,6 +30,7 @@ properties:
               - mediatek,mt7622-nor
               - mediatek,mt7623-nor
               - mediatek,mt7629-nor
+              - mediatek,mt8186-nor
               - mediatek,mt8192-nor
               - mediatek,mt8195-nor
           - enum:
@@ -49,6 +50,8 @@ properties:
       - description: clock used for controller
       - description: clock used for nor dma bus. this depends on hardware
                      design, so this is optional.
+      - description: clock used for controller axi slave bus.
+                     this depends on hardware design, so it is optional.
 
   clock-names:
     minItems: 2
@@ -56,6 +59,7 @@ properties:
       - const: spi
       - const: sf
       - const: axi
+      - const: axi_s
 
 required:
   - compatible