Skip to content
Snippets Groups Projects
  1. Dec 11, 2020
  2. Nov 03, 2020
  3. Nov 01, 2020
  4. Oct 26, 2020
    • Rob Herring's avatar
      dt-bindings: Another round of adding missing 'additionalProperties/unevalutatedProperties' · f84e2c5c
      Rob Herring authored
      
      Another round of wack-a-mole. The json-schema default is additional
      unknown properties are allowed, but for DT all properties should be
      defined.
      
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      f84e2c5c
    • Rob Herring's avatar
      dt-bindings: More whitespace clean-ups in schema files · 6ad8838d
      Rob Herring authored
      
      Clean-up incorrect indentation, extra spaces, and missing EOF newline in
      schema files. Most of the clean-ups are for list indentation which
      should always be 2 spaces more than the preceding keyword.
      
      Found with yamllint (now integrated into the checks).
      
      Cc: linux-arm-kernel@lists.infradead.org
      Cc: dri-devel@lists.freedesktop.org
      Cc: linux-gpio@vger.kernel.org
      Cc: linux-i2c@vger.kernel.org
      Cc: linux-iio@vger.kernel.org
      Cc: linux-pm@vger.kernel.org
      Cc: alsa-devel@alsa-project.org
      Cc: linux-mmc@vger.kernel.org
      Cc: linux-mtd@lists.infradead.org
      Cc: linux-serial@vger.kernel.org
      Cc: linux-usb@vger.kernel.org
      Acked-by: Wolfram Sang <wsa@kernel.org> # for I2C
      Acked-by: Sam Ravnborg <sam@ravnborg.org> # for display
      Acked-by:  Jonathan Cameron <Jonathan.Cameron@huawei.com> #for-iio
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      6ad8838d
  5. Oct 10, 2020
  6. Oct 07, 2020
  7. Oct 06, 2020
  8. Sep 25, 2020
  9. Sep 17, 2020
  10. Sep 14, 2020
  11. Sep 03, 2020
  12. Aug 25, 2020
  13. Aug 16, 2020
  14. Aug 14, 2020
    • Rob Herring's avatar
      dt-bindings: Remove more cases of 'allOf' containing a '$ref' · 5f0b06da
      Rob Herring authored
      
      Another wack-a-mole pass of killing off unnecessary 'allOf + $ref'
      usage.
      
      json-schema versions draft7 and earlier have a weird behavior in that
      any keywords combined with a '$ref' are ignored (silently). The correct
      form was to put a '$ref' under an 'allOf'. This behavior is now changed
      in the 2019-09 json-schema spec and '$ref' can be mixed with other
      keywords. The json-schema library doesn't yet support this, but the
      tooling now does a fixup for this and either way works.
      
      This has been a constant source of review comments, so let's change this
      treewide so everyone copies the simpler syntax.
      
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      5f0b06da
    • Rob Herring's avatar
      dt-bindings: Whitespace clean-ups in schema files · f516fb70
      Rob Herring authored
      
      Clean-up incorrect indentation, extra spaces, long lines, and missing
      EOF newline in schema files. Most of the clean-ups are for list
      indentation which should always be 2 spaces more than the preceding
      keyword.
      
      Found with yamllint (which I plan to integrate into the checks).
      
      Cc: linux-arm-kernel@lists.infradead.org
      Cc: linux-clk@vger.kernel.org
      Cc: dri-devel@lists.freedesktop.org
      Cc: linux-spi@vger.kernel.org
      Cc: linux-gpio@vger.kernel.org
      Cc: linux-remoteproc@vger.kernel.org
      Cc: linux-hwmon@vger.kernel.org
      Cc: linux-i2c@vger.kernel.org
      Cc: linux-fbdev@vger.kernel.org
      Cc: linux-iio@vger.kernel.org
      Cc: linux-input@vger.kernel.org
      Cc: linux-pm@vger.kernel.org
      Cc: linux-media@vger.kernel.org
      Cc: alsa-devel@alsa-project.org
      Cc: linux-mmc@vger.kernel.org
      Cc: linux-mtd@lists.infradead.org
      Cc: netdev@vger.kernel.org
      Cc: linux-rtc@vger.kernel.org
      Cc: linux-serial@vger.kernel.org
      Cc: linux-usb@vger.kernel.org
      Acked-by: default avatarSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      f516fb70
  15. Jul 30, 2020
  16. Jul 24, 2020
  17. Jul 21, 2020
    • Serge Semin's avatar
      dt-bindings: interrupt-controller: Convert mti,gic to DT schema · e4fd9707
      Serge Semin authored
      
      Modern device tree bindings are supposed to be created as YAML-files
      in accordance with DT schema. This commit replaces MIPS GIC legacy bare
      text binding with YAML file. As before the binding file states that the
      corresponding dts node is supposed to be compatible with MIPS Global
      Interrupt Controller indicated by the "mti,gic" compatible string and
      to provide a mandatory interrupt-controller and '#interrupt-cells'
      properties. There might be optional registers memory range,
      "mti,reserved-cpu-vectors" and "mti,reserved-ipi-vectors" properties
      specified.
      
      MIPS GIC also includes a free-running global timer, per-CPU count/compare
      timers, and a watchdog. Since currently the GIC Timer is only supported the
      DT schema expects an IRQ and clock-phandler charged timer sub-node with
      "mti,mips-gic-timer" compatible string.
      
      Signed-off-by: default avatarSerge Semin <Sergey.Semin@baikalelectronics.ru>
      Reviewed-by: default avatarRob Herring <robh@kernel.org>
      Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
      e4fd9707
  18. Jul 17, 2020
  19. Jul 16, 2020
  20. Jul 13, 2020
  21. Jun 18, 2020
  22. Jun 15, 2020
  23. Jun 11, 2020
    • Rob Herring's avatar
      dt-bindings: Remove more cases of 'allOf' containing a '$ref' · 086e9074
      Rob Herring authored
      
      Another round of 'allOf' removals that came in this cycle.
      
      json-schema versions draft7 and earlier have a weird behavior in that
      any keywords combined with a '$ref' are ignored (silently). The correct
      form was to put a '$ref' under an 'allOf'. This behavior is now changed
      in the 2019-09 json-schema spec and '$ref' can be mixed with other
      keywords. The json-schema library doesn't yet support this, but the
      tooling now does a fixup for this and either way works.
      
      This has been a constant source of review comments, so let's change this
      treewide so everyone copies the simpler syntax.
      
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      086e9074
  24. May 29, 2020
  25. May 28, 2020
  26. May 15, 2020
    • Andre Przywara's avatar
      dt-bindings: arm: gic: Allow combining arm,gic-400 compatible strings · 61efb56e
      Andre Przywara authored
      
      The arm,gic-400 compatible is probably the best matching string for the
      GIC in most modern SoCs, but was only introduced later into the kernel.
      For historic reasons and to keep compatibility, some SoC DTs were thus
      using a combination of this name and one of the older strings, which
      currently the binding denies.
      
      Add a stanza to the DT binding to allow "arm,gic-400", followed by
      either "arm,cortex-a15-gic" or "arm,cortex-a7-gic". This fixes binding
      compliance for quite some SoC .dtsi files in the kernel tree.
      
      Signed-off-by: default avatarAndre Przywara <andre.przywara@arm.com>
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      61efb56e
Loading