1. 11 1月, 2021 1 次提交
  2. 30 11月, 2020 2 次提交
  3. 28 11月, 2020 1 次提交
  4. 27 11月, 2020 2 次提交
  5. 17 11月, 2020 8 次提交
  6. 13 11月, 2020 11 次提交
    • V
      arm64: dts: ti: k3-j7200-mcu-wakeup: Enable ADC support · e6b45168
      Vignesh Raghavendra 提交于
      J7200 has a single instance of 8 channel ADC in MCU domain. Add DT node
      for the same.
      Signed-off-by: NVignesh Raghavendra <vigneshr@ti.com>
      Signed-off-by: NNishanth Menon <nm@ti.com>
      Reviewed-by: NSekhar Nori <nsekhar@ti.com>
      Link: https://lore.kernel.org/r/20201029050950.4500-1-vigneshr@ti.com
      e6b45168
    • N
      arm64: dts: ti: k3-am65*/j721e*: Fix unit address format error for dss node · cfbf17e6
      Nishanth Menon 提交于
      Fix the node address to follow the device tree convention.
      
      This fixes the dtc warning:
      <stdout>: Warning (simple_bus_reg): /bus@100000/dss@04a00000: simple-bus
      unit address format error, expected "4a00000"
      
      Fixes: 76921f15 ("arm64: dts: ti: k3-j721e-main: Add DSS node")
      Fixes: fc539b90 ("arm64: dts: ti: am654: Add DSS node")
      Signed-off-by: NNishanth Menon <nm@ti.com>
      Reviewed-by: NJyri Sarha <jsarha@ti.com>
      Reviewed-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      Cc: Jyri Sarha <jsarha@ti.com>
      Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
      Link: https://lore.kernel.org/r/20201104222519.12308-1-nm@ti.com
      cfbf17e6
    • S
      arm64: dts: ti: k3-j721e-som-p0: Add DDR carveout memory nodes for R5Fs · 0f191152
      Suman Anna 提交于
      Two carveout reserved memory nodes each have been added for each of the
      R5F remote processor devices within both the MCU and MAIN domains for the
      TI J721E EVM boards. These nodes are assigned to the respective rproc
      device nodes as well. The first region will be used as the DMA pool for
      the rproc device, and the second region will furnish the static carveout
      regions for the firmware memory.
      
      The current carveout addresses and sizes are defined statically for each
      device. The R5F processors do not have an MMU, and as such require the
      exact memory used by the firmwares to be set-aside. The firmware images
      do not require any RSC_CARVEOUT entries in their resource tables either
      to allocate the memory for firmware memory segments.
      
      Note that the R5F1 carveouts are needed only if the R5F cluster is running
      in Split (non-LockStep) mode. The reserved memory nodes can be disabled
      later on if there is no use-case defined to use the corresponding
      remote processor.
      Signed-off-by: NSuman Anna <s-anna@ti.com>
      Signed-off-by: NNishanth Menon <nm@ti.com>
      Reviewed-by: NLokesh Vutla <lokeshvutla@ti.com>
      Link: https://lore.kernel.org/r/20201029033802.15366-9-s-anna@ti.com
      0f191152
    • S
      arm64: dts: ti: k3-j721e-som-p0: Add mailboxes to R5Fs · 2879b593
      Suman Anna 提交于
      Add the required 'mboxes' property to all the R5F processors for the
      TI J721E common processor board. The mailboxes and some shared memory
      are required for running the Remote Processor Messaging (RPMsg) stack
      between the host processor and each of the R5Fs. The nodes are therefore
      added in the common k3-j721e-som-p0.dtsi file so that all of these can
      be co-located.
      
      The chosen sub-mailboxes match the values used in the current firmware
      images. This can be changed, if needed, as per the system integration
      needs after making appropriate changes on the firmware side as well.
      
      Note that any R5F Core1 resources are needed and used only when that
      R5F cluster is configured for Split-mode.
      Signed-off-by: NSuman Anna <s-anna@ti.com>
      Signed-off-by: NNishanth Menon <nm@ti.com>
      Reviewed-by: NLokesh Vutla <lokeshvutla@ti.com>
      Link: https://lore.kernel.org/r/20201029033802.15366-8-s-anna@ti.com
      2879b593
    • S
      arm64: dts: ti: k3-j721e-main: Add MAIN domain R5F cluster nodes · df445ff9
      Suman Anna 提交于
      The J721E SoCs have 3 dual-core Arm Cortex-R5F processor (R5FSS)
      subsystems/clusters. One R5F cluster (MCU_R5FSS0) is present within
      the MCU domain, and the remaining two clusters are present in the
      MAIN domain (MAIN_R5FSS0 & MAIN_R5FSS1). Each of these can be
      configured at boot time to be either run in a LockStep mode or in
      an Asymmetric Multi Processing (AMP) fashion in Split-mode. These
      subsystems have 64 KB each Tightly-Coupled Memory (TCM) internal
      memories for each core split between two banks - ATCM and BTCM
      (further interleaved into two banks). There are some IP integration
      differences from standard Arm R5 clusters such as the absence of
      an ACP port, presence of an additional TI-specific Region Address
      Translater (RAT) module for translating 32-bit CPU addresses into
      larger system bus addresses etc.
      
      Add the DT nodes for these two MAIN domain R5F cluster/subsystems,
      the two R5F cores are each added as child nodes to the corresponding
      main cluster node. Both the clusters are configured to run in LockStep
      mode by default, with the ATCMs enabled to allow the R5 cores to execute
      code from DDR with boot-strapping code from ATCM. The inter-processor
      communication between the main A72 cores and these processors is
      achieved through shared memory and Mailboxes.
      
      The following firmware names are used by default for these cores, and
      can be overridden in a board dts file if needed:
          MAIN R5FSS0 Core0: j7-main-r5f0_0-fw (both in LockStep and Split modes)
          MAIN R5FSS0 Core1: j7-main-r5f0_1-fw (needed only in Split mode)
          MAIN R5FSS1 Core0: j7-main-r5f1_0-fw (both in LockStep and Split modes)
          MAIN R5FSS1 Core1: j7-main-r5f1_1-fw (needed only in Split mode)
      Signed-off-by: NSuman Anna <s-anna@ti.com>
      Signed-off-by: NNishanth Menon <nm@ti.com>
      Reviewed-by: NLokesh Vutla <lokeshvutla@ti.com>
      Link: https://lore.kernel.org/r/20201029033802.15366-7-s-anna@ti.com
      df445ff9
    • S
      arm64: dts: ti: k3-j721e-mcu: Add MCU domain R5F cluster node · dd74c945
      Suman Anna 提交于
      The J721E SoCs have 3 dual-core Arm Cortex-R5F processor (R5FSS)
      subsystems/clusters. One R5F cluster (MCU_R5FSS0) is present within
      the MCU domain, and the remaining two clusters are present in the
      MAIN domain (MAIN_R5FSS0 & MAIN_R5FSS1). Each of these can be
      configured at boot time to be either run in a LockStep mode or in
      an Asymmetric Multi Processing (AMP) fashion in Split-mode. These
      subsystems have 64 KB each Tightly-Coupled Memory (TCM) internal
      memories for each core split between two banks - ATCM and BTCM
      (further interleaved into two banks). There are some IP integration
      differences from standard Arm R5 clusters such as the absence of
      an ACP port, presence of an additional TI-specific Region Address
      Translater (RAT) module for translating 32-bit CPU addresses into
      larger system bus addresses etc.
      
      Add the DT node for the MCU domain R5F cluster/subsystem, the two
      R5F cores are added as child nodes to the main cluster/subsystem node.
      The cluster is configured to run in LockStep mode by default, with the
      ATCMs enabled to allow the R5 cores to execute code from DDR with
      boot-strapping code from ATCM. The inter-processor communication
      between the main A72 cores and these processors is achieved through
      shared memory and Mailboxes.
      
      The following firmware names are used by default for these cores, and
      can be overridden in a board dts file if needed:
          MCU R5FSS0 Core0: j7-mcu-r5f0_0-fw (both in LockStep and Split modes)
          MCU R5FSS0 Core1: j7-mcu-r5f0_1-fw (needed only in Split mode)
      Signed-off-by: NSuman Anna <s-anna@ti.com>
      Signed-off-by: NNishanth Menon <nm@ti.com>
      Reviewed-by: NLokesh Vutla <lokeshvutla@ti.com>
      Link: https://lore.kernel.org/r/20201029033802.15366-6-s-anna@ti.com
      dd74c945
    • S
      arm64: dts: ti: k3-am654-base-board: Reserve memory for IPC between R5F cores · f82c5e0a
      Suman Anna 提交于
      Add a reserved memory node to reserve a portion of the DDR memory to be
      used for performing inter-processor communication between all the MCU R5F
      remote processors running RTOS on all the TI AM654 boards. This memory
      shall be exercised only if the MCU R5FSS cluster is configured for Split
      mode.  A single 1 MB of memory at 0xa2000000 is reserved for this purpose,
      and this accounts for all the vrings and vring buffers between pair of
      these R5F remote processors.
      Signed-off-by: NSuman Anna <s-anna@ti.com>
      Signed-off-by: NNishanth Menon <nm@ti.com>
      Reviewed-by: NLokesh Vutla <lokeshvutla@ti.com>
      Link: https://lore.kernel.org/r/20201029033802.15366-5-s-anna@ti.com
      f82c5e0a
    • S
      arm64: dts: ti: k3-am654-base-board: Add DDR carveout memory nodes for R5Fs · 954ec513
      Suman Anna 提交于
      The R5F processors do not have an MMU, and as such require the exact memory
      used by the firmwares to be set-aside. Four carveout reserved memory nodes
      have been added with two each (1 MB and 15 MB in size) used for each of the
      MCU R5F remote processor devices on all the TI K3 AM65x boards. These nodes
      are assigned to the respective rproc device nodes as well.
      
      The current carveout addresses and sizes are defined statically for each
      device. The first region will be used as the DMA pool for the rproc
      device, and the second region will furnish the static carveout regions
      for the firmware memory.
      
      Note that the R5F1 carveouts are needed only if the corresponding R5F
      cluster is running in Split (non-LockStep) mode. The corresponding
      reserved memory nodes can be disabled later on if there is no use-case
      defined to use the corresponding remote processor.
      Signed-off-by: NSuman Anna <s-anna@ti.com>
      Signed-off-by: NNishanth Menon <nm@ti.com>
      Reviewed-by: NLokesh Vutla <lokeshvutla@ti.com>
      Link: https://lore.kernel.org/r/20201029033802.15366-4-s-anna@ti.com
      954ec513
    • S
      arm64: dts: ti: k3-am654-base-board: Add mailboxes to R5Fs · 10332cd6
      Suman Anna 提交于
      Add the required 'mboxes' property to both the R5F processors on all the
      TI K3 AM65x boards. The mailboxes and some shared memory are required
      for running the Remote Processor Messaging (RPMsg) stack between the
      host processor and each of the R5Fs. The chosen sub-mailboxes match the
      values used in the current firmware images. This can be changed, if
      needed, as per the system integration needs after making appropriate
      changes on the firmware side as well.
      
      Note that the R5F Core1 resources are needed and used only when the
      R5F cluster is configured for Split-mode.
      Signed-off-by: NSuman Anna <s-anna@ti.com>
      Signed-off-by: NNishanth Menon <nm@ti.com>
      Reviewed-by: NLokesh Vutla <lokeshvutla@ti.com>
      Link: https://lore.kernel.org/r/20201029033802.15366-3-s-anna@ti.com
      10332cd6
    • S
      arm64: dts: ti: k3-am65-mcu: Add MCU domain R5F cluster node · 5bb9e0f6
      Suman Anna 提交于
      The AM65x SoCs have a single dual-core Arm Cortex-R5F processor (R5FSS)
      subsystem/cluster. This R5F cluster (MCU_R5FSS0) is present within the
      MCU domain, and can be configured at boot time to be either run in a
      LockStep mode or in an Asymmetric Multi Processing (AMP) fashion in
      Split-mode. This subsystem has 64 KB each Tightly-Coupled Memory (TCM)
      internal memories for each core split between two banks - TCMA and TCMB
      (further interleaved into two banks). There are some IP integration
      differences from standard Arm R5F clusters such as the absence of an ACP
      port, presence of an additional TI-specific Region Address Translater
      (RAT) module for translating 32-bit CPU addresses into larger system
      bus addresses etc.
      
      Add the DT node for this R5F cluster/subsystem, the two R5F cores are
      added as child nodes to the main cluster node. The cluster is configured
      to run in LockStep mode by default, with the ATCMs enabled to allow the
      R5 cores to execute code from DDR with boot-strapping code from ATCM.
      The inter-processor communication between the main A53 cores and these
      processors is achieved through shared memory and Mailboxes.
      
      The following firmware names are used by default for these cores, and
      can be overridden in a board dts file if needed:
          am65x-mcu-r5f0_0-fw (LockStep mode and for Core0 in Split mode)
          am65x-mcu-r5f0_1-fw (Core1 in Split mode)
      Signed-off-by: NSuman Anna <s-anna@ti.com>
      Signed-off-by: NNishanth Menon <nm@ti.com>
      Reviewed-by: NLokesh Vutla <lokeshvutla@ti.com>
      Link: https://lore.kernel.org/r/20201029033802.15366-2-s-anna@ti.com
      5bb9e0f6
    • T
      arm64: dts: ti: k3-am65: mark dss as dma-coherent · 50301e88
      Tomi Valkeinen 提交于
      DSS is IO coherent on AM65, so we should mark it as such with
      'dma-coherent' property in the DT file.
      
      Fixes: fc539b90 ("arm64: dts: ti: am654: Add DSS node")
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      Signed-off-by: NNishanth Menon <nm@ti.com>
      Acked-by: NNikhil Devshatwar <nikhil.nd@ti.com>
      Cc: stable@vger.kernel.org # v5.8+
      Link: https://lore.kernel.org/r/20201102134650.55321-1-tomi.valkeinen@ti.com
      50301e88
  7. 26 10月, 2020 1 次提交
  8. 30 9月, 2020 5 次提交
  9. 25 9月, 2020 1 次提交
  10. 24 9月, 2020 8 次提交