1. 04 7月, 2016 4 次提交
  2. 01 7月, 2016 4 次提交
  3. 30 6月, 2016 3 次提交
    • J
      drm/tegra: Prepare DPAUX for supporting generic PM domains · 9b99044a
      Jon Hunter 提交于
      To utilise the DPAUX on Tegra, the SOR power partition must be enabled.
      Now that Tegra supports the generic PM domain framework we manage the
      SOR power partition via this framework for DPAUX. However, the sequence
      for gating/ungating the SOR power partition requires that the DPAUX
      reset is asserted/de-asserted at the time the SOR power partition is
      gated/ungated, respectively. Now that the reset control core assumes
      that resets are exclusive, the Tegra generic PM domain code and the
      DPAUX driver cannot request the same reset unless we mark the resets as
      shared. Sharing resets will not work in this case because we cannot
      guarantee that the reset will be asserted/de-asserted at the appropriate
      time. Therefore, given that the Tegra generic PM domain code will handle
      the DPAUX reset, do not request the reset in the DPAUX driver if the
      DPAUX device has a PM domain associated.
      Signed-off-by: NJon Hunter <jonathanh@nvidia.com>
      Signed-off-by: NThierry Reding <treding@nvidia.com>
      9b99044a
    • J
      drm/tegra: dpaux: Add helpers for setting up pads · 9d0e09c1
      Jon Hunter 提交于
      In preparation for adding pinctrl support for the DPAUX pads, add a
      couple of helpers functions to configure the pads and control their
      power.
      
      Please note that although a simple if-statement could be used instead
      of a case statement for configuring the pads as there are only two
      possible modes, a case statement is used because when integrating with
      the pinctrl framework, we need to be able to handle invalid modes that
      could be passed.
      Signed-off-by: NJon Hunter <jonathanh@nvidia.com>
      Signed-off-by: NThierry Reding <treding@nvidia.com>
      9d0e09c1
    • J
      drm/tegra: dpaux: Clean-up on probe failure · bcbd63df
      Jon Hunter 提交于
      If the probing of the DPAUX fails, then clocks are left enabled and the
      DPAUX reset de-asserted. Add code to perform the necessary clean-up on
      probe failure by disabling clocks and asserting the reset.
      Signed-off-by: NJon Hunter <jonathanh@nvidia.com>
      Signed-off-by: NThierry Reding <treding@nvidia.com>
      bcbd63df
  4. 23 6月, 2016 12 次提交
  5. 29 5月, 2016 1 次提交
    • G
      Eliminate bad hash multipliers from hash_32() and hash_64() · ef703f49
      George Spelvin 提交于
      The "simplified" prime multipliers made very bad hash functions, so get rid
      of them.  This completes the work of 689de1d6.
      
      To avoid the inefficiency which was the motivation for the "simplified"
      multipliers, hash_64() on 32-bit systems is changed to use a different
      algorithm.  It makes two calls to hash_32() instead.
      
      drivers/media/usb/dvb-usb-v2/af9015.c uses the old GOLDEN_RATIO_PRIME_32
      for some horrible reason, so it inherits a copy of the old definition.
      Signed-off-by: NGeorge Spelvin <linux@sciencehorizons.net>
      Cc: Antti Palosaari <crope@iki.fi>
      Cc: Mauro Carvalho Chehab <m.chehab@samsung.com>
      ef703f49
  6. 28 5月, 2016 16 次提交