Skip to content
Snippets Groups Projects
  1. Oct 12, 2016
  2. Oct 11, 2016
  3. Sep 24, 2016
  4. Sep 23, 2016
  5. Aug 26, 2016
    • Hans de Goede's avatar
      sunxi: display: Use PWM to drive backlight where applicable · 421c98d7
      Hans de Goede authored
      
      When the backlight's pwm input is connected to a pwm output of the SoC,
      actually use pwm to drive the backlight.
      
      The mean reason for doing this is to fix the backlight turning off
      for aprox. 1 second while the kernel is booting. This is caused by
      the kernel actually using pwm to drive the backlight, so that it
      can dim the backlight. First the pwm driver loads and switches the
      pinmux for the pin driving the backlight's pwm input to the pwm
      controller. Then about 1s later the actual backlight driver loads
      and tells the pwm driver to actually update the pwm settings, which
      have a power-on-reset value of "off".
      
      An additional advantage is that this allows us to initatiate the
      backlight at 80%, which is the kernel default, avoiding a brightness
      change while the kernel loads.
      
      Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      Reviewed by: Peter Korsgaard <peter@korsgaard.com>
      421c98d7
  6. Jul 26, 2016
  7. Jul 16, 2016
    • Robert P. J. Day's avatar
      Various, unrelated tree-wide typo fixes. · 62a3b7dd
      Robert P. J. Day authored
      
          Fix a number of typos, including:
      
           * "compatble" -> "compatible"
           * "eanbeld" -> "enabled"
           * "envrionment" -> "environment"
           * "FTD" -> "FDT" (for "flattened device tree")
           * "ommitted" -> "omitted"
           * "overriden" -> "overridden"
           * "partiton" -> "partition"
           * "propogate" -> "propagate"
           * "resourse" -> "resource"
           * "rest in piece" -> "rest in peace"
           * "suport" -> "support"
           * "varible" -> "variable"
      
      Signed-off-by: default avatarRobert P. J. Day <rpjday@crashcourse.ca>
      62a3b7dd
  8. Jul 11, 2016
  9. Jul 05, 2016
  10. Jun 19, 2016
    • Stephen Warren's avatar
      clk: convert API to match reset/mailbox style · 135aa950
      Stephen Warren authored
      
      The following changes are made to the clock API:
      * The concept of "clocks" and "peripheral clocks" are unified; each clock
        provider now implements a single set of clocks. This provides a simpler
        conceptual interface to clients, and better aligns with device tree
        clock bindings.
      * Clocks are now identified with a single "struct clk", rather than
        requiring clients to store the clock provider device and clock identity
        values separately. For simple clock consumers, this isolates clients
        from internal details of the clock API.
      * clk.h is split so it only contains the client/consumer API, whereas
        clk-uclass.h contains the provider API. This aligns with the recently
        added reset and mailbox APIs.
      * clk_ops .of_xlate(), .request(), and .free() are added so providers
        can customize these operations if needed. This also aligns with the
        recently added reset and mailbox APIs.
      * clk_disable() is added.
      * All users of the current clock APIs are updated.
      * Sandbox clock tests are updated to exercise clock lookup via DT, and
        clock enable/disable.
      * rkclk_get_clk() is removed and replaced with standard APIs.
      
      Buildman shows no clock-related errors for any board for which buildman
      can download a toolchain.
      
      test/py passes for sandbox (which invokes the dm clk test amongst
      others).
      
      Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
      135aa950
  11. Jun 12, 2016
  12. May 27, 2016
  13. May 25, 2016
  14. May 17, 2016
    • Stephen Warren's avatar
      video: tegra: refuse to bind to disabled dcs · 54693cbd
      Stephen Warren authored
      
      This prevents the following boot-time message on any board where only the
      first DC is in use, yet the DC's DT node is enabled:
      
      stdio_add_devices: Video device failed (ret=-22)
      
      (This happens on at least Harmony, Ventana, and likely any other Tegra20
      board with display enabled other than Seaboard).
      
      The Tegra DC's DT node represents a display controller. It may itself
      drive an integrated RGB display output, or be used by some other display
      controller such as HDMI. For this reason the DC node itself is not
      enabled/disabled in DT; the DC itself is considered a shared resource, not
      the final (board-specific) display output. The node should instantiate a
      display output driver only if the rgb subnode is enabled. Other output
      drivers are free to use the DC if they are enabled and their DT node
      references the DC's DT node. Adapt the Tegra display drivers' bind()
      routine to only bind to the DC's DT node if the RGB subnode is enabled.
      
      Now that the display driver does the right thing, remove the workaround
      for this issue from Seaboard's DT file.
      
      Cc: Thierry Reding <treding@nvidia.com>
      Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
      Acked-by: default avatarThierry Reding <treding@nvidia.com>
      Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
      54693cbd
  15. Apr 28, 2016
  16. Apr 25, 2016
Loading