09 Jan, 2016

1 commit


24 Dec, 2015

2 commits

  • TI-Feature: ti_linux_base_lsk
    TI-Tree: git@git.ti.com:ti-linux-kernel/ti-linux-kernel.git
    TI-Branch: ti-linux-4.1.y

    * 'ti-linux-4.1.y' of git.ti.com:ti-linux-kernel/ti-linux-kernel:
    net: netcp: remove obsolete driver code
    phy: keystone: update header of the file
    phy: keystone: remove comments per vendor recommendation
    ARM: dts: keystone: enable gbe serdes support
    phy: keystone: change function names per vendor recommendation
    phy: keystone: rename data structures based on vendor recommendation
    phy: keystone: reduce one level of nesting in the function call
    phy: keystone: remove hyperlink support
    phy: keystone: update comments per IP vendor recommendation

    Signed-off-by: LCPD Auto Merger

    LCPD Auto Merger
     
  • …gration-tree/connectivity-ti-linux-kernel into ti-linux-4.1.y

    TI-Feature: connectivity
    TI-Tree: git://git.ti.com/connectivity-integration-tree/connectivity-ti-linux-kernel.git
    TI-Branch: connectivity-ti-linux-4.1.y

    * 'connectivity-ti-linux-4.1.y' of git://git.ti.com/connectivity-integration-tree/connectivity-ti-linux-kernel:
    net: netcp: remove obsolete driver code
    phy: keystone: update header of the file
    phy: keystone: remove comments per vendor recommendation
    ARM: dts: keystone: enable gbe serdes support
    phy: keystone: change function names per vendor recommendation
    phy: keystone: rename data structures based on vendor recommendation
    phy: keystone: reduce one level of nesting in the function call
    phy: keystone: remove hyperlink support
    phy: keystone: update comments per IP vendor recommendation

    Signed-off-by: Dan Murphy <DMurphy@ti.com>

    Dan Murphy
     

23 Dec, 2015

3 commits


10 Dec, 2015

6 commits


05 Dec, 2015

