1. 14 Aug, 2020 2 commits
    • 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
  2. 12 Aug, 2020 38 commits