[U-Boot] [PATCH v2 0/5] spi-flash: switch to "jedec, spi-nor" binding

Simon Goldschmidt simon.k.r.goldschmidt at gmail.com
Thu Dec 6 10:09:39 UTC 2018


On Thu, Dec 6, 2018 at 10:51 AM Neil Armstrong <narmstrong at baylibre.com> wrote:
>
> There is no reason not to use the Linux "jedec,spi-nor" binding in u-boot.
> This patchset :
> - adds this compatible into sf_probe and will avoid changing the
>   device tree files to add a u-boot specific compatible to probe a spi flash.
> - switches all DTS/DTSI files to "jedec,spi-nor"
> - remove the "spi-flash" compatible from sf-probe
> - switch GENERIC_SPI_FLASH to jedec,spi-nor in fdtdec
> - switches dt bindings examples files to "jedec,spi-nor"

Thanks for working on this!

Aside from the comment to patch #4:
Reviewed-by: Simon Goldschmidt <simon.k.r.goldschmidt at gmail.com>

I'll try to find the time to do a test-run on my hardware, but
honestly, I don't expect to find problems ;-)

Regards,
Simon

> Neil Armstrong (5):
>   mtd: sf_probe: add jedec,spi-nor compatible
>   dts: switch spi-flash to jedec,spi-nor compatible
>   mtd: sf_probe: remove spi-flash compatible
>   fdtdec: switch GENERIC_SPI_FLASH to jedec,spi-nor
>   doc: device-tree-bindings: switch from spi-flash to jedec,spi-nor
>
>  arch/arc/dts/axs10x_mb.dtsi                            |  2 +-
>  arch/arc/dts/hsdk.dts                                  |  2 +-
>  arch/arm/dts/am335x-brppt1-spi.dts                     |  2 +-
>  arch/arm/dts/am437x-idk-evm.dts                        |  2 +-
>  arch/arm/dts/am437x-sk-evm.dts                         |  2 +-
>  arch/arm/dts/armada-3720-db.dts                        |  2 +-
>  arch/arm/dts/armada-3720-espressobin.dts               |  2 +-
>  arch/arm/dts/armada-3720-turris-mox.dts                |  2 +-
>  arch/arm/dts/armada-385-amc.dts                        |  2 +-
>  arch/arm/dts/armada-385-turris-omnia-u-boot.dtsi       |  2 +-
>  arch/arm/dts/armada-38x-controlcenterdc.dts            |  4 ++--
>  arch/arm/dts/armada-38x-solidrun-microsom.dtsi         |  2 +-
>  arch/arm/dts/armada-8040-clearfog-gt-8k.dts            |  2 +-
>  arch/arm/dts/armada-xp-theadorable.dts                 |  2 +-
>  arch/arm/dts/at91-sama5d2_xplained.dts                 |  2 +-
>  arch/arm/dts/at91-sama5d4_xplained.dts                 |  2 +-
>  arch/arm/dts/at91-sama5d4ek.dts                        |  2 +-
>  arch/arm/dts/at91sam9n12ek.dts                         |  2 +-
>  arch/arm/dts/at91sam9x5ek.dtsi                         |  2 +-
>  arch/arm/dts/bk4r1.dts                                 |  4 ++--
>  arch/arm/dts/da850-evm-u-boot.dtsi                     |  2 +-
>  arch/arm/dts/exynos5250-snow.dts                       |  2 +-
>  arch/arm/dts/exynos5250-spring.dts                     |  2 +-
>  arch/arm/dts/exynos5420-peach-pit.dts                  |  2 +-
>  arch/arm/dts/fsl-ls1012a-2g5rdb.dts                    |  2 +-
>  arch/arm/dts/fsl-ls1012a-frdm.dtsi                     |  2 +-
>  arch/arm/dts/fsl-ls1012a-frwy.dts                      |  2 +-
>  arch/arm/dts/fsl-ls1012a-qds.dtsi                      |  8 ++++----
>  arch/arm/dts/fsl-ls1012a-rdb.dtsi                      |  2 +-
>  arch/arm/dts/fsl-ls1043a-qds.dtsi                      |  8 ++++----
>  arch/arm/dts/fsl-ls1043a-rdb.dts                       |  2 +-
>  arch/arm/dts/fsl-ls1046a-qds.dtsi                      |  8 ++++----
>  arch/arm/dts/fsl-ls1046a-rdb.dts                       |  4 ++--
>  arch/arm/dts/fsl-ls1088a-qds.dts                       | 10 +++++-----
>  arch/arm/dts/fsl-ls1088a-rdb.dts                       |  4 ++--
>  arch/arm/dts/fsl-ls2080a-qds.dts                       |  8 ++++----
>  arch/arm/dts/fsl-ls2080a-rdb.dts                       |  2 +-
>  arch/arm/dts/fsl-ls2081a-rdb.dts                       |  6 +++---
>  arch/arm/dts/fsl-ls2088a-rdb-qspi.dts                  |  6 +++---
>  arch/arm/dts/imx6sx-sabreauto-u-boot.dtsi              |  4 ++--
>  arch/arm/dts/imx6sx-sdb-u-boot.dtsi                    |  4 ++--
>  arch/arm/dts/imx6ul-14x14-evk-u-boot.dtsi              |  2 +-
>  arch/arm/dts/imx6ul-9x9-evk-u-boot.dtsi                |  2 +-
>  arch/arm/dts/imx6ull-14x14-evk.dts                     |  2 +-
>  arch/arm/dts/imx7d-sdb-qspi-u-boot.dtsi                |  2 +-
>  arch/arm/dts/keystone-k2e-evm.dts                      |  2 +-
>  arch/arm/dts/keystone-k2g-evm.dts                      |  4 ++--
>  arch/arm/dts/keystone-k2g-ice.dts                      |  2 +-
>  arch/arm/dts/keystone-k2hk-evm.dts                     |  2 +-
>  arch/arm/dts/keystone-k2l-evm.dts                      |  2 +-
>  arch/arm/dts/kirkwood-atl-sbx81lifkw.dts               |  2 +-
>  arch/arm/dts/kirkwood-atl-sbx81lifxcat.dts             |  2 +-
>  arch/arm/dts/kirkwood-dreamplug.dts                    |  2 +-
>  arch/arm/dts/kirkwood-lsxl.dtsi                        |  2 +-
>  arch/arm/dts/kirkwood-netxbig.dtsi                     |  2 +-
>  arch/arm/dts/kirkwood-ns2-common.dtsi                  |  2 +-
>  arch/arm/dts/kirkwood-synology.dtsi                    |  2 +-
>  arch/arm/dts/ls1021a-iot.dtsi                          |  4 ++--
>  arch/arm/dts/ls1021a-qds.dtsi                          |  2 +-
>  arch/arm/dts/ls1021a-twr.dtsi                          |  4 ++--
>  arch/arm/dts/mt7629-rfb.dts                            |  2 +-
>  arch/arm/dts/omap5-u-boot.dtsi                         |  2 +-
>  arch/arm/dts/r8a77970-eagle-u-boot.dts                 |  2 +-
>  arch/arm/dts/rk3288-veyron.dtsi                        |  2 +-
>  arch/arm/dts/rk3368-lion.dts                           |  2 +-
>  arch/arm/dts/rk3399-puma.dtsi                          |  2 +-
>  arch/arm/dts/rv1108-evb.dts                            |  2 +-
>  arch/arm/dts/sama5d27_som1.dtsi                        |  2 +-
>  arch/arm/dts/sama5d3xmb.dtsi                           |  2 +-
>  arch/arm/dts/sama5d3xmb_cmp.dtsi                       |  2 +-
>  arch/arm/dts/socfpga_arria5_socdk-u-boot.dtsi          |  2 +-
>  arch/arm/dts/socfpga_cyclone5_is1.dts                  |  2 +-
>  arch/arm/dts/socfpga_cyclone5_socdk-u-boot.dtsi        |  2 +-
>  arch/arm/dts/socfpga_cyclone5_sockit-u-boot.dtsi       |  2 +-
>  arch/arm/dts/socfpga_cyclone5_socrates-u-boot.dtsi     |  2 +-
>  arch/arm/dts/socfpga_cyclone5_sr1500.dts               |  2 +-
>  arch/arm/dts/socfpga_cyclone5_vining_fpga-u-boot.dtsi  |  4 ++--
>  arch/arm/dts/stm32f746-disco.dts                       |  2 +-
>  arch/arm/dts/stm32f769-disco.dts                       |  2 +-
>  arch/arm/dts/stm32mp157c-ev1-u-boot.dtsi               |  4 ++--
>  arch/arm/dts/stv0991.dts                               |  2 +-
>  arch/arm/dts/zynq-zed.dts                              |  2 +-
>  arch/arm/dts/zynqmp-zc1232-revA.dts                    |  2 +-
>  arch/arm/dts/zynqmp-zc1254-revA.dts                    |  2 +-
>  arch/arm/dts/zynqmp-zc1275-revA.dts                    |  2 +-
>  arch/arm/dts/zynqmp-zc1275-revB.dts                    |  2 +-
>  arch/arm/dts/zynqmp-zc1751-xm015-dc1.dts               |  2 +-
>  arch/arm/dts/zynqmp-zc1751-xm018-dc4.dts               |  2 +-
>  arch/arm/dts/zynqmp-zcu102-revA.dts                    |  2 +-
>  arch/arm/dts/zynqmp-zcu104-revA.dts                    |  2 +-
>  arch/arm/dts/zynqmp-zcu104-revC.dts                    |  2 +-
>  arch/arm/dts/zynqmp-zcu106-revA.dts                    |  2 +-
>  arch/arm/dts/zynqmp-zcu111-revA.dts                    |  2 +-
>  arch/mips/dts/ap121.dts                                |  2 +-
>  arch/mips/dts/ap143.dts                                |  2 +-
>  arch/mips/dts/comtrend,ar-5315u.dts                    |  2 +-
>  arch/mips/dts/comtrend,ar-5387un.dts                   |  2 +-
>  arch/mips/dts/gardena-smart-gateway-mt7688.dts         |  2 +-
>  arch/mips/dts/linkit-smart-7688.dts                    |  2 +-
>  arch/mips/dts/netgear,cg3100d.dts                      |  2 +-
>  arch/mips/dts/sagem,f at st1704.dts                       |  2 +-
>  arch/mips/dts/tplink_wdr4300.dts                       |  2 +-
>  arch/nds32/dts/ae3xx.dts                               |  2 +-
>  arch/riscv/dts/ae350.dts                               |  2 +-
>  arch/riscv/dts/ae350_32.dts                            |  2 +-
>  arch/riscv/dts/ae350_64.dts                            |  2 +-
>  arch/sandbox/dts/test.dts                              |  2 +-
>  arch/x86/dts/bayleybay.dts                             |  2 +-
>  arch/x86/dts/baytrail_som-db5800-som-6867.dts          |  2 +-
>  arch/x86/dts/cherryhill.dts                            |  2 +-
>  arch/x86/dts/chromebook_link.dts                       |  2 +-
>  arch/x86/dts/chromebook_samus.dts                      |  2 +-
>  arch/x86/dts/chromebox_panther.dts                     |  2 +-
>  arch/x86/dts/conga-qeval20-qa3-e3845.dts               |  2 +-
>  arch/x86/dts/cougarcanyon2.dts                         |  2 +-
>  arch/x86/dts/crownbay.dts                              |  2 +-
>  arch/x86/dts/dfi-bt700.dtsi                            |  2 +-
>  arch/x86/dts/galileo.dts                               |  2 +-
>  arch/x86/dts/minnowmax.dts                             |  2 +-
>  .../pinctrl/atmel,at91-pio4-pinctrl.txt                |  2 +-
>  doc/device-tree-bindings/spi/spi-atcspi200.txt         |  2 +-
>  doc/device-tree-bindings/spi/spi-stm32-qspi.txt        |  2 +-
>  drivers/mtd/spi/sf_probe.c                             |  2 +-
>  lib/fdtdec.c                                           |  2 +-
>  124 files changed, 155 insertions(+), 155 deletions(-)
>
> --
> 2.19.2
>


More information about the U-Boot mailing list