1. Oct 14, 2020
    • Zhen Lei's avatar
      spi: dt-bindings: spi-controller: explicitly require #address-cells=<0> for slave mode · faaa30dd
      Zhen Lei authored
      
      
      scripts/dtc/checks.c:
      if (get_property(node, "spi-slave"))
      	spi_addr_cells = 0;
      if (node_addr_cells(node) != spi_addr_cells)
      	FAIL(c, dti, node, "incorrect #address-cells for SPI bus");
      if (node_size_cells(node) != 0)
      	FAIL(c, dti, node, "incorrect #size-cells for SPI bus");
      
      The above code in check_spi_bus_bridge() require that the number of address
      cells must be 0. So we should explicitly declare "#address-cells = <0>".
      
      Signed-off-by: default avatarZhen Lei <thunder.leizhen@huawei.com>
      Link: https://lore.kernel.org/r/20201013160845.1772-4-thunder.leizhen@huawei.com
      
      
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      faaa30dd
    • Rob Herring's avatar
      dt: Remove booting-without-of.rst · 44184828
      Rob Herring authored
      booting-without-of.rst is an ancient document that first outlined
      Flattened DeviceTree on PowerPC initially. The DT world has evolved a
      lot in the 15 years since and booting-without-of.rst is pretty stale.
      The name of the document itself is confusing if you don't understand the
      evolution from real 'OpenFirmware'. Most of what booting-without-of.rst
      contains is now in the DT specification (which evolved out of the
      ePAPR). The few things that weren't documented in the DT specification
      are now.
      
      All that remains is the boot entry details, so let's move these to arch
      specific documents. The exception is arm which already has the same
      details documented.
      
      Cc: Frank Rowand <frowand.list@gmail.com>
      Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
      Cc: Geert Uytterhoeven <geert+renesas@glider.be>
      Cc: Michael Ellerman <mpe@ellerman.id.au>
      Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
      Cc: Jonathan Corbet <corbet@lwn.net>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Yoshinori Sato <...
      44184828
  2. Oct 13, 2020
  3. Oct 12, 2020
    • Rob Herring's avatar
      scripts/dtc: Update to upstream version v1.6.0-31-gcbca977ea121 · 6e9c9686
      Rob Herring authored
      This adds the following commits from upstream:
      
      cbca977ea121 checks: Allow PCI bridge child nodes without an address
      73e0f143b73d libfdt: fdt_strerror(): Fix comparison warning
      6c2be7d85315 libfdt: fdt_get_string(): Fix sequential write comparison warnings
      82525f41d59e libfdt: libfdt_wip: Fix comparison warning
      fb1f65f15832 libfdt: fdt_create_with_flags(): Fix comparison warning
      f28aa271000b libfdt: fdt_move(): Fix comparison warnings
      3d7c6f44195a libfdt: fdt_add_string_(): Fix comparison warning
      10f682788c30 libfdt: fdt_node_offset_by_phandle(): Fix comparison warning
      07158f4cf2a2 libfdt: overlay: Fix comparison warning
      ce9e1f25a7de libfdt: fdt_resize(): Fix comparison warning
      faa76fc10bc5 libfdt: fdt_splice_(): Fix comparison warning
      54dca0985316 libfdt: fdt_get_string(): Fix comparison warnings
      f8e11e61624e libfdt: fdt_grab_space_(): Fix comparison warning
      0c43d4d7bf5a libfdt: fdt_mem_rsv(): Fix comparison warnings
      442ea3dd1579 libfdt: fdt...
      6e9c9686
    • Rob Herring's avatar
      dt-bindings: Add running yamllint to dt_binding_check · 44ec8b20
      Rob Herring authored
      Add a yamllint config file and support for running yamllint on DT
      binding schema files. This runs on the whole tree as yamllint is Python
      and suffers from Python's slow startup times.
      
      Users can run on individual files doing:
      
      yamllint -c Documentation/devicetree/bindings/.yamllint <binding file>
      
      Link: https://lore.kernel.org/r/20201009170557.168785-1-robh@kernel.org
      
      
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      44ec8b20
  4. Oct 09, 2020
  5. Oct 08, 2020
  6. Oct 07, 2020
  7. Oct 06, 2020
  8. Oct 05, 2020
  9. Oct 01, 2020