All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tinghan Shen <tinghan.shen@mediatek.com>
To: <robh+dt@kernel.org>, <linus.walleij@linaro.org>,
	<matthias.bgg@gmail.com>, <broonie@kernel.org>
Cc: <bgolaszewski@baylibre.com>, <sean.wang@mediatek.com>,
	<bayi.cheng@mediatek.com>, <gch981213@gmail.com>,
	<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	<linux-gpio@vger.kernel.org>,
	<linux-arm-kernel@lists.infradead.org>,
	<linux-mediatek@lists.infradead.org>, <linux-spi@vger.kernel.org>,
	<Project_Global_Chrome_Upstream_Group@mediatek.com>,
	Tinghan Shen <tinghan.shen@mediatek.com>
Subject: [PATCH v7 2/4] dt-bindings: spi: spi-mtk-nor: add new clock name 'axi' for spi nor
Date: Mon, 20 Dec 2021 20:18:23 +0800	[thread overview]
Message-ID: <20211220121825.6446-3-tinghan.shen@mediatek.com> (raw)
In-Reply-To: <20211220121825.6446-1-tinghan.shen@mediatek.com>

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>
---
 .../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, so this is optional.
 
   clock-names:
+    minItems: 2
     items:
       - const: spi
       - const: sf
+      - const: axi
 
 required:
   - compatible
@@ -84,4 +89,3 @@ examples:
         };
       };
     };
-
-- 
2.18.0


WARNING: multiple messages have this Message-ID (diff)
From: Tinghan Shen <tinghan.shen@mediatek.com>
To: <robh+dt@kernel.org>, <linus.walleij@linaro.org>,
	<matthias.bgg@gmail.com>, <broonie@kernel.org>
Cc: <bgolaszewski@baylibre.com>, <sean.wang@mediatek.com>,
	<bayi.cheng@mediatek.com>, <gch981213@gmail.com>,
	<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	<linux-gpio@vger.kernel.org>,
	<linux-arm-kernel@lists.infradead.org>,
	<linux-mediatek@lists.infradead.org>, <linux-spi@vger.kernel.org>,
	<Project_Global_Chrome_Upstream_Group@mediatek.com>,
	Tinghan Shen <tinghan.shen@mediatek.com>
Subject: [PATCH v7 2/4] dt-bindings: spi: spi-mtk-nor: add new clock name 'axi' for spi nor
Date: Mon, 20 Dec 2021 20:18:23 +0800	[thread overview]
Message-ID: <20211220121825.6446-3-tinghan.shen@mediatek.com> (raw)
In-Reply-To: <20211220121825.6446-1-tinghan.shen@mediatek.com>

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>
---
 .../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, so this is optional.
 
   clock-names:
+    minItems: 2
     items:
       - const: spi
       - const: sf
+      - const: axi
 
 required:
   - compatible
@@ -84,4 +89,3 @@ examples:
         };
       };
     };
-
-- 
2.18.0


_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

WARNING: multiple messages have this Message-ID (diff)
From: Tinghan Shen <tinghan.shen@mediatek.com>
To: <robh+dt@kernel.org>, <linus.walleij@linaro.org>,
	<matthias.bgg@gmail.com>, <broonie@kernel.org>
Cc: <bgolaszewski@baylibre.com>, <sean.wang@mediatek.com>,
	<bayi.cheng@mediatek.com>, <gch981213@gmail.com>,
	<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	<linux-gpio@vger.kernel.org>,
	<linux-arm-kernel@lists.infradead.org>,
	<linux-mediatek@lists.infradead.org>, <linux-spi@vger.kernel.org>,
	<Project_Global_Chrome_Upstream_Group@mediatek.com>,
	Tinghan Shen <tinghan.shen@mediatek.com>
Subject: [PATCH v7 2/4] dt-bindings: spi: spi-mtk-nor: add new clock name 'axi' for spi nor
Date: Mon, 20 Dec 2021 20:18:23 +0800	[thread overview]
Message-ID: <20211220121825.6446-3-tinghan.shen@mediatek.com> (raw)
In-Reply-To: <20211220121825.6446-1-tinghan.shen@mediatek.com>

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>
---
 .../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, so this is optional.
 
   clock-names:
+    minItems: 2
     items:
       - const: spi
       - const: sf
+      - const: axi
 
 required:
   - compatible
@@ -84,4 +89,3 @@ examples:
         };
       };
     };
