1. 30 Apr, 2020 2 commits
  2. 28 Apr, 2020 5 commits
  3. 24 Apr, 2020 3 commits
    • Douglas Anderson's avatar
      dt-bindings: phy: qcom-qusb2: Fix defaults · 4bc77b2d
      Douglas Anderson authored
      The defaults listed in the bindings don't match what the code is
      actually doing.  Presumably existing users care more about keeping
      existing behavior the same, so change the bindings to match the code
      in Linux.
      
      The "qcom,preemphasis-level" default has been wrong for quite a long
      time (May 2018).  The other two were recently added.
      
      As some evidence that these values are wrong, this is from the Linux
      driver:
      - qcom,preemphasis-level: sets "PORT_TUNE1", lower 2 bits.  Driver
        programs PORT_TUNE1 to 0x30 by default and (0x30 & 0x3) = 0.
      - qcom,bias-ctrl-value: sets "PLL_BIAS_CONTROL_2", lower 6 bits.
        Driver programs PLL_BIAS_CONTROL_2 to 0x20 by default and (0x20 &
        0x3f) = 0x20 = 32.
      - qcom,hsdisc-trim-value: sets "PORT_TUNE2", lower 2 bits.  Driver
        programs PORT_TUNE2 to 0x29 by default and (0x29 & 0x3) = 1.
      
      Fixes: 1e6f134e ("dt-bindings: phy: qcom-qusb2: Add support for overriding Phy tuning parameters")
      Fixes: a8b70ccf ("dt-bindings: phy-qcom-usb2: Add support to override tuning values")
      Signed-off-by: default avatarDouglas Anderson <dianders@chromium.org>
      Reviewed-by: default avatarMatthias Kaehlcke <mka@chromium.org>
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      4bc77b2d
    • Rob Herring's avatar
      dt-bindings: Fix erroneous 'additionalProperties' · 2bdfd4fb
      Rob Herring authored
      There's several cases of json-schema 'additionalProperties' at the wrong
      indentation level which has the effect of making them DT properties. This
      is harmless, but let's fix them so a meta-schema check for this can be
      added.
      
      In all the cases, either the 'additionalProperties' was extra or doesn't
      work because there's a $ref to more properties. In the latter case, we
      can use 'unevaluatedProperties' instead.
      Reported-by: default avatarIskren Chernev <iskren.chernev@gmail.com>
      Cc: Lee Jones <lee.jones@linaro.org>
      Cc: Saravanan Sekar <sravanhome@gmail.com>
      Cc: Liam Girdwood <lgirdwood@gmail.com>
      Acked-by: default avatarMark Brown <broonie@kernel.org>
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      2bdfd4fb
    • Rob Herring's avatar
      dt-bindings: Fix command line length limit calling dt-mk-schema · 8b6b8021
      Rob Herring authored
      As the number of schemas has increased, we're starting to hit the error
      "execvp: /bin/sh: Argument list too long". This is due to passing all the
      schema files on the command line to dt-mk-schema. It currently is only
      with out of tree builds and is intermittent depending on the file path
      lengths.
      
      Commit 2ba06cd8 ("kbuild: Always validate DT binding examples") made
      hitting this proplem more likely since the example validation now always
      gets the full list of schemas.
      
      Fix this by passing the schema file list in a pipe and using xargs. We end
      up doing the find twice, but the time is insignificant compared to the
      dt-mk-schema time.
      Reported-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
      Reviewed-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
      Tested-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      8b6b8021
  4. 22 Apr, 2020 1 commit
  5. 20 Apr, 2020 11 commits
  6. 17 Apr, 2020 10 commits
  7. 16 Apr, 2020 3 commits
  8. 15 Apr, 2020 5 commits