From: Eugeniy Paltsev <eugeniy.paltsev@synopsys.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [uboot-snps-arc] [PATCH v3 2/5] dts: switch spi-flash to jedec, spi-nor compatible
Date: Thu, 17 Jan 2019 18:08:43 +0000 [thread overview]
Message-ID: <1547748522.24248.80.camel@synopsys.com> (raw)
In-Reply-To: <20190115125922.13433-3-narmstrong@baylibre.com>
Hi Neil,
On Tue, 2019-01-15 at 13:59 +0100, Neil Armstrong wrote:
> There is no reason not to use the Linux "jedec,spi-nor" binding in U-Boot
> dts files. This compatible has been added in sf_probe, let use it.
>
> This patch switches to jedec,spi-nor when spi-flash is used in the DTS
> and DTSI files, and removed spi-flash when jedec,spi-nor is already
> present.
>
> The x86 dts are switched in a separate commit since it depends on a change
> in fdtdec.
>
> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
> Acked-by: Stefan Roese <sr@denx.de>
> Reviewed-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
> ---
For the ARC part:
> arch/arc/dts/axs10x_mb.dtsi | 2 +-
> arch/arc/dts/hsdk.dts | 2 +-
Reviewed-by: Evgeniy Paltsev <paltsev@synopsys.com>
> diff --git a/arch/arc/dts/axs10x_mb.dtsi b/arch/arc/dts/axs10x_mb.dtsi
> index dfc03810ca..b5aacd5170 100644
> --- a/arch/arc/dts/axs10x_mb.dtsi
> +++ b/arch/arc/dts/axs10x_mb.dtsi
> @@ -71,7 +71,7 @@
> clock-names = "spi_clk";
> cs-gpio = <&cs_gpio 0>;
> spi_flash at 0 {
> - compatible = "spi-flash";
> + compatible = "jedec,spi-nor";
> reg = <0>;
> spi-max-frequency = <4000000>;
> };
> diff --git a/arch/arc/dts/hsdk.dts b/arch/arc/dts/hsdk.dts
> index f024b96925..5e9ba054a4 100644
> --- a/arch/arc/dts/hsdk.dts
> +++ b/arch/arc/dts/hsdk.dts
> @@ -96,7 +96,7 @@
> clock-names = "spi_clk";
> cs-gpio = <&cs_gpio 0>;
> spi_flash at 0 {
> - compatible = "spi-flash";
> + compatible = "jedec,spi-nor";
> reg = <0>;
> spi-max-frequency = <4000000>;
> };
>
--
Eugeniy Paltsev
next prev parent reply other threads:[~2019-01-17 18:08 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-15 12:59 [U-Boot] [PATCH v3 0/5] spi-flash: switch to "jedec, spi-nor" binding Neil Armstrong
2019-01-15 12:59 ` [U-Boot] [PATCH v3 1/5] mtd: sf_probe: add jedec, spi-nor compatible Neil Armstrong
2019-01-15 12:59 ` [U-Boot] [PATCH v3 2/5] dts: switch spi-flash to " Neil Armstrong
2019-01-17 18:08 ` Eugeniy Paltsev [this message]
[not found] ` <752D002CFF5D0F4FA35C0100F1D73F3FA406DB05@ATCPCS16.andestech.com>
2019-01-22 3:41 ` Rick Chen
2019-02-08 10:15 ` Patrick DELAUNAY
2019-01-15 12:59 ` [U-Boot] [PATCH v3 3/5] x86: " Neil Armstrong
2019-01-15 12:59 ` [U-Boot] [PATCH v3 4/5] mtd: sf_probe: remove spi-flash compatible Neil Armstrong
2019-01-15 12:59 ` [U-Boot] [PATCH v3 5/5] doc: device-tree-bindings: switch from spi-flash to jedec, spi-nor Neil Armstrong
[not found] ` <752D002CFF5D0F4FA35C0100F1D73F3FA406DB1B@ATCPCS16.andestech.com>
2019-01-22 3:47 ` Rick Chen
2019-02-08 10:19 ` Patrick DELAUNAY
2019-01-28 16:22 ` [U-Boot] [PATCH v3 0/5] spi-flash: switch to "jedec, spi-nor" binding Neil Armstrong
2019-02-07 12:28 ` Jagan Teki
2019-02-07 20:13 ` Neil Armstrong
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=1547748522.24248.80.camel@synopsys.com \
--to=eugeniy.paltsev@synopsys.com \
--cc=u-boot@lists.denx.de \
/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.