1. 23 Jan, 2020 1 commit
  2. 17 Jan, 2020 2 commits
  3. 28 Nov, 2019 9 commits
    • Varun Wadekar's avatar
      Tegra: introduce plat_enable_console() · 117dbe6c
      Varun Wadekar authored
      
      
      This patch introduces the 'plat_enable_console' handler to allow
      the platform to enable the right console. Tegra194 platform supports
      multiple console, while all the previous platforms support only one
      console.
      
      For Tegra194 platforms, the previous bootloader checks the platform
      config and sets the uart-id boot parameter, to 0xFE. On seeing this
      boot parameter, the platform port uses the proper memory aperture
      base address to communicate with the SPE. This functionality is
      currently protected by a platform macro, ENABLE_CONSOLE_SPE.
      
      Change-Id: I3972aa376d66bd10d868495f561dc08fe32fcb10
      Signed-off-by: default avatarVarun Wadekar <vwadekar@nvidia.com>
      117dbe6c
    • Varun Wadekar's avatar
      Tegra194: console driver compilation from platform makefiles · 14f52852
      Varun Wadekar authored
      
      
      This patch includes the console driver from individual platform
      makefile, to allow future platforms to include consoles of their
      choice.
      
      Change-Id: I4c92199717da410c8b5e8d45af67f4345f743dbd
      Signed-off-by: default avatarVarun Wadekar <vwadekar@nvidia.com>
      14f52852
    • Varun Wadekar's avatar
      Tegra194: cleanup references to Tegra186 · 1c62509e
      Varun Wadekar authored
      
      
      This patch cleans up all references to the Tegra186 family of SoCs.
      
      Change-Id: Ife892caba5f2523debacedf8ec465289def9afd0
      Signed-off-by: default avatarVarun Wadekar <vwadekar@nvidia.com>
      1c62509e
    • Steven Kao's avatar
      Tegra194: drivers: SE and RNG1/PKA1 context save support · 6eb3c188
      Steven Kao authored
      
      
      This patch adds the driver, to implement the programming sequence to
      save/restore hardware context, during System Suspend/Resume.
      
      Change-Id: If851a81cd4e699b58a0055d0be7f145759792ee9
      Signed-off-by: default avatarSteven Kao <skao@nvidia.com>
      Signed-off-by: default avatarJeff Tsai <jefft@nvidia.com>
      6eb3c188
    • Steven Kao's avatar
      Tegra194: increase MAX_MMAP_REGIONS macro value · 929a764d
      Steven Kao authored
      
      
      This patch increases the MAX_MMAP_REGIONS value to 30 from 25 to
      allow addition of more MMU mappings.
      
      Change-Id: I5c758c432f5cc77299608e25ba2fd92c3822379d
      Signed-off-by: default avatarSteven Kao <skao@nvidia.com>
      929a764d
    • Varun Wadekar's avatar
      Tegra194: core and cluster count values · 1e6a7f91
      Varun Wadekar authored
      
      
      This patch updates the total number of CPU clusters and number
      of cores per cluster, in the platform makefile.
      
      Change-Id: I569ebc1bb794ecab09a1043511b3d936bf450428
      Signed-off-by: default avatarVarun Wadekar <vwadekar@nvidia.com>
      1e6a7f91
    • Ajay Gupta's avatar
      Tegra194: program stream ids for XUSB · bc019041
      Ajay Gupta authored
      
      
      T194 XUSB has support for XUSB virtualization. It will have one
      physical function (PF) and four Virtual function (VF)
      
      There were below two SIDs for XUSB until T186.
      1) #define TEGRA_SID_XUSB_HOST    0x1bU
      2) #define TEGRA_SID_XUSB_DEV    0x1cU
      
      We have below four new SIDs added for VF(s)
      3) #define TEGRA_SID_XUSB_VF0    0x5dU
      4) #define TEGRA_SID_XUSB_VF1    0x5eU
      5) #define TEGRA_SID_XUSB_VF2    0x5fU
      6) #define TEGRA_SID_XUSB_VF3    0x60U
      
      When virtualization is enabled then we have to disable SID override
      and program above SIDs in below newly added SID registers in XUSB
      PADCTL MMIO space. These registers are TZ protected and so need to
      be done in ATF.
      a) #define XUSB_PADCTL_HOST_AXI_STREAMID_PF_0 (0x136cU)
      b) #define XUSB_PADCTL_DEV_AXI_STREAMID_PF_0  (0x139cU)
      c) #define XUSB_PADCTL_HOST_AXI_STREAMID_VF_0 (0x1370U)
      d) #define XUSB_PADCTL_HOST_AXI_STREAMID_VF_1 (0x1374U)
      e) #define XUSB_PADCTL_HOST_AXI_STREAMID_VF_2 (0x1378U)
      f) #define XUSB_PADCTL_HOST_AXI_STREAMID_VF_3 (0x137cU)
      
      This change disables SID override and programs XUSB SIDs in
      above registers to support both virtualization and non-virtualization.
      
      Change-Id: I38213a72999e933c44c5392441f91034d3b47a39
      Signed-off-by: default avatarAjay Gupta <ajayg@nvidia.com>
      bc019041
    • Steven Kao's avatar
      Tegra194: smmu: ISO support · 13dcbc6f
      Steven Kao authored
      
      
      The FPGA configuration is encoded in the high byte of
      MISCREG_EMU_REVID. Configs GPU and MAX (encoded as
      2 and 3) support the ISO SMMU, while BASE (encoded as 1)
      does not. This patch implements this encoding and returns
      the proper number of SMMU instances.
      
      Change-Id: I024286b6091120c7602f63065d20ce48bcfd13fe
      Signed-off-by: default avatarSteven Kao <skao@nvidia.com>
      13dcbc6f
    • Varun Wadekar's avatar
      Tegra194: platform support for memctrl/smmu drivers · 719fdb6e
      Varun Wadekar authored
      
      
      This patch adds platform support for the Memory Controller and
      SMMU drivers, for the Tegra194 SoC.
      
      Change-Id: Id8b482de70f1f93bedbca8d124575c39b469927f
      Signed-off-by: default avatarVarun Wadekar <vwadekar@nvidia.com>
      719fdb6e
  4. 24 Oct, 2019 4 commits