-
-- 
2.18.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2021-12-20 12:18 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-20 12:18 [PATCH v7 0/4] Add basic SoC support for mediatek mt8195 Tinghan Shen
2021-12-20 12:18 ` Tinghan Shen
2021-12-20 12:18 ` Tinghan Shen
2021-12-20 12:18 ` [PATCH v7 1/4] dt-bindings: arm: mediatek: add mt8195 pericfg compatible Tinghan Shen
2021-12-20 12:18   ` Tinghan Shen
2021-12-20 12:18   ` Tinghan Shen
2021-12-24  9:19   ` AngeloGioacchino Del Regno
2021-12-24  9:19     ` AngeloGioacchino Del Regno
2021-12-24  9:19     ` AngeloGioacchino Del Regno
2021-12-20 12:18 ` Tinghan Shen [this message]
2021-12-20 12:18   ` [PATCH v7 2/4] dt-bindings: spi: spi-mtk-nor: add new clock name 'axi' for spi nor Tinghan Shen
2021-12-20 12:18   ` Tinghan Shen
2021-12-20 12:57   ` Mark Brown
2021-12-20 12:57     ` Mark Brown
2021-12-20 12:57     ` Mark Brown
2021-12-20 12:59   ` Mark Brown
2021-12-20 12:59     ` Mark Brown
2021-12-20 12:59     ` Mark Brown
2021-12-29 19:40   ` Matthias Brugger
2021-12-29 19:40     ` Matthias Brugger
2021-12-29 19:40     ` Matthias Brugger
2021-12-20 12:18 ` [PATCH v7 3/4] dt-bindings: pinctrl: mt8195: add wrapping node of pin configurations Tinghan Shen
2021-12-20 12:18   ` Tinghan Shen
2021-12-20 12:18   ` Tinghan Shen
2021-12-22 17:50   ` Rob Herring
2021-12-22 17:50     ` Rob Herring
2021-12-22 17:50     ` Rob Herring
2021-12-24  9:27   ` AngeloGioacchino Del Regno
2021-12-24  9:27     ` AngeloGioacchino Del Regno
2021-12-24  9:27     ` AngeloGioacchino Del Regno
2022-01-02  5:16   ` Linus Walleij
2022-01-02  5:16     ` Linus Walleij
2022-01-02  5:16     ` Linus Walleij
2021-12-20 12:18 ` [PATCH v7 4/4] arm64: dts: Add mediatek SoC mt8195 and evaluation board Tinghan Shen
2021-12-20 12:18   ` Tinghan Shen
2021-12-20 12:18   ` Tinghan Shen
2021-12-23  9:59   ` Chen-Yu Tsai
2021-12-23  9:59     ` Chen-Yu Tsai
2021-12-23  9:59     ` Chen-Yu Tsai
2022-01-06 11:14     ` Tinghan Shen
2022-01-06 11:14       ` Tinghan Shen
2022-01-06 11:14       ` Tinghan Shen
2022-01-07  5:43       ` Chunfeng Yun
2022-01-07  5:43         ` Chunfeng Yun
2022-01-07  5:43         ` Chunfeng Yun
2022-01-07  8:36       ` Chen-Yu Tsai
2022-01-07  8:36         ` Chen-Yu Tsai
2022-01-07  8:36         ` Chen-Yu Tsai
2022-01-07  6:19     ` Chen-Yu Tsai
2022-01-07  6:19       ` Chen-Yu Tsai
2022-01-07  6:19       ` Chen-Yu Tsai
2021-12-24  9:26   ` AngeloGioacchino Del Regno
2021-12-24  9:26     ` AngeloGioacchino Del Regno
2021-12-24  9:26     ` AngeloGioacchino Del Regno
2021-12-21  2:51 ` (subset) [PATCH v7 0/4] Add basic SoC support for mediatek mt8195 Mark Brown
2021-12-21  2:51   ` Mark Brown
2021-12-21  2:51   ` Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211220121825.6446-3-tinghan.shen@mediatek.com \
    --to=tinghan.shen@mediatek.com \
    --cc=Project_Global_Chrome_Upstream_Group@mediatek.com \
    --cc=bayi.cheng@mediatek.com \
    --cc=bgolaszewski@baylibre.com \
    --cc=broonie@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=gch981213@gmail.com \
    --cc=linus.walleij@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=linux-spi@vger.kernel.org \
    --cc=matthias.bgg@gmail.com \
    --cc=robh+dt@kernel.org \
    --cc=sean.wang@mediatek.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.