17 commits

  • TI-Feature: ti_linux_base_lsk
    TI-Tree: git@git.ti.com:ti-linux-kernel/ti-linux-kernel.git
    TI-Branch: ti-linux-4.1.y

    * 'ti-linux-4.1.y' of git.ti.com:ti-linux-kernel/ti-linux-kernel:
    remoteproc/keystone: ensure the DSPs are in reset in probe
    TEMP: ARM: dts: k2g-evm: Reserve some DDR for MPM usecases
    ARM: dts: k2g-evm: Add a common DSP shared memory CMA pool
    TEMP: ARM: dts: k2g-evm: Add dspmem node
    ARM: dts: k2g: Add DSP node
    remoteproc/keystone: add support for Keystone 2 Galileo SOCs
    remoteproc/keystone: drop ti,syscon-psc fallback support
    ARM: dts: k2e: Replace 'ti,syscon-psc' property in DSP node
    ARM: dts: k2l: Replace 'ti,syscon-psc' property in DSP nodes
    ARM: dts: k2hk: Replace 'ti,syscon-psc' property in DSP nodes
    remoteproc/keystone: add support for using reset framework

    Signed-off-by: LCPD Auto Merger

    LCPD Auto Merger
     
  • TI-Feature: rpmsg
    TI-Tree: git://git.ti.com/rpmsg/rpmsg.git
    TI-Branch: rpmsg-ti-linux-4.1.y

    * 'rpmsg-ti-linux-4.1.y' of git://git.ti.com/rpmsg/rpmsg:
    remoteproc/keystone: ensure the DSPs are in reset in probe
    TEMP: ARM: dts: k2g-evm: Reserve some DDR for MPM usecases
    ARM: dts: k2g-evm: Add a common DSP shared memory CMA pool
    TEMP: ARM: dts: k2g-evm: Add dspmem node
    ARM: dts: k2g: Add DSP node
    remoteproc/keystone: add support for Keystone 2 Galileo SOCs
    remoteproc/keystone: drop ti,syscon-psc fallback support
    ARM: dts: k2e: Replace 'ti,syscon-psc' property in DSP node
    ARM: dts: k2l: Replace 'ti,syscon-psc' property in DSP nodes
    ARM: dts: k2hk: Replace 'ti,syscon-psc' property in DSP nodes
    remoteproc/keystone: add support for using reset framework

    Signed-off-by: Dan Murphy

    Conflicts:
    arch/arm/boot/dts/k2g-evm.dts
    arch/arm/boot/dts/k2g.dtsi

    Dan Murphy
     
  • Pull in the updated remoteproc feature branch that adds the support
    to load the DSP core on Keystone 2 Galileo SoC to the keystone
    remoteproc driver. The driver already had support for the Keystone 2
    Hawking/Kepler, Lamarr and Edison SoCs, and it has now been updated
    to use the reset framework for reset control and management. The
    K2G support is on par with the other SoCs in terms of functionality.

    The merge also syncs up the RPMsg integration branch with the latest
    platform base code.

    * 'rproc-linux-4.1.y' of git://git.ti.com/rpmsg/remoteproc: (64 commits)
    remoteproc/keystone: ensure the DSPs are in reset in probe
    TEMP: ARM: dts: k2g-evm: Reserve some DDR for MPM usecases
    ARM: dts: k2g-evm: Add a common DSP shared memory CMA pool
    TEMP: ARM: dts: k2g-evm: Add dspmem node
    ARM: dts: k2g: Add DSP node
    remoteproc/keystone: add support for Keystone 2 Galileo SOCs
    remoteproc/keystone: drop ti,syscon-psc fallback support
    ARM: dts: k2e: Replace 'ti,syscon-psc' property in DSP node
    ARM: dts: k2l: Replace 'ti,syscon-psc' property in DSP nodes
    ARM: dts: k2hk: Replace 'ti,syscon-psc' property in DSP nodes
    remoteproc/keystone: add support for using reset framework
    ARM: dts: k2g: Add DSP GPIO controller node
    ARM: dts: k2g: Add keystone IRQ controller node
    ARM: dts: k2g: Add device state controller node
    ti_config_fragments/baseport: Enable TI SCI reset driver
    ARM: dts: k2g: Add TI SCI reset-controller node
    reset: Add the TI SCI reset driver
    Documentation: dt: reset: Add TI SCI reset binding
    dt-bindings: reset: Add k2g reset definitions
    ti_config_fragments/baseport: enable reset-syscon driver
    ...

    Signed-off-by: Suman Anna

    Suman Anna
     
  • The DSPs are expected to be in reset when the driver probes a device.
    If the DSPs are out of reset in probe, the system may crash when the
    firmware is being loaded. So, add a check to make sure the DSP resets
    are asserted, and if not, throw a eye-catchy warning and assert the
    resets specifically.

    Signed-off-by: Andrew F. Davis
    [s-anna@ti.com: replace warning with a WARN]
    Signed-off-by: Suman Anna

    Andrew F. Davis
     
  • Add a reserved memory node to carveout a portion of the external
    DDR memory, and add this address region to the dspmem node on the
    K2 Galileo EVM board. This is done to enable the Keystone
    Multi Proc Manager (MPM) to load images that use this memory
    region. The memory is chosen to be adjacent to the DSP CMA memory
    pool so that the DSP Memory Protection and Address Extension
    (MPAX) module can be configured efficiently. The memory will
    not be mapped into the kernel space.

    Signed-off-by: Suman Anna

    Suman Anna
     
  • A common CMA memory pool reserved memory node is added, and
    is attached to all the DSP nodes through the 'memory-region'
    property on the K2 Galileo EVM board. This area will be used
    for allocating virtio rings and buffers. The common node allows
    the DSP Memory Protection and Address Extension (MPAX) module
    to be configured properly for the DSP processor.

    Signed-off-by: Andrew F. Davis
    [s-anna@ti.com: correct CMA pool addresses]
    Signed-off-by: Suman Anna

    Andrew F. Davis
     
  • Add a dspmem node on the K2 Galileo EVM board. The node
    allows the entire MSM RAM (1 MB) to be mapped to userspace
    to enable the Keystone Multi Proc Manager (MPM) based
    usecases.

    Signed-off-by: Suman Anna

    Suman Anna
     
  • The Keystone 2 Galileo SoC has a single TMS320C66x DSP
    Core Subsystem (C66x CorePac), containing a C66x Fixed /
    Floating-Point DSP Core, and 32KB of L1P & L1D SRAMs and a
    1MB L2 SRAM. Add the DT node and the rproc alias for this DSP
    processor sub-system.

    The DT node has a new property 'power-domains', and uses
    slightly different property values for 'clocks' and 'resets'
    compared to other Keystone 2 SoCs. The processor does not have
    a MMU, and uses various IPC Generation registers and shared
    memory for inter-processor communication.

    NOTE:
    The node name uses a DSP number suffix and does not include the
    address for now. This is required to match the DT name used by
    the userland MPM stack for working properly.

    Signed-off-by: Andrew F. Davis
    Signed-off-by: Suman Anna

    Andrew F. Davis
     
  • Add support to the keystone remoteproc driver for managing the
    DSP present in the Keystone 2 Galileo (K2G) SoC. The K2G SoC has
    a Power Management Micro Controller (PMMC) that manages the
    individual device's power, clock and reset functionalities.

    The keystone remoteproc driver already uses standard frameworks
    for reset and clock control, so it doesn't require any significant
    modifications other than a new compatible suitable for K2G DSP.

    The binding document is also updated to reflect the modified
    property values used by the K2G DSP node as compared to the
    values used by existing Keystone 2 DSPs.

    NOTE:
    The enhancement to use common pm_runtime framework for all Keystone
    2 SoCs is left for a future time. The redundata clock API usage for
    K2G does not impact any functionality, but is still required for
    other K2 SoCs.

    Signed-off-by: Suman Anna
    Signed-off-by: Andrew F. Davis

    Suman Anna
     
  • The Keystone remoteproc driver has already been enhanced to
    support using the reset framework API for managing the DSP
    device resets. All the existing DSP DT nodes have also been
    switched to use the 'resets' property instead of the deprecated
    'ti,syscon-psc' property.

    All the Keystone 2 family of SoCs are expected to be using reset
    drivers going forward, so drop the support for the direct syscon
    PSC based reset handling from the driver completely. The DT
    binding has also been updated accordingly.

    While at this, also add a build dependency for the driver
    against the RESET_CONTROLLER Kconfig, and switch to using the
    devm_reset_control_get() API instead of the optional variant.

    Signed-off-by: Andrew F. Davis
    [s-anna@ti.com: mandatory reset dependencies, binding updates]
    Signed-off-by: Suman Anna

    Andrew F. Davis
     
  • Replace the custom 'ti,syscon-psc' property used for representing
    device resets with a DT standard 'resets' property in the DSP node
    present within the Keystone 2 Edison SoC. The 'ti,syscon-psc'
    property is deprecated, and will not be supported anymore.

    Signed-off-by: Andrew F. Davis
    [s-anna@ti.com: update commit description]
    Signed-off-by: Suman Anna

    Andrew F. Davis
     
  • Replace the custom 'ti,syscon-psc' property used for representing
    device resets with a DT standard 'resets' property in the DSP nodes
    present within the Keystone 2 Lamarr SoC. The 'ti,syscon-psc'
    property is deprecated, and will not be supported anymore.

    Signed-off-by: Andrew F. Davis
    [s-anna@ti.com: update commit description]
    Signed-off-by: Suman Anna

    Andrew F. Davis
     
  • Replace the custom 'ti,syscon-psc' property used for representing
    device resets with a DT standard 'resets' property in the DSP nodes
    present within the Keystone 2 Hawking/Kepler SoCs. The 'ti,syscon-psc'
    property is deprecated, and will not be supported anymore.

    Signed-off-by: Andrew F. Davis
    [s-anna@ti.com: update commit description]
    Signed-off-by: Suman Anna

    Andrew F. Davis
     
  • The Keystone family of SoCs has the reset registers as part of the
    Power and Sleep Controller (PSC) module. The keystone remoteproc
    driver currently manages these DSP resets by itself through the
    regmap/syscon API.

    Enhance the keystone remoteproc driver to start using the reset
    framework API for managing resets. This is being done to streamline
    the driver usage for supporting the DSP on Keystone 2 Galileo (K2G)
    SoC. This also switches the driver to use a more standard framework
    for resets.

    The support is added as an incremental change, so the regmap/syscon
    framework is used as a fallback to support the transition of the
    Keystone 2 DSP DTS nodes from using 'ti,psc-syscon' to the 'resets'
    property.

    Signed-off-by: Andrew F. Davis
    [s-anna@ti.com: add error checking, checkpatch fixes, binding updates]
    Signed-off-by: Suman Anna

    Andrew F. Davis
     
  • TI-Feature: ti_linux_base_lsk
    TI-Tree: git@git.ti.com:ti-linux-kernel/ti-linux-kernel.git
    TI-Branch: ti-linux-4.1.y

    * 'ti-linux-4.1.y' of git.ti.com:ti-linux-kernel/ti-linux-kernel:
    ti_config_fragments: introduce wlan.cfg
    ARM: dts: k2g: Add DSP GPIO controller node
    ARM: dts: k2g: Add keystone IRQ controller node
    ARM: dts: k2g: Add device state controller node
    ti_config_fragments/baseport: Enable TI SCI reset driver
    ARM: dts: k2g: Add TI SCI reset-controller node
    reset: Add the TI SCI reset driver
    Documentation: dt: reset: Add TI SCI reset binding
    dt-bindings: reset: Add k2g reset definitions
    ti_config_fragments/baseport: enable reset-syscon driver
    ARM: Keystone: Enable ARCH_HAS_RESET_CONTROLLER
    ARM: dts: keystone: Add PSC reset node
    reset: add a SYSCON based reset driver
    Documentation: dt: reset: Add syscon reset binding
    Revert "drm/i2c: tda998x: Fix bad checksum of the HDMI AVI infoframe"

    Signed-off-by: LCPD Auto Merger

    LCPD Auto Merger
     
  • …nel/platform-linux-feature-tree into rproc-linux-4.1.y

    Resync with the latest platform base code. The merge pulls in various
    required patches, fixes and new features including the following:
    - A new SYSCON reset driver that will be used by Keystone 2
    remoteproc driver for K2HK/L/E SoCs
    - Device nodes for Device State Controller, IRQ Controller for
    receiving interrupts from remoteprocs, and a DSP GPIO Controller
    for sending interrupts to DSPs on Keystone 2 Galileo SoC
    - Fixes in the TI SCI protocol to work with latest updates on the
    PMMC firmware for isolating reset control from clock control ops
    for K2G reset driver functionality
    - A new TI SCI reset driver that will be used by Keystone 2
    remoteproc driver for K2G SoC

    Other updates include
    - Clock updates to various Keystone 2 Galileo DTS nodes
    - LDO/SMPS fixes on AM57xx IDK boards
    - Various config fragments improvements to enable reset
    framework and drivers

    * 'platform-ti-linux-4.1.y' of git://git.ti.com/~rrnayak/ti-linux-kernel/platform-linux-feature-tree: (53 commits)
    ARM: dts: k2g: Add DSP GPIO controller node
    ARM: dts: k2g: Add keystone IRQ controller node
    ARM: dts: k2g: Add device state controller node
    ti_config_fragments/baseport: Enable TI SCI reset driver
    ARM: dts: k2g: Add TI SCI reset-controller node
    reset: Add the TI SCI reset driver
    Documentation: dt: reset: Add TI SCI reset binding
    dt-bindings: reset: Add k2g reset definitions
    ti_config_fragments/baseport: enable reset-syscon driver
    ARM: Keystone: Enable ARCH_HAS_RESET_CONTROLLER
    ARM: dts: keystone: Add PSC reset node
    reset: add a SYSCON based reset driver
    Documentation: dt: reset: Add syscon reset binding
    ARM: OMAP2+: omap_hwmod: Always restore saved hardreset context
    hwmon: (tmp102) Force wait for conversion time for the first valid data
    ti_config_fragments/baseport: Build thermal into kernel
    firmware: ti_sci: Add device_resets calls to the device ops
    firmware: ti_sci: Drop resets field from ti_sci_set_device_state calls
    ARM: dts: k2g: Fix Message Manager interrupt polarity
    baseport.cfg: Enable SYSTEM V IPC
    ...

    Signed-off-by: Suman Anna <s-anna@ti.com>

    Suman Anna
     
  • …nel/platform-linux-feature-tree into ti-linux-4.1.y

    TI-Feature: platform_base
    TI-Tree: git://git.ti.com/~rrnayak/ti-linux-kernel/platform-linux-feature-tree.git
    TI-Branch: platform-ti-linux-4.1.y

    * 'platform-ti-linux-4.1.y' of git://git.ti.com/~rrnayak/ti-linux-kernel/platform-linux-feature-tree:
    ARM: dts: k2g: Add DSP GPIO controller node
    ARM: dts: k2g: Add keystone IRQ controller node
    ARM: dts: k2g: Add device state controller node
    ti_config_fragments/baseport: Enable TI SCI reset driver
    ARM: dts: k2g: Add TI SCI reset-controller node
    reset: Add the TI SCI reset driver
    Documentation: dt: reset: Add TI SCI reset binding
    dt-bindings: reset: Add k2g reset definitions
    ti_config_fragments/baseport: enable reset-syscon driver
    ARM: Keystone: Enable ARCH_HAS_RESET_CONTROLLER
    ARM: dts: keystone: Add PSC reset node
    reset: add a SYSCON based reset driver
    Documentation: dt: reset: Add syscon reset binding

    Signed-off-by: Dan Murphy <DMurphy@ti.com>

    Conflicts:
    arch/arm/boot/dts/k2g.dtsi

    Dan Murphy
     

