1. 06 5月, 2016 4 次提交
  2. 05 5月, 2016 3 次提交
    • S
      ARM: tegra: import latest Jetson TK1 spreadsheet · bbca7108
      Stephen Warren 提交于
      This imports v11 of "Jetson TK1 Development Platform Pin Mux" from
      https://developer.nvidia.com/embedded/downloads.
      
      The new version defines the mux option for the MIPI pad ctrl selection.
      The OWR pin no longer has an entry in the configuration table because
      the only mux option it support is OWR, that feature isn't supported, and
      hence can't conflict with any other pin. This pin can only usefully be
      used as a GPIO.
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      Signed-off-by: NTom Warren <twarren@nvidia.com>
      bbca7108
    • S
      pci: tegra: fix DM conversion issues on Tegra20 · f5c6db84
      Stephen Warren 提交于
      Tegra20's PCIe controller has a couple of quirks. There are workarounds in
      the driver for these, but they don't work after the DM conversion:
      
      1) The PCI_CLASS value is wrong in HW.
      
      This is worked around in pci_tegra_read_config() by patching up the value
      read from that register. Pre-DM, the PCIe core always read this via a
      16-bit access to the 16-bit offset 0xa. With DM, 32-bit accesses are used,
      so we need to check for offset 0x8 instead. Mask the offset value back to
      32-bit alignment to make this work in all cases.
      
      2) Accessing devices other than dev 1 causes a data abort.
      
      Pre-DM, this was worked around in pci_skip_dev(), which the PCIe core code
      called during enumeration while iterating over a bus. The DM PCIe core
      doesn't use this function. Instead, enhance tegra_pcie_conf_address() to
      validate the bdf being accessed, and refuse to access invalid devices.
      Since pci_skip_dev() isn't used, delete it.
      
      I've also validated that both these WARs are only needed for Tegra20, by
      testing on Tegra30/Cardhu and Tegra124/Jetson TKx. So, compile them in
      conditionally.
      
      Fixes: e81ca884 ("dm: tegra: pci: Convert tegra boards to driver model for PCI")
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      Reviewed-by: NThierry Reding <treding@nvidia.com>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      Signed-off-by: NTom Warren <twarren@nvidia.com>
      f5c6db84
    • S
      ARM: tegra: enable GPU node by compatible value · d9b6f58e
      Stephen Warren 提交于
      In current Linux kernel Tegra DT files, 64-bit addresses are represented
      in unit addresses as a pair of comma-separated 32-bit values. Apparently
      this is no longer the correct representation for simple busses, and the
      unit address should be represented as a single 64-bit value. If this is
      changed in the DTs, arm/arm/mach-tegra/board2.c:ft_system_setup() will no
      longer be able to find and enable the GPU node, since it looks up the node
      by name.
      
      Fix that function to enable nodes based on their compatible value rather
      than their node name. This will work no matter what the node name is, i.e
      for DTs both before and after any rename operation.
      
      Cc: Thierry Reding <treding@nvidia.com>
      Cc: Alexandre Courbot <acourbot@nvidia.com>
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      Signed-off-by: NTom Warren <twarren@nvidia.com>
      d9b6f58e
  3. 04 5月, 2016 10 次提交
  4. 03 5月, 2016 15 次提交
  5. 02 5月, 2016 1 次提交
  6. 01 5月, 2016 4 次提交
  7. 29 4月, 2016 2 次提交
  8. 28 4月, 2016 1 次提交