Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
  1. Feb 18, 2021
  2. Oct 16, 2020
  3. Aug 12, 2020
    • Suman Anna's avatar
      arm64: dts: ti: k3-j721e-common-proc-board: Disable PPS for MCU CPSW CPTS · 682b964e
      Suman Anna authored and Vignesh Raghavendra's avatar Vignesh Raghavendra committed
      The commit 0f90c93f
      
       ("arm64: dts: ti: k3-j721e-common-proc-board:
      add mcu cpsw nuss pinmux and phy defs") has added PPS support for
      MCU CPSW CPTS by routing GenF1 output to MCU_CPTS_HW4_PUSH input using
      timesync router. The timesync router is modeled as a pinctrl device with
      the interrupt output configured as a pinmux setting. The TimeSync Interrupt
      Router module registers are firewalled from SYSFW 2020.07-rc1 onwards,
      and this pinmux setting results in a data abort and kernel boot failure.
      
      Disable the PPS support and remove this pinmux setting to fix the kernel
      boot. The required interrupt output setup needs to be done by System
      Firmware through TI-SCI protocol.
      
      Signed-off-by: default avatarSuman Anna <s-anna@ti.com>
      Signed-off-by: default avatarVignesh Raghavendra <vigneshr@ti.com>
      682b964e
  4. Jul 21, 2020
  5. Apr 03, 2020
  6. Feb 21, 2020
    • Tomi Valkeinen's avatar
      ARM: dts: k3-j721e-common-proc-board: enable DP0 power · 4ea68b6f
      Tomi Valkeinen authored
      
      DP connector needs to provide 3.3V on the connector's power pin. Devices
      like active adapters need the power to function.
      
      This patch enables the power with a GPIO hog, so it's always enabled as
      the power needs to be enabled for us to even detect that an active
      adapter is connected.
      
      Probably the power should be enabled only if the DP driver is loaded,
      and disabled on remove or suspend, but as it's not clear where the power
      should be handled (it's not really part of the DP IP in any way), we use
      GPIO hog for now.
      
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      Acked-by: default avatarAndrew F. Davis <afd@ti.com>
      Signed-off-by: default avatarJyri Sarha <jsarha@ti.com>
      4ea68b6f
  7. Feb 06, 2020
  8. Feb 04, 2020
  9. Jan 27, 2020
  10. Jan 13, 2020
    • Suman Anna's avatar
      arm64: dts: ti: k3-j721e-common-proc-board: Add mailboxes to C71x DSP · 814a1eb7
      Suman Anna authored
      
      Add the required 'mboxes' property to the C71x DSP processor on 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 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.
      
      Signed-off-by: default avatarSuman Anna <s-anna@ti.com>
      814a1eb7
    • Suman Anna's avatar
      arm64: dts: ti: k3-j721e-common-proc-board: Add mailboxes to C66x DSPs · e8de0836
      Suman Anna authored
      
      Add the required 'mboxes' property to both the C66x DSP processors on 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 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.
      
      Signed-off-by: default avatarSuman Anna <s-anna@ti.com>
      e8de0836
    • Suman Anna's avatar
      arm64: dts: ti: k3-j721e-common-proc-board: Add mailboxes to R5Fs · c18bf959
      Suman Anna authored
      
      Add the required 'mboxes' property to all the R5F processors on 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 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: default avatarSuman Anna <s-anna@ti.com>
      c18bf959
  11. Jan 10, 2020
  12. Dec 18, 2019
    • Peter Ujfalusi's avatar
      arm64: dts: ti: j721e-common-proc-board: Analog audio support · 31f1b483
      Peter Ujfalusi authored
      
      The codec is wired in multi DAI setup (DIN1/2/3/4/DOUT1/2/3 is connected to
      McASP serializer).
      
      For some reason with DIN1/DOUT1 setup we can not get 96KHz audio to work as
      we would need to run REFCLK2 in 256xFS rate, but then in all sampling rates
      the channel 4-7 is going to be muted :o
      
      For other unknown reason 256xFS SCKI does not have this quirk and we can
      use 96KHz as well.
      
      There are couple of notable difference compared to DIN1/DOUT1 mode:
      the channel mapping is 'random' for first look compared to the single
      serializer setup.
      
      Due to the audio setup in hardware with the generic sound card the features
      we can support is limited.
      
      With the custom audio driver it is possible to support both 48KHz and
      44.1Khz sampling rate families by switching between PLL4/15 as needed.
      
      We can also support both 16 and 24 bit audio in this case as with a custom
      driver we can change the slot_width on the bus.
      
      So the channel mapping:
              _      _      _
             |o|c1  |o|p1  |o|p3
       _     | |    | |    | |
      |o|c3  |o|c2  |o|p4  |o|p2
      ------------------------
      
      c1/2/3 - capture jacks (3rd is line)
      p1/2/3/4 - playback jacks (4th is line)
      
      2 channel audio (stereo):
      0 (left):  p1/c1 left
      1 (right): p1/c1 right
      
      4 channel audio:
      0: p1/c1 left
      1: p2/c2 left
      2: p1/c1 right
      3: p2/c2 right
      
      6 channel audio
      0: p1/c1 left
      1: p2/c2 left
      2: p3/c3 left
      3: p1/c1 right
      4: p2/c2 right
      5: p3/c3 right
      
      8 channel audio
      0: p1/c1 left
      1: p2/c2 left
      2: p3/c3 left
      3: p4 left
      4: p1/c1 right
      5: p2/c2 right
      6: p3/c3 right
      7: p4 right
      
      The reason is that we need to put data to all enabled serializers first.
      
      Signed-off-by: default avatarPeter Ujfalusi <peter.ujfalusi@ti.com>
      31f1b483
    • Vignesh Raghavendra's avatar
      arm64: dts: ti: k3-j721e: Add DT nodes for few peripherials · 18fd69d0
      Vignesh Raghavendra authored
      
      Enable I2Cs, ADCs, OSPIs and UFS peripherals present on J721e.
      
      Signed-off-by: default avatarVignesh Raghavendra <vigneshr@ti.com>
      18fd69d0
  13. Dec 02, 2019
    • Suman Anna's avatar
      arm64: dts: ti: k3-j721e-common-proc-board: Add IPC sub-mailbox nodes · 12f69fa0
      Suman Anna authored
      [ Upstream commit eb9f9173 ]
      
      Add the sub-mailbox nodes that are used to communicate between MPU and
      various remote processors present in the J721E SoCs to the J721E common
      processor board. These include the R5F remote processors in the dual-R5F
      cluster (MCU_R5FSS0) in the MCU domain and the two dual-R5F clusters
      (MAIN_R5FSS0 & MAIN_R5FSS1) in the MAIN domain; the two C66x DSP remote
      processors and the single C71x DSP remote processor in the MAIN domain.
      These sub-mailbox nodes utilize the System Mailbox clusters 0 through 4.
      All the remaining mailbox clusters are currently not used on A72 core,
      and so are disabled.
      
      The sub-mailbox nodes added match the hard-coded mailbox configuration
      used within the TI RTOS IPC software packages. The R5F processor
      sub-systems are assumed to be running in Split mode, so a sub-mailbox
      node is used by each of the R5F cores. Only the sub-mailbox node for
      the first R5F core in each cluster is used in case of a Lockstep mode
      for that R5F cluster.
      
      NOTE:
      The GIC_SPI interrupts to be used are dynamically allocated and managed
      by the System Firmware through the ti-sci-intr irqchip driver. So, only
      valid interrupts (each cluster's User 0 IRQ output) that are used by the
      sub-mailbox devices are enabled. This is done to minimize the number of
      NavSS Interrupt Router outputs utilized.
      
      [s-anna@ti.com: cherry-pick commit 'eb9f9173
      
      ' from v5.5]
      Signed-off-by: default avatarSuman Anna <s-anna@ti.com>
      Signed-off-by: default avatarTero Kristo <t-kristo@ti.com>
      12f69fa0
  14. Aug 29, 2019
  15. Jun 19, 2019
    • Nishanth Menon's avatar
      arm64: dts: ti: Add support for J721E Common Processor Board · 803d3a18
      Nishanth Menon authored
      
      Add Support for J721E Common Processor board support.
      The EVM architecture is as follows:
      
      +------------------------------------------------------+
      |   +-------------------------------------------+      |
      |   |                                           |      |
      |   |        Add-on Card 1 Options              |      |
      |   |                                           |      |
      |   +-------------------------------------------+      |
      |                                                      |
      |                                                      |
      |                     +-------------------+            |
      |                     |                   |            |
      |                     |   SOM             |            |
      |  +--------------+   |                   |            |
      |  |              |   |                   |            |
      |  |  Add-on      |   +-------------------+            |
      |  |  Card 2      |                                    |    Power Supply
      |  |  Options     |                                    |    |
      |  |              |                                    |    |
      |  +--------------+                                    | <---
      +------------------------------------------------------+
                                      Common Processor Board
      
      Common Processor board is the baseboard that has most of the actual
      connectors, power supply etc. A SOM (System on Module) is plugged on
      to the common processor board and this contains the SoC, PMIC, DDR and
      basic high speed components necessary for functionality. Add-n card
      options add further functionality (such as additional Audio, Display,
      networking options).
      
      Note:
      A) The minimum configuration required to boot up the board is System On
         Module(SOM) + Common Processor Board.
      B) Since there is just a single SOM and Common Processor Board, we are
         maintaining common processor board as the base dts and SOM as the dtsi
         that we include. In the future as more SOM's appear, we should move
         common processor board as a dtsi and include configurations as dts.
      C) All daughter cards beyond the basic boards shall be maintained as
         overlays.
      
      Signed-off-by: default avatarNishanth Menon <nm@ti.com>
      Signed-off-by: default avatarTero Kristo <t-kristo@ti.com>
      803d3a18