1. 14 Oct, 2019 1 commit
    • Rob Herring's avatar
      dt-bindings: Clean-up regulator '-supply' schemas · f3dde260
      Rob Herring authored
      Regulator '*-supply' properties are always a single phandle, so
      'maxItems: 1' or a $ref is not necessary. All that's needed is either
      'true' or an optional 'description'. Following this clean-up, the
      meta-schema will enforce this pattern.
      
      There's one case in tree with 'innolux,n156bge-l21' having 2 phandles.
      This appears to be a mistake or abuse of simple-panel as it's 2 different
      voltage rails connected to 'power-supply'.
      
      Cc: Neil Armstrong <narmstrong@baylibre.com>
      Cc: Kevin Hilman <khilman@baylibre.com>
      Cc: Jonathan Cameron <jic23@kernel.org>
      Cc: Krzysztof Kozlowski <krzk@kernel.org>
      Cc: Kishon Vijay Abraham I <kishon@ti.com>
      Cc: Liam Girdwood <lgirdwood@gmail.com>
      Cc: Mark Brown <broonie@kernel.org>
      Cc: linux-iio@vger.kernel.org
      Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> # for iio
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      f3dde260
  2. 11 Oct, 2019 4 commits
    • Rob Herring's avatar
      checkpatch: Warn if DT bindings are not in schema format · e400edb1
      Rob Herring authored
      DT bindings are moving to using a json-schema based schema format
      instead of freeform text. Add a checkpatch.pl check to encourage using
      the schema for new bindings. It's not yet a requirement, but is
      progressively being required by some maintainers.
      
      Cc: Andy Whitcroft <apw@canonical.com>
      Cc: Joe Perches <joe@perches.com>
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      e400edb1
    • Rob Herring's avatar
      dt-bindings: riscv: Fix CPU schema errors · a4dc1ca6
      Rob Herring authored
      Fix the errors in the RiscV CPU DT schema:
      
      Documentation/devicetree/bindings/riscv/cpus.example.dt.yaml: cpu@0: 'timebase-frequency' is a required property
      Documentation/devicetree/bindings/riscv/cpus.example.dt.yaml: cpu@1: 'timebase-frequency' is a required property
      Documentation/devicetree/bindings/riscv/cpus.example.dt.yaml: cpu@0: compatible:0: 'riscv' is not one of ['sifive,rocket0', 'sifive,e5', 'sifive,e51', 'sifive,u54-mc', 'sifive,u54', 'sifive,u5']
      Documentation/devicetree/bindings/riscv/cpus.example.dt.yaml: cpu@0: compatible: ['riscv'] is too short
      Documentation/devicetree/bindings/riscv/cpus.example.dt.yaml: cpu@0: 'timebase-frequency' is a required property
      
      The DT spec allows for 'timebase-frequency' to be in 'cpu' or 'cpus' node
      and RiscV requires it in /cpus node, so make it disallowed in cpu
      nodes.
      
      Fixes: 4fd669a8 ("dt-bindings: riscv: convert cpu binding to json-schema")
      Cc: Palmer Dabbelt <palmer@sifive.com>
      Cc: Albert Ou <aou@eecs.berkeley.edu>
      Cc: linux-riscv@lists.infradead.org
      Acked-by: default avatarPaul Walmsley <paul.walmsley@sifive.com>
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      a4dc1ca6
    • Martin Kaiser's avatar
      dt-bindings: display: clps711x-fb: fix native-mode setting · ce0c94e1
      Martin Kaiser authored
      Move the native-mode setting inside the display-timing node. Outside of
      display-timing, it is ignored.
      Signed-off-by: default avatarMartin Kaiser <martin@kaiser.cx>
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      ce0c94e1
    • Martin Kaiser's avatar
      dt-bindings: display: imx: fix native-mode setting · 5cb2ef85
      Martin Kaiser authored
      Move the native-mode setting inside the display-timing node. Outside of
      display-timing, it is ignored.
      Signed-off-by: default avatarMartin Kaiser <martin@kaiser.cx>
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      5cb2ef85
  3. 10 Oct, 2019 5 commits
  4. 09 Oct, 2019 3 commits
  5. 08 Oct, 2019 9 commits
  6. 07 Oct, 2019 1 commit
  7. 04 Oct, 2019 5 commits
  8. 02 Oct, 2019 5 commits
  9. 01 Oct, 2019 7 commits