1. 23 1月, 2015 1 次提交
  2. 20 11月, 2014 1 次提交
  3. 13 11月, 2014 1 次提交
  4. 18 9月, 2014 1 次提交
  5. 06 9月, 2014 1 次提交
    • S
      ARM: tegra: rely on bootloader pinmux programming on Tegra124 · 6dbaff2b
      Stephen Warren 提交于
      The defined mechanism for programming the Tegra pinmux is to perform all
      of the following at once in order, before using any I/O controller that
      is affected by the pinmux:
      
      - Set the CLAMP_INPUTS_WHEN_TRISTATED PMC register bit.
      - Set up any GPIO pins to their "initial" state.
      - Program all pinmux settings in one go.
      
      Other methods such as:
      
      - Not setting CLAMP_INPUTS_WHEN_TRISTATED.
      - Not setting GPIOs to their "initial" state before programming the
        pinmux settings of the related pin, in particular the mux function.
      - Not programming the entire pinmux at once, in order to avoid
        possible conflicting settings.
      
      ... are not qualified or supported by NVIDIA ASIC/syseng. They could
      cause glitches or undesired output levels on some pins, or controller
      malfunction.
      
      While we've been getting away with doing something different on many
      Tegra boards without issue, I believe we've just been getting lucky.
      I'd like to switch all Tegra124 systems to the correct scheme now so
      they provide the right example to follow, and require that any new
      boards we support upstream work in the same fashion.
      
      While it would be nice to update boards containing older SoCs for
      consistency, I don't anticipate doing so. It's too much churn to change
      at this time. At least with all Tegra124 boards converted, the most
      recent boards provide the correct example.
      
      Since the bootloader needs to reprogram the pinmux to access certain
      peripherals, it must program the entire pinmux due to the supported
      rules above. As such, there is no need to program any part of the pinmux
      from the kernel, unless dynamic pinmuxing is used. Given this, we couuld
      simply remove the pinmux "default" state from the DT entirely. However,
      some bootloaders parse the DT to perform their initial pinmux setup, so
      it's useful to keep the pinmux data in DT. To allow this while avoiding
      redundant work in the kernel, rename the "default" state to "boot". The
      kernel won't apply this, but bootloaders can still look for this state
      name and apply it. Note however that the DT provides zero information
      about the required initial GPIO setup, so bootloaders using this approach
      are not likely to operate correctly without an additional GPIO
      initialization table somewhere. Previous discussions on the DT mailing
      list have rejected adding such a table to DT...
      
      The following U-Boot commits fully initialize the pinmux:
      
      Jetson TK1: 4ff213b8e478 ARM: tegra: clamp inputs on Jetson TK1
      Venice2: 3365479ce78a ARM: tegra: Venice2 pinmux spreadsheet updates
      Both are part of U-Boot v2014.07 and later.
      
      Without those commits, the only fallout I see from this change is that
      HDMI on Venice2 no longer works. Given the very small user-base of this
      platform, I feel that requiring a bootloader update is reasonable.
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      6dbaff2b
  6. 27 8月, 2014 2 次提交
  7. 17 7月, 2014 3 次提交
  8. 30 4月, 2014 1 次提交
  9. 28 4月, 2014 2 次提交
  10. 17 4月, 2014 1 次提交
  11. 16 4月, 2014 2 次提交
    • S
      ARM: tegra: define Jetson TK1 regulators · 22b35776
      Stephen Warren 提交于
      These are mostly identical to the Venice2 regulator definitions, since
      the board designs are very similar. Differences are:
      
      - Jetson TK1 doesn't have a built-in LCD panel, so on-board regulators
        are not present for the backlight, touchscreen, or panel.
      - +3.3V_RUN needs to be boot-on/always-on, since it's widely used. This
        change should likely be propagated to Venice2 for completeness,
        although it will have no practical effect there since various other
        regulators use +3.3V_RUN as their supply and are always-on.
      - +3.3V_LP0 needs to be boot-on as well as always-on. One reason
        is because it's used to driver the UART level-shifter; without this, I
        see a brief period of UART corruption during cold boots.I suspect this
        change needs to be propagated to Venice2, and we simply haven't noticed
        the need since there's no UART level-shifter on Venice2.
      - A few rails have different names in the schematics.
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      22b35776
    • S
      ARM: tegra: add Jetson TK1 device tree · 15e524a4
      Stephen Warren 提交于
      Jetson TK1 is an NVIDIA Tegra124 development board, containing Tegra124,
      2GB RAM, eMMC, SD card, SPI flash, serial port, PCIe Ethernet, HDMI,
      audio, mini PCIe, JTAG, SATA, and an expansion IO connector containing
      GPIOs, I2C, SPI, CSI, eDP, etc.
      
      The following features work with this device tree: UART, SD card, eMMC,
      SPI flash, USB (full-size jack, and mini-PCIe), audio, AS3722 RTC, system
      power-off, suspend/resume (LP1) with wake via RTC alarm.
      
      The following features should work with this device tree, but are not
      validated: Expansion I2C, expansion SPI, expansion GPIO, gpio-key for the
      power button.
      
      The following features are not yet implemented in this device tree: Most
      voltage regulators, expansion UART, HDMI, eDP, PCIe (Ethernet, and mini-
      PCIe connector), CSI, SATA.
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      15e524a4