1. May 02, 2020
    • Lubomir Rintel's avatar
      dt-bindings: serial: Convert 8250 to json-schema · e69f5dc6
      Lubomir Rintel authored
      
      
      Some fixes were done during the conversion:
      
      Slightly better examples. The original example was for an OMAP serial
      port, which is not even described by this binding, but by
      omap_serial.txt instead.
      
      Added compatible strings, that were used, byt not documented:
      andestech,uart16550, cavium,octeon-3860-uart, fsl,16550-FIFO64,
      nvidia,tegra186-uart, nvidia,tegra194-uart, nxp,lpc1850-uart,
      opencores,uart16550-rtlsvn105, ralink,mt7620a-uart, ralink,rt3052-uart,
      ralink,rt3883-uart and xlnx,xps-uart16550-2.00.b.
      
      Removed "serial" compatible string. It's redundant with the node name
      (which, in OFW, serves the same purpose as the compatible string).
      
      Signed-off-by: default avatarLubomir Rintel <lkundrak@v3.sk>
      [robh: allow additional properties. clocks/clock-frequency can be
      optional on original 8250 series with standard clocks]
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      e69f5dc6
  2. May 01, 2020
  3. Apr 29, 2020
  4. Apr 25, 2020
    • 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
  5. Apr 24, 2020
  6. Apr 23, 2020
  7. Apr 21, 2020
  8. Apr 18, 2020
  9. Apr 17, 2020
  10. Apr 16, 2020