aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/spi/mediatek,spi-mtk-nor.yaml
diff options
context:
space:
mode:
authorTinghan Shen <tinghan.shen@mediatek.com>2021-12-20 20:18:23 +0800
committerMark Brown <broonie@kernel.org>2021-12-20 20:26:27 +0000
commit6008cb4c98d935a844edf2f3c13639104f533e30 (patch)
tree79a71b6b663a5324f51ef2d03823de520ed2cb37 /Documentation/devicetree/bindings/spi/mediatek,spi-mtk-nor.yaml
parentspi: atmel,quadspi: Define sama7g5 QSPI (diff)
downloadlinux-dev-6008cb4c98d935a844edf2f3c13639104f533e30.tar.xz
linux-dev-6008cb4c98d935a844edf2f3c13639104f533e30.zip
spi: spi-mtk-nor: add new clock name 'axi' for spi nor
Some mtk spi nor has dedicated dma(s) inside. Add a new clock name, axi, for spi nor dma bus clock. Signed-off-by: Tinghan Shen <tinghan.shen@mediatek.com> Link: https://lore.kernel.org/r/20211220121825.6446-3-tinghan.shen@mediatek.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to '')
-rw-r--r--Documentation/devicetree/bindings/spi/mediatek,spi-mtk-nor.yaml6
1 files changed, 5 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/spi/mediatek,spi-mtk-nor.yaml b/Documentation/devicetree/bindings/spi/mediatek,spi-mtk-nor.yaml
index 7393f30535df..4fe929bfcec9 100644
--- a/Documentation/devicetree/bindings/spi/mediatek,spi-mtk-nor.yaml
+++ b/Documentation/devicetree/bindings/spi/mediatek,spi-mtk-nor.yaml
@@ -43,14 +43,19 @@ properties:
maxItems: 1
clocks:
+ minItems: 2
items:
- description: clock used for spi bus
- description: clock used for controller
+ - description: clock used for nor dma bus. this depends on hardware
+ design, so this is optional.
clock-names:
+ minItems: 2
items:
- const: spi
- const: sf
+ - const: axi
required:
- compatible
@@ -84,4 +89,3 @@ examples:
};
};
};
-