1. 06 Mar, 2020 12 commits
    • Tony Lindgren's avatar
      ARM: OMAP2+: Drop legacy platform data for am3 and am4 edma · b2fbe56c
      Tony Lindgren authored
      We can now probe devices with ti-sysc interconnect driver and dts
      data. Let's drop the related platform data and custom ti,hwmods
      dts property.
      
      As we're just dropping data, and the early platform data init
      is based on the custom ti,hwmods property, we want to drop both
      the platform data and ti,hwmods property in a single patch.
      
      Cc: Peter Ujfalusi <peter.ujfalusi@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      b2fbe56c
    • Tony Lindgren's avatar
      ARM: dts: Configure interconnect target module for dra7 tptc1 · 4286b674
      Tony Lindgren authored
      We can now probe devices with device tree only configuration using
      ti-sysc interconnect target module driver. Let's configure the
      module, but keep the legacy "ti,hwmods" peroperty to avoid new boot
      time warnings. The legacy property will be removed in later patches
      together with the legacy platform data.
      
      Let's also correct the custom node name to use generic node name dma.
      
      Cc: Peter Ujfalusi <peter.ujfalusi@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      4286b674
    • Tony Lindgren's avatar
      ARM: dts: Configure interconnect target module for dra7 tptc0 · 103d2641
      Tony Lindgren authored
      We can now probe devices with device tree only configuration using
      ti-sysc interconnect target module driver. Let's configure the
      module, but keep the legacy "ti,hwmods" peroperty to avoid new boot
      time warnings. The legacy property will be removed in later patches
      together with the legacy platform data.
      
      Let's also correct the custom node name to use generic node name dma.
      
      Cc: Peter Ujfalusi <peter.ujfalusi@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      103d2641
    • Tony Lindgren's avatar
      ARM: dts: Configure interconnect target module for dra7 tpcc · 13149bb8
      Tony Lindgren authored
      We can now probe devices with device tree only configuration using
      ti-sysc interconnect target module driver. Let's configure the
      module, but keep the legacy "ti,hwmods" peroperty to avoid new boot
      time warnings. The legacy property will be removed in later patches
      together with the legacy platform data.
      
      Let's also correct the custom node name to use generic node name dma.
      
      Cc: Peter Ujfalusi <peter.ujfalusi@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      13149bb8
    • Tony Lindgren's avatar
      ARM: dts: Configure interconnect target module for am4 tptc2 · 45701c40
      Tony Lindgren authored
      We can now probe devices with device tree only configuration using
      ti-sysc interconnect target module driver. Let's configure the
      module, but keep the legacy "ti,hwmods" peroperty to avoid new boot
      time warnings. The legacy property will be removed in later patches
      together with the legacy platform data.
      
      Let's also correct the custom node name to use generic node name dma.
      
      Cc: Peter Ujfalusi <peter.ujfalusi@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      45701c40
    • Tony Lindgren's avatar
      ARM: dts: Configure interconnect target module for am4 tptc1 · de01821f
      Tony Lindgren authored
      We can now probe devices with device tree only configuration using
      ti-sysc interconnect target module driver. Let's configure the
      module, but keep the legacy "ti,hwmods" peroperty to avoid new boot
      time warnings. The legacy property will be removed in later patches
      together with the legacy platform data.
      
      Let's also correct the custom node name to use generic node name dma.
      
      Cc: Peter Ujfalusi <peter.ujfalusi@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      de01821f
    • Tony Lindgren's avatar
      ARM: dts: Configure interconnect target module for am4 tptc0 · 0ee89ca3
      Tony Lindgren authored
      We can now probe devices with device tree only configuration using
      ti-sysc interconnect target module driver. Let's configure the
      module, but keep the legacy "ti,hwmods" peroperty to avoid new boot
      time warnings. The legacy property will be removed in later patches
      together with the legacy platform data.
      
      Let's also correct the custom node name to use generic node name dma.
      
      Cc: Peter Ujfalusi <peter.ujfalusi@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      0ee89ca3
    • Tony Lindgren's avatar
      ARM: dts: Configure interconnect target module for am4 tpcc · cabc9d12
      Tony Lindgren authored
      We can now probe devices with device tree only configuration using
      ti-sysc interconnect target module driver. Let's configure the
      module, but keep the legacy "ti,hwmods" peroperty to avoid new boot
      time warnings. The legacy property will be removed in later patches
      together with the legacy platform data.
      
      Let's also correct the custom node name to use generic node name dma.
      
      Cc: Peter Ujfalusi <peter.ujfalusi@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      cabc9d12
    • Tony Lindgren's avatar
      ARM: dts: Configure interconnect target module for am3 tptc2 · 551e01ad
      Tony Lindgren authored
      We can now probe devices with device tree only configuration using
      ti-sysc interconnect target module driver. Let's configure the
      module, but keep the legacy "ti,hwmods" peroperty to avoid new boot
      time warnings. The legacy property will be removed in later patches
      together with the legacy platform data.
      
      Let's also correct the custom node name to use generic node name dma.
      
      Cc: Peter Ujfalusi <peter.ujfalusi@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      551e01ad
    • Tony Lindgren's avatar
      ARM: dts: Configure interconnect target module for am3 tptc1 · 1e666cb3
      Tony Lindgren authored
      We can now probe devices with device tree only configuration using
      ti-sysc interconnect target module driver. Let's configure the
      module, but keep the legacy "ti,hwmods" peroperty to avoid new boot
      time warnings. The legacy property will be removed in later patches
      together with the legacy platform data.
      
      Let's also correct the custom node name to use generic node name dma.
      
      Cc: Peter Ujfalusi <peter.ujfalusi@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      1e666cb3
    • Tony Lindgren's avatar
      ARM: dts: Configure interconnect target module for am3 tptc0 · 9c1562ea
      Tony Lindgren authored
      We can now probe devices with device tree only configuration using
      ti-sysc interconnect target module driver. Let's configure the
      module, but keep the legacy "ti,hwmods" peroperty to avoid new boot
      time warnings. The legacy property will be removed in later patches
      together with the legacy platform data.
      
      Let's also correct the custom node name to use generic node name dma.
      
      Cc: Peter Ujfalusi <peter.ujfalusi@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      9c1562ea
    • Tony Lindgren's avatar
      ARM: dts: Configure interconnect target module for am3 tpcc · ece27503
      Tony Lindgren authored
      We can now probe devices with device tree only configuration using
      ti-sysc interconnect target module driver. Let's configure the
      module, but keep the legacy "ti,hwmods" peroperty to avoid new boot
      time warnings. The legacy property will be removed in later patches
      together with the legacy platform data.
      
      Let's also correct the custom node name to use generic node name dma.
      
      Cc: Peter Ujfalusi <peter.ujfalusi@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      ece27503
  2. 04 Mar, 2020 28 commits
    • Suman Anna's avatar
      ARM: dts: dra7: Add PRU-ICSS interconnect target-module nodes · ecdeca6d
      Suman Anna authored
      The AM57xx family of SoCs contains two identical PRU-ICSS instances
      that have a very unique SYSC register. The IPs do not have any
      PRCM reset lines unlike those on AM33xx/AM437x SoCs. Add the PRUSS
      interconnect target-module nodes with all the required properties.
      
      Each of the PRUSS devices themselves shall be added as child nodes
      to the corresponding interconnect node in the future. The PRU-ICSS
      instances are only available on AM57xx family of SoCs and are not
      supported on DRA7xx family of SoCs in general, so the target module
      nodes are added in a separate dtsi file. This new dtsi file is
      included in all the AM57xx SoC dtsi files, so the nodes are
      automatically inherited and enabled on all AM57xx boards.
      Signed-off-by: default avatarSuman Anna <s-anna@ti.com>
      Signed-off-by: default avatarRoger Quadros <rogerq@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      ecdeca6d
    • Suman Anna's avatar
      ARM: dts: AM4372: Add the PRU-ICSS interconnect target-module node · 44e66a5d
      Suman Anna authored
      The AM437x family of SoCs contains two dissimilar PRU-ICSS instances,
      but leverage a common reset line and SYSCFG from the larger PRU-ICSS1
      instance. This SYSC register has also very unique bit-fields. Both
      the IPs require the PRCM reset to be deasserted to be able to access
      any registers. Add a common PRUSS interconnect target-module with all
      the required properties.
      
      The PRUSS devices themselves shall be added as child nodes to this
      interconnect node in the future. The PRU-ICSS instances are not
      supported on AM4372 SoC though in the AM437x family, so the target
      module node should be disabled in any derivative board files that
      use this SoC.
      Signed-off-by: default avatarSuman Anna <s-anna@ti.com>
      Reviewed-by: default avatarRoger Quadros <rogerq@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      44e66a5d
    • Suman Anna's avatar
      ARM: dts: AM33xx-l4: Update PRUSS interconnect target-module node · ce5ca149
      Suman Anna authored
      The PRU-ICSS present on some AM33xx SoCs has a very unique SYSC
      register. The IP also uses a hard-reset line, and requires this
      PRCM reset to be deasserted to be able to access any registers.
      Update the existing PRUSS interconnect target-module with all
      the required properties.
      
      The PRUSS device itself shall be added as a child node to this
      interconnect node in the future. PRU-ICSS is not supported on
      AM3351/AM3352/AM3354 SoCs though in the AM33xx family, so the
      target module node should be disabled in derivative board files
      that use any of these SoCs.
      Signed-off-by: default avatarSuman Anna <s-anna@ti.com>
      Reviewed-by: default avatarRoger Quadros <rogerq@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      ce5ca149
    • Tony Lindgren's avatar
    • Tony Lindgren's avatar
      ARM: OMAP2+: Drop legacy platform data for am437x DSS · c760f610
      Tony Lindgren authored
      We can now probe devices with ti-sysc interconnect driver and dts
      data. Let's drop the related platform data and custom ti,hwmods
      dts property.
      
      As we're just dropping data, and the early platform data init
      is based on the custom ti,hwmods property, we want to drop both
      the platform data and ti,hwmods property in a single patch.
      
      Cc: Jyri Sarha <jsarha@ti.com>
      Cc: Keerthy <j-keerthy@ti.com>
      Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
      Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      c760f610
    • Tony Lindgren's avatar
      ARM: OMAP2+: Drop legacy platform data for dra7 DSS · 6fa1a986
      Tony Lindgren authored
      We can now probe devices with ti-sysc interconnect driver and dts
      data. Let's drop the related platform data and custom ti,hwmods
      dts property.
      
      As we're just dropping data, and the early platform data init
      is based on the custom ti,hwmods property, we want to drop both
      the platform data and ti,hwmods property in a single patch.
      
      Cc: Jyri Sarha <jsarha@ti.com>
      Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
      Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      6fa1a986
    • Tony Lindgren's avatar
      ARM: OMAP2+: Drop legacy platform data for omap5 DSS · 19da9c0e
      Tony Lindgren authored
      We can now probe devices with ti-sysc interconnect driver and dts
      data. Let's drop the related platform data and custom ti,hwmods
      dts property.
      
      As we're just dropping data, and the early platform data init
      is based on the custom ti,hwmods property, we want to drop both
      the platform data and ti,hwmods property in a single patch.
      
      Cc: Jyri Sarha <jsarha@ti.com>
      Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
      Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      19da9c0e
    • Tony Lindgren's avatar
      ARM: OMAP2+: Drop legacy platform data for omap4 dss · a2ebc75f
      Tony Lindgren authored
      We can now probe devices with ti-sysc interconnect driver and dts
      data. Let's drop the related platform data and custom ti,hwmods
      dts property.
      
      As we're just dropping data, and the early platform data init
      is based on the custom ti,hwmods property, we want to drop both
      the platform data and ti,hwmods property in a single patch.
      
      Cc: Jyri Sarha <jsarha@ti.com>
      Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
      Cc: Sebastian Reichel <sre@kernel.org>
      Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      a2ebc75f
    • Tony Lindgren's avatar
      ARM: dts: Configure interconnect target module for am437x rfbi · 11ef2bfc
      Tony Lindgren authored
      We can now probe devices with device tree only configuration using
      ti-sysc interconnect target module driver. Let's configure the
      module and drop "ti,hwmods" peroperty as this module is a child node
      of dispc and has no dependencies to to legacy platform data.
      
      Cc: Jyri Sarha <jsarha@ti.com>
      Cc: Keerthy <j-keerthy@ti.com>
      Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
      Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      11ef2bfc
    • Tony Lindgren's avatar
      ARM: dts: Configure interconnect target module for am437x dispc · 9fd8a854
      Tony Lindgren authored
      We can now probe devices with device tree only configuration using
      ti-sysc interconnect target module driver. Let's configure the
      module, but keep the legacy "ti,hwmods" peroperty until the child
      devices are probing with ti-sysc interconnect driver.
      
      Note that we also fix a harmless typo for the node name, it's
      dispc@400, not dispc@4000.
      
      Cc: Jyri Sarha <jsarha@ti.com>
      Cc: Keerthy <j-keerthy@ti.com>
      Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
      Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      9fd8a854
    • Tony Lindgren's avatar
      ARM: dts: Move am437x dss to the interconnect target module in l4 · 3b6ff6bb
      Tony Lindgren authored
      On am437x, the display subsystem (DSS) is on l4. We already have
      the interconnect target module for it, so let's just move dss
      there.
      
      To do that, we need to adjust the module addresses for the ranges,
      and use the ranges already added earlier based on reading the l4
      interconnect instance AP registers.
      
      Cc: Jyri Sarha <jsarha@ti.com>
      Cc: Keerthy <j-keerthy@ti.com>
      Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
      Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      3b6ff6bb
    • Tony Lindgren's avatar
      ARM: dts: Configure interconnect target module for dra7 hdmi · c4f4728b
      Tony Lindgren authored
      We can now probe devices with device tree only configuration using
      ti-sysc interconnect target module driver. Let's configure the
      module and drop "ti,hwmods" peroperty as this module is a child node
      of dispc and has no dependencies to to legacy platform data.
      
      Cc: Jyri Sarha <jsarha@ti.com>
      Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
      Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      c4f4728b
    • Tony Lindgren's avatar
      ARM: dts: Configure interconnect target module for dra7 dispc · 9a95196c
      Tony Lindgren authored
      We can now probe devices with device tree only configuration using
      ti-sysc interconnect target module driver. Let's configure the
      module, but keep the legacy "ti,hwmods" peroperty until the child
      devices are probing with ti-sysc interconnect driver.
      
      Cc: Jyri Sarha <jsarha@ti.com>
      Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
      Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      9a95196c
    • Tony Lindgren's avatar
      ARM: dts: Configure interconnect target module for dra7 dss · a50371f2
      Tony Lindgren authored
      We can now probe devices with device tree only configuration using
      ti-sysc interconnect target module driver. Let's configure the
      module, but keep the legacy "ti,hwmods" peroperty until the child
      devices are probing with ti-sysc interconnect driver.
      
      Initially let's just update the top level dss node to probe with ti-sysc
      interconnect target module driver. The child nodes are still children
      of dispc, only the node indentation changes for them now along with
      using the reg range provided by top level dss.
      
      Cc: Jyri Sarha <jsarha@ti.com>
      Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
      Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      a50371f2
    • Tony Lindgren's avatar
      ARM: dts: Configure interconnect target module for omap5 hdmi · 671ab615
      Tony Lindgren authored
      We can now probe devices with device tree only configuration using
      ti-sysc interconnect target module driver. Let's configure the
      module and drop "ti,hwmods" peroperty as this module is a child node
      of dispc and has no dependencies to to legacy platform data.
      
      Cc: Jyri Sarha <jsarha@ti.com>
      Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
      Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      671ab615
    • Tony Lindgren's avatar
      ARM: dts: Configure interconnect target module for omap5 dsi2 · 98e1a6a8
      Tony Lindgren authored
      We can now probe devices with device tree only configuration using
      ti-sysc interconnect target module driver. Let's configure the
      module and drop "ti,hwmods" peroperty as this module is a child node
      of dispc and has no dependencies to to legacy platform data.
      
      Cc: Jyri Sarha <jsarha@ti.com>
      Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
      Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      98e1a6a8
    • Tony Lindgren's avatar
      ARM: dts: Configure interconnect target module for omap5 dsi1 · 5a507162
      Tony Lindgren authored
      We can now probe devices with device tree only configuration using
      ti-sysc interconnect target module driver. Let's configure the
      module and drop "ti,hwmods" peroperty as this module is a child node
      of dispc and has no dependencies to to legacy platform data.
      
      Cc: Jyri Sarha <jsarha@ti.com>
      Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
      Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      5a507162
    • Tony Lindgren's avatar
      ARM: dts: Configure interconnect target module for omap5 rfbi · b9a4e149
      Tony Lindgren authored
      We can now probe devices with device tree only configuration using
      ti-sysc interconnect target module driver. Let's configure the
      module and drop "ti,hwmods" peroperty as this module is a child node
      of dispc and has no dependencies to to legacy platform data.
      
      Cc: Jyri Sarha <jsarha@ti.com>
      Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
      Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      b9a4e149
    • Tony Lindgren's avatar
      ARM: dts: Configure interconnect target module for omap5 dispc · 2472a4e0
      Tony Lindgren authored
      We can now probe devices with device tree only configuration using
      ti-sysc interconnect target module driver. Let's configure the
      module, but keep the legacy "ti,hwmods" peroperty until the child
      devices are probing with ti-sysc interconnect driver.
      
      Cc: Jyri Sarha <jsarha@ti.com>
      Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
      Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      2472a4e0
    • Tony Lindgren's avatar
      ARM: dts: Configure interconnect target module for omap5 dss · 715a5a97
      Tony Lindgren authored
      We can now probe devices with device tree only configuration using
      ti-sysc interconnect target module driver. Let's configure the
      module, but keep the legacy "ti,hwmods" peroperty until the child
      devices are probing with ti-sysc interconnect driver.
      
      Initially let's just update the top level dss node to probe with ti-sysc
      interconnect target module driver. The child nodes are still children
      of dispc, only the node indentation changes for them now along with
      using the reg range provided by top level dss.
      
      Cc: Jyri Sarha <jsarha@ti.com>
      Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
      Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      715a5a97
    • Tony Lindgren's avatar
      ARM: dts: Configure interconnect target module for omap4 hdmi · 8f661563
      Tony Lindgren authored
      We can now probe devices with device tree only configuration using
      ti-sysc interconnect target module driver. Let's configure the
      module and drop "ti,hwmods" peroperty as this module is a child node
      of dispc and has no dependencies to to legacy platform data.
      
      Note that we must disable smart idle modes for HDMI audio like we've
      done with the legacy platform data. And HDMI needs both hdmi clock
      and dss clock to operate.
      
      Cc: Jyri Sarha <jsarha@ti.com>
      Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
      Cc: Sebastian Reichel <sre@kernel.org>
      Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      8f661563
    • Tony Lindgren's avatar
      ARM: dts: Configure interconnect target module for omap4 dsi2 · dc7578e9
      Tony Lindgren authored
      We can now probe devices with device tree only configuration using
      ti-sysc interconnect target module driver. Let's configure the
      module and drop "ti,hwmods" peroperty as this module is a child node
      of dispc and has no dependencies to to legacy platform data.
      
      Cc: Jyri Sarha <jsarha@ti.com>
      Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
      Cc: Sebastian Reichel <sre@kernel.org>
      Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      dc7578e9
    • Tony Lindgren's avatar
      ARM: dts: Configure interconnect target module for omap4 dsi1 · 0b98d518
      Tony Lindgren authored
      We can now probe devices with device tree only configuration using
      ti-sysc interconnect target module driver. Let's configure the
      module and drop "ti,hwmods" peroperty as this module is a child node
      of dispc and has no dependencies to to legacy platform data.
      
      Cc: Jyri Sarha <jsarha@ti.com>
      Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
      Cc: Sebastian Reichel <sre@kernel.org>
      Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      0b98d518
    • Tony Lindgren's avatar
      ARM: dts: Configure interconnect target module for omap4 venc · 663de788
      Tony Lindgren authored
      We can now probe devices with device tree only configuration using
      ti-sysc interconnect target module driver. Let's configure the
      module and drop "ti,hwmods" peroperty as this module is a child node
      of dispc and has no dependencies to to legacy platform data.
      
      We must now also configure sys_clk for reset to complete, the top
      level module only keeps optional clocks enabled for it's own reset.
      
      Cc: Jyri Sarha <jsarha@ti.com>
      Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
      Cc: Sebastian Reichel <sre@kernel.org>
      Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      663de788
    • Tony Lindgren's avatar
      ARM: dts: Configure interconnect target module for omap4 rfbi · 3a97c4b9
      Tony Lindgren authored
      We can now probe devices with device tree only configuration using
      ti-sysc interconnect target module driver. Let's configure the
      module and drop "ti,hwmods" peroperty as this module is a child node
      of dispc and has no dependencies to to legacy platform data.
      
      We must now also configure sys_clk for reset to complete, the top
      level module only keeps optional clocks enabled for it's own reset.
      
      Cc: Jyri Sarha <jsarha@ti.com>
      Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
      Cc: Sebastian Reichel <sre@kernel.org>
      Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      3a97c4b9
    • Tony Lindgren's avatar
      ARM: dts: Configure interconnect target module for omap4 dispc · 4c8d1c8d
      Tony Lindgren authored
      We can now probe devices with device tree only configuration using
      ti-sysc interconnect target module driver. Let's configure the
      module, but keep the legacy "ti,hwmods" peroperty until the child
      devices are probing with ti-sysc interconnect driver.
      
      We must now also configure sys_clk for reset to complete, the top
      level module only keeps optional clocks enabled for it's own reset.
      
      Cc: Jyri Sarha <jsarha@ti.com>
      Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
      Cc: Sebastian Reichel <sre@kernel.org>
      Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      4c8d1c8d
    • Tony Lindgren's avatar
      ARM: dts: Configure interconnect target module for omap4 dss · 63b34416
      Tony Lindgren authored
      We can now probe devices with device tree only configuration using
      ti-sysc interconnect target module driver. Let's configure the
      module, but keep the legacy "ti,hwmods" peroperty until the child
      devices are probing with ti-sysc interconnect driver.
      
      The display subsystem (DSS) is in a 16MB interconnect target module
      mapped to l4 and l3 buses. We are only using the l3 port as recommended
      by the TRM. So there is no need to configure l4 ranges like we've done
      for l4 ABE instance for example.
      
      Initially let's just update the top level dss node to probe with ti-sysc
      interconnect target module driver. The child nodes are still children
      of dispc, only the node indentation changes for them now along with
      using the reg range provided by top level dss.
      
      Let's also add add a note about using only the l3 access without l4
      as noted in the TRM.
      
      Cc: Jyri Sarha <jsarha@ti.com>
      Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
      Cc: Sebastian Reichel <sre@kernel.org>
      Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      63b34416
    • Suman Anna's avatar
      bus: ti-sysc: Add support for PRUSS SYSC type · b2745d92
      Suman Anna authored
      The PRU-ICSS present on AM33xx/AM43xx/AM57xx has a very unique
      SYSCFG register. The register follows the OMAP4-style SYSC_TYPE3
      for Master Standby and Slave Idle, but also has two additional
      unique fields - STANDBY_INIT and SUB_MWAIT. The STANDBY_INIT is
      a control bit that is used to initiate a Standby sequence (when
      set) and trigger a MStandby request to the SoC's PRCM module. This
      same bit is also used to enable the OCP master ports (when cleared)
      to allow the PRU cores to access any peripherals or memory beyond
      the PRU subsystem. The SUB_MWAIT is a ready status field for the
      external access.
      
      Add support for this SYSC type. The STANDBY_INIT has to be set
      during suspend, without which it results in a hang in the resume
      sequence on AM33xx/AM43xx boards and requires a board reset to
      come out of the hang. Any PRU applications requiring external
      access are supposed to clear the STANDBY_INIT bit. Note that
      the PRUSS context is lost during a suspend sequence because the
      PRUSS module is reset and/or disabled.
      Signed-off-by: default avatarSuman Anna <s-anna@ti.com>
      Signed-off-by: default avatarRoger Quadros <rogerq@ti.com>
      [tony@atomide.com: updated quirk define number and to use -ENODEV]
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      b2745d92