.../devicetree/bindings/spi/mediatek,spi-mtk-nor.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
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
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>
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 > >
© 2016 - 2024 Red Hat, Inc.