04 Dec, 2015

11 commits

  • …el/audio-display-linux-feature-tree into ti-linux-4.1.y

    TI-Feature: audio-display
    TI-Tree: git@git.ti.com:~darrene/ti-linux-kernel/audio-display-linux-feature-tree.git
    TI-Branch: audio-display-ti-linux-4.1.y

    * 'audio-display-ti-linux-4.1.y' of git.ti.com:~darrene/ti-linux-kernel/audio-display-linux-feature-tree:
    Revert "drm/i2c: tda998x: Fix bad checksum of the HDMI AVI infoframe"

    Signed-off-by: Dan Murphy <DMurphy@ti.com>

    Dan Murphy
     
  • Introduce wlan.cfg to enable Bluetooth and WLAN
    related configs.

    Enable TI shared transport driver and Wilink driver
    for Bluetooth support.

    Also add wlan.cfg to [system_test_]defconfig_fragment
    as Bluetooth/Wilink is supported on most platforms
    covered by that fragment.

    Signed-off-by: Sekhar Nori

    Sekhar Nori
     
  • Add the DSP GPIO controller node on Keystone 2 Galileo SoC.
    This is used to send interrupts to the only DSP processor
    subsystem present on the SoC. The IP is identical to that
    of the equivalent nodes on existing K2 SoCs.

    Signed-off-by: Andrew F. Davis
    [s-anna@ti.com: revise commit description slightly]
    Signed-off-by: Suman Anna

    Andrew F. Davis
     
  • Add the Keystone IRQ controller IP node on Keystone 2 Galileo
    SoC. This allows the ARM CorePac core to receive interrupts
    from remote processor devices (eg: DSP) on the SoC.

    The IP is identical in functionality to that of the equivalent
    nodes on existing K2 SoCs. The only difference is the ARM INTC
    interrupt id/event number.

    Signed-off-by: Andrew F. Davis
    [s-anna@ti.com: revise commit description slightly]
    Signed-off-by: Suman Anna

    Andrew F. Davis
     
  • Add the device state controller node as a syscon node to the
    Keystone 2 Galileo SoC. This module provides similar device
    control functionality as that on the existing K2 SoCs.

    One example usage would be the boot address programming of the
    DSP processor sub-system.

    Signed-off-by: Andrew F. Davis
    [s-anna@ti.com: relocate node and revise commit description]
    Signed-off-by: Suman Anna

    Andrew F. Davis
     
  • Enable the TI SCI Reset driver required for the reset management
    of remote processor devices on Keystone 2 Galileo SoC. The driver
    is built-in by default to reduce the chances of deferred probing.

    Signed-off-by: Suman Anna
    Acked-by: Nishanth Menon

    Suman Anna
     
  • Add a reset-controller node for managing resets of various
    remote processor devices on the SoC over the Texas Instrument's
    System Control Interface (TI SCI) protocol.

    Signed-off-by: Andrew F. Davis
    [s-anna@ti.com: revise commit description slightly]
    Signed-off-by: Suman Anna
    Acked-by: Nishanth Menon

    Andrew F. Davis
     
  • Some TI Keystone family of SoCs contain a system controller (like the
    Power Management Micro Controller (PMMC) on Keystone 2 Galileo SoC)
    that manage the low-level device control (like clocks, resets etc)
    for the various hardware modules present on the SoC. These device
    control operations are provided to the host processor OS through a
    communication protocol called the TI System Control Interface (TI SCI)
    protocol.

    This patch adds a reset driver that communicates to the system
    controller over the TI SCI protocol for performing reset management
    of various devices present on the SoC. Various reset functionalities
    are achieved by the means of different TI SCI device operations
    provided by the TI SCI framework.

    Signed-off-by: Andrew F. Davis
    [s-anna@ti.com: documentation changes, revised commit message]
    Signed-off-by: Suman Anna
    Acked-by: Nishanth Menon

    Andrew F. Davis
     
  • Add TI SCI reset controller binding. This describes the DT binding
    details for a reset controller node providing reset management services
    to hardware blocks (reset consumers) using the Texas Instrument's System
    Control Interface (TI SCI) protocol to communicate to a system controller
    block present on the SoC.

    Signed-off-by: Andrew F. Davis
    [s-anna@ti.com: revise the binding format]
    Signed-off-by: Suman Anna
    Acked-by: Nishanth Menon

    Andrew F. Davis
     
  • Add identifiers for the reset values to be used by reset
    consumer device nodes (like a DSP) on the Keystone 2
    Galileo (K2G) SoC. The values are used to define the
    resets required by the devices, and are defined in
    conformance with those used on the Power Management
    Micro Controller (PMMC) firmware.

    Signed-off-by: Andrew F. Davis
    Signed-off-by: Suman Anna
    Acked-by: Nishanth Menon

    Andrew F. Davis
     
  • Enable the SYSCON based Reset driver required for the reset
    management of remote processor devices on Keystone 2 family of
    SoCs (K2HK/K2L/K2E). The driver is built-in by default to reduce
    the chances of deferred probing.

    Signed-off-by: Suman Anna

    Suman Anna