From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: Xiangsheng Hou <xiangsheng.hou@mediatek.com>,
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
Subject: Re: [PATCH v2 2/2] dt-bindings: mediatek: Add assigned clock property and axi clock in example
Date: Thu, 30 Jun 2022 20:41:54 +0200 [thread overview]
Message-ID: <42b8bf2c-c343-8fd4-17fd-f22ed83d5d0d@linaro.org> (raw)
In-Reply-To: <20220630090157.29486-3-xiangsheng.hou@mediatek.com>
On 30/06/2022 11:01, Xiangsheng Hou wrote:
> For mt8173, it is needed to add the axi clock for dma mode.
> And it is may needed to adjust default spi frequency.
>
> Signed-off-by: Xiangsheng Hou <xiangsheng.hou@mediatek.com>
> ---
> .../devicetree/bindings/spi/mediatek,spi-mtk-nor.yaml | 10 ++++++++--
> 1 file changed, 8 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..7523d992a614 100644
> --- a/Documentation/devicetree/bindings/spi/mediatek,spi-mtk-nor.yaml
> +++ b/Documentation/devicetree/bindings/spi/mediatek,spi-mtk-nor.yaml
> @@ -61,6 +61,12 @@ properties:
> - const: axi
> - const: axi_s
>
> + assigned-clocks:
> + maxItems: 1
> +
> + assigned-clock-parents:
> + maxItems: 1
> +
There is usually no reason to put this in the bindings.
> required:
> - compatible
> - reg
> @@ -82,8 +88,8 @@ 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>;
>
Best regards,
Krzysztof
prev parent reply other threads:[~2022-06-30 18:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-30 9:01 [PATCH v2 0/2] arm64: dts: mt8173: Fix nor flash node Xiangsheng Hou
2022-06-30 9:01 ` [PATCH v2 1/2] arm64: dts: mt8173: Fix nor_flash node Xiangsheng Hou
2022-07-07 14:43 ` Matthias Brugger
[not found] ` <e4a50d4e165887ac4741c0b8d68470dc2f060655.camel@mediatek.com>
2022-07-08 8:22 ` Matthias Brugger
2022-06-30 9:01 ` [PATCH v2 2/2] dt-bindings: mediatek: Add assigned clock property and axi clock in example Xiangsheng Hou
2022-06-30 18:41 ` Krzysztof Kozlowski [this message]
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=42b8bf2c-c343-8fd4-17fd-f22ed83d5d0d@linaro.org \
--to=krzysztof.kozlowski@linaro.org \
--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 \
--cc=xiangsheng.hou@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 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).