[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20211211204014.8014-3-tinghan.shen@mediatek.com>
Date: Sun, 12 Dec 2021 04:40:12 +0800
From: Tinghan Shen <tinghan.shen@...iatek.com>
To: <robh+dt@...nel.org>, <linus.walleij@...aro.org>,
<matthias.bgg@...il.com>, <broonie@...nel.org>
CC: <bgolaszewski@...libre.com>, <sean.wang@...iatek.com>,
<bayi.cheng@...iatek.com>, <gch981213@...il.com>,
<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-gpio@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-mediatek@...ts.infradead.org>, <linux-spi@...r.kernel.org>,
<Project_Global_Chrome_Upstream_Group@...iatek.com>,
Tinghan Shen <tinghan.shen@...iatek.com>
Subject: [PATCH v6 2/4] dt-bindings: spi: 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@...iatek.com>
---
.../devicetree/bindings/spi/mediatek,spi-mtk-nor.yaml | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/spi/mediatek,spi-mtk-nor.yaml b/Documentation/devicetree/bindings/spi/mediatek,spi-mtk-nor.yaml
index 7393f30535df..478afebfec9c 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.
clock-names:
+ minItems: 2
items:
- const: spi
- const: sf
+ - const: axi
required:
- compatible
@@ -84,4 +89,3 @@ examples:
};
};
};
-
--
2.18.0
Powered by blists - more mailing lists