linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V4] dt-bindings: mediatek: Add axi clock in mt8173 dts example
@ 2022-07-12 11:11 Xiangsheng Hou
  2022-07-18 20:10 ` Rob Herring
  2022-07-18 20:10 ` Rob Herring
  0 siblings, 2 replies; 3+ messages in thread
From: Xiangsheng Hou @ 2022-07-12 11:11 UTC (permalink / raw)
  To: robh+dt, krzysztof.kozlowski+dt, matthias.bgg
  Cc: devicetree, linux-arm-kernel, linux-kernel, bin.zhang,
	benliang.zhao, linux-mediatek, Xiangsheng Hou,
	AngeloGioacchino Del Regno

For mt8173, it is needed to add the axi clock for dma mode.

Signed-off-by: Xiangsheng Hou <xiangsheng.hou@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>

---
Changes from v3:
- fix number of column characters

Changes from v2:
- remove assigned clocks and parents in dt-binding

Changes from v1:
- none
---
 .../devicetree/bindings/spi/mediatek,spi-mtk-nor.yaml        | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/spi/mediatek,spi-mtk-nor.yaml b/Documentation/devicetree/bindings/spi/mediatek,spi-mtk-nor.yaml
index 41e60fe4b09f..d3d7ed4b497b 100644
--- a/Documentation/devicetree/bindings/spi/mediatek,spi-mtk-nor.yaml
+++ b/Documentation/devicetree/bindings/spi/mediatek,spi-mtk-nor.yaml
@@ -82,8 +82,9 @@ examples:
         compatible = "mediatek,mt8173-nor";
         reg = <0 0x1100d000 0 0xe0>;
         interrupts = <1>;
-        clocks = <&pericfg CLK_PERI_SPI>, <&topckgen CLK_TOP_SPINFI_IFR_SEL>;
-        clock-names = "spi", "sf";
+        clocks = <&pericfg CLK_PERI_SPI>, <&topckgen CLK_TOP_SPINFI_IFR_SEL>,
+                 <&pericfg CLK_PERI_NFI>;
+        clock-names = "spi", "sf", "axi";
         #address-cells = <1>;
         #size-cells = <0>;
 
-- 
2.25.1


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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH V4] dt-bindings: mediatek: Add axi clock in mt8173 dts example
  2022-07-12 11:11 [PATCH V4] dt-bindings: mediatek: Add axi clock in mt8173 dts example Xiangsheng Hou
@ 2022-07-18 20:10 ` Rob Herring
  2022-07-18 20:10 ` Rob Herring
  1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring @ 2022-07-18 20:10 UTC (permalink / raw)
  To: Xiangsheng Hou
  Cc: krzysztof.kozlowski+dt, matthias.bgg, devicetree,
	linux-arm-kernel, linux-kernel, bin.zhang, benliang.zhao,
	linux-mediatek, AngeloGioacchino Del Regno

On Tue, Jul 12, 2022 at 07:11:07PM +0800, Xiangsheng Hou wrote:
> For mt8173, it is needed to add the axi clock for dma mode.

Needs to be sent to Mark Brown and linux-spi list. Use 
get_maintainers.pl.

> 
> Signed-off-by: Xiangsheng Hou <xiangsheng.hou@mediatek.com>
> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
> 
> ---
> Changes from v3:
> - fix number of column characters
> 
> Changes from v2:
> - remove assigned clocks and parents in dt-binding
> 
> Changes from v1:
> - none
> ---
>  .../devicetree/bindings/spi/mediatek,spi-mtk-nor.yaml        | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/spi/mediatek,spi-mtk-nor.yaml b/Documentation/devicetree/bindings/spi/mediatek,spi-mtk-nor.yaml
> index 41e60fe4b09f..d3d7ed4b497b 100644
> --- a/Documentation/devicetree/bindings/spi/mediatek,spi-mtk-nor.yaml
> +++ b/Documentation/devicetree/bindings/spi/mediatek,spi-mtk-nor.yaml
> @@ -82,8 +82,9 @@ examples:
>          compatible = "mediatek,mt8173-nor";
>          reg = <0 0x1100d000 0 0xe0>;
>          interrupts = <1>;
> -        clocks = <&pericfg CLK_PERI_SPI>, <&topckgen CLK_TOP_SPINFI_IFR_SEL>;
> -        clock-names = "spi", "sf";
> +        clocks = <&pericfg CLK_PERI_SPI>, <&topckgen CLK_TOP_SPINFI_IFR_SEL>,
> +                 <&pericfg CLK_PERI_NFI>;
> +        clock-names = "spi", "sf", "axi";
>          #address-cells = <1>;
>          #size-cells = <0>;
>  
> -- 
> 2.25.1
> 
> 

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH V4] dt-bindings: mediatek: Add axi clock in mt8173 dts example
  2022-07-12 11:11 [PATCH V4] dt-bindings: mediatek: Add axi clock in mt8173 dts example Xiangsheng Hou
  2022-07-18 20:10 ` Rob Herring
@ 2022-07-18 20:10 ` Rob Herring
  1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring @ 2022-07-18 20:10 UTC (permalink / raw)
  To: Xiangsheng Hou
  Cc: matthias.bgg, devicetree, benliang.zhao, linux-mediatek,
	bin.zhang, AngeloGioacchino Del Regno, krzysztof.kozlowski+dt,
	robh+dt, linux-arm-kernel, linux-kernel

On Tue, 12 Jul 2022 19:11:07 +0800, Xiangsheng Hou wrote:
> For mt8173, it is needed to add the axi clock for dma mode.
> 
> Signed-off-by: Xiangsheng Hou <xiangsheng.hou@mediatek.com>
> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
> 
> ---
> Changes from v3:
> - fix number of column characters
> 
> Changes from v2:
> - remove assigned clocks and parents in dt-binding
> 
> Changes from v1:
> - none
> ---
>  .../devicetree/bindings/spi/mediatek,spi-mtk-nor.yaml        | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 

Acked-by: Rob Herring <robh@kernel.org>

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-07-18 20:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-12 11:11 [PATCH V4] dt-bindings: mediatek: Add axi clock in mt8173 dts example Xiangsheng Hou
2022-07-18 20:10 ` Rob Herring
2022-07-18 20:10 ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).