From: Xiangsheng Hou <xiangsheng.hou@mediatek.com> To: <robh+dt@kernel.org>, <krzysztof.kozlowski+dt@linaro.org>, <matthias.bgg@gmail.com> Cc: <devicetree@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org>, <bin.zhang@mediatek.com>, <benliang.zhao@mediatek.com>, <linux-mediatek@lists.infradead.org>, Xiangsheng Hou <xiangsheng.hou@mediatek.com> Subject: [PATCH V3 1/2] arm64: dts: mt8173: Fix nor_flash node Date: Fri, 8 Jul 2022 10:15:47 +0800 [thread overview] Message-ID: <20220708021548.21453-2-xiangsheng.hou@mediatek.com> (raw) In-Reply-To: <20220708021548.21453-1-xiangsheng.hou@mediatek.com> Add axi clock since the driver change to DMA mode which need to enable axi clock. And change spi clock to 26MHz as default. Signed-off-by: Xiangsheng Hou <xiangsheng.hou@mediatek.com> --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index 40d7b47fc52e..e603170100af 100644 --- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi @@ -790,9 +790,12 @@ thermal: thermal@1100b000 { nor_flash: spi@1100d000 { compatible = "mediatek,mt8173-nor"; reg = <0 0x1100d000 0 0xe0>; + assigned-clocks = <&topckgen CLK_TOP_SPI_SEL>; + assigned-clock-parents = <&clk26m>; clocks = <&pericfg CLK_PERI_SPI>, - <&topckgen CLK_TOP_SPINFI_IFR_SEL>; - clock-names = "spi", "sf"; + <&topckgen CLK_TOP_SPINFI_IFR_SEL>, + <&pericfg CLK_PERI_NFI>; + clock-names = "spi", "sf", "axi"; #address-cells = <1>; #size-cells = <0>; status = "disabled"; -- 2.25.1
WARNING: multiple messages have this Message-ID (diff)
From: Xiangsheng Hou <xiangsheng.hou@mediatek.com> To: <robh+dt@kernel.org>, <krzysztof.kozlowski+dt@linaro.org>, <matthias.bgg@gmail.com> Cc: <devicetree@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org>, <bin.zhang@mediatek.com>, <benliang.zhao@mediatek.com>, <linux-mediatek@lists.infradead.org>, Xiangsheng Hou <xiangsheng.hou@mediatek.com> Subject: [PATCH V3 1/2] arm64: dts: mt8173: Fix nor_flash node Date: Fri, 8 Jul 2022 10:15:47 +0800 [thread overview] Message-ID: <20220708021548.21453-2-xiangsheng.hou@mediatek.com> (raw) In-Reply-To: <20220708021548.21453-1-xiangsheng.hou@mediatek.com> Add axi clock since the driver change to DMA mode which need to enable axi clock. And change spi clock to 26MHz as default. Signed-off-by: Xiangsheng Hou <xiangsheng.hou@mediatek.com> --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index 40d7b47fc52e..e603170100af 100644 --- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi @@ -790,9 +790,12 @@ thermal: thermal@1100b000 { nor_flash: spi@1100d000 { compatible = "mediatek,mt8173-nor"; reg = <0 0x1100d000 0 0xe0>; + assigned-clocks = <&topckgen CLK_TOP_SPI_SEL>; + assigned-clock-parents = <&clk26m>; clocks = <&pericfg CLK_PERI_SPI>, - <&topckgen CLK_TOP_SPINFI_IFR_SEL>; - clock-names = "spi", "sf"; + <&topckgen CLK_TOP_SPINFI_IFR_SEL>, + <&pericfg CLK_PERI_NFI>; + clock-names = "spi", "sf", "axi"; #address-cells = <1>; #size-cells = <0>; status = "disabled"; -- 2.25.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2022-07-08 2:16 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-07-08 2:15 [PATCH V3 0/2] arm64: dts: mt8173: Fix nor flash node Xiangsheng Hou 2022-07-08 2:15 ` Xiangsheng Hou 2022-07-08 2:15 ` Xiangsheng Hou [this message] 2022-07-08 2:15 ` [PATCH V3 1/2] arm64: dts: mt8173: Fix nor_flash node Xiangsheng Hou 2022-07-11 10:22 ` AngeloGioacchino Del Regno 2022-07-11 10:22 ` AngeloGioacchino Del Regno 2022-07-08 2:15 ` [PATCH V3 2/2] dt-bindings: mediatek: Add axi clock in mt8173 dts example Xiangsheng Hou 2022-07-08 2:15 ` Xiangsheng Hou 2022-07-11 10:22 ` AngeloGioacchino Del Regno 2022-07-11 10:22 ` AngeloGioacchino Del Regno
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=20220708021548.21453-2-xiangsheng.hou@mediatek.com \ --to=xiangsheng.hou@mediatek.com \ --cc=benliang.zhao@mediatek.com \ --cc=bin.zhang@mediatek.com \ --cc=devicetree@vger.kernel.org \ --cc=krzysztof.kozlowski+dt@linaro.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-mediatek@lists.infradead.org \ --cc=matthias.bgg@gmail.com \ --cc=robh+dt@kernel.org \ /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: linkBe 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.