summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-03-13omap5evm dts bootargs for debugtracking-topic-o5rpmsgAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2012-03-13UNRESOLVED iommu domain wants bus index is more needed to provide itAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2012-03-13UNRESOLVED remoteproc probe wants to add tlbs to omap_iommuAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2012-03-13UNRESOLVED proc wants iommu_set_isrAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2012-03-13uplevel rpres dont die if no platform dataAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2012-03-13uplevel rename pm_qos_params header use to pm_qosAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2012-03-13uplevel remove plat omap iommu andiommu debug from MakefileAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2012-03-13update virtqueue_add_buf_gfp api nameAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2012-03-13uplevel remove omap_iommu from omap_rproc_privAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2012-03-13uplevel omap_iopgtable_store_entry and pdev is pointer in omap_device nowAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2012-03-13uplevel remoteproc module.hAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2012-03-13warnings iommu unused vars false positive unused varAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2012-03-13uplevel all omap_iommu and all spinlockAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2012-03-13uplevel omap_iommuin functionsAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2012-03-13uplevel iommu omap_iommul and dev_pm_qos_update_requestAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2012-03-13uplevel vring_new_virtqueue args changedAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2012-03-13uplevel rpmsg module.hAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2012-03-13uplevel remove OMAP_CHIP from hwmodsAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2012-03-13omap5: configs: zero out remoteproc dynamic carveoutCris Jansson
The ducati text and ipc sections have switched to use the static carveout, and so there is no need to set-aside the dynamic carveout memory (IPU - 7MB memory) Signed-off-by: Cris Jansson <cjansson@ti.com> Signed-off-by: Suman Anna <s-anna@ti.com>
2012-03-13iommu kconfig just define iommu debug onceAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2012-03-13omap5: opp: fix fdif clk name in opp tablesMiguel Vadillo
OPP table has a wrong name for fdif clock, fixed the same. Signed-off-by: Miguel Vadillo <vadillo@ti.com> Acked-by: Vishwanath BS <vishwanath.bs@ti.com>
2012-03-13ARM: omap5: hwmod_data: split DSP hwmod into two hwmod devicesMiguel Vadillo
DSP has two reset lines, one for MMU and another for the core itself. The MMU reset line needs to be deasserted first so that it can be programmed before deasserting the core reset. There is a single hwmod device for DSP currently, and this would not allow the remoteproc code to program and manage the DSP properly. This device has therefore been split into two different hwmod devices to allow independent control of the MMU and the processor core. Signed-off-by: Miguel Vadillo <vadillo@ti.com> Signed-off-by: Suman Anna <s-anna@ti.com>
2012-03-13ARM: omap5: hwmod_data: fix iva flags for proper sl2if setupMiguel Vadillo
SL2IF is a module within the IVAHD domain, and has no reset lines of its own. The hwmod setup initialization for SL2IF requires that the IVA domain be enabled. The HWMOD_INIT_NO_RESET flag on the iva hwmod keeps the IVA in reset and disabled, causing the SL2IF to be stuck in transition. The HWMOD_INIT_NO_IDLE flags are removed from all the IVA hwmod structures, as when combined with the INIT_NO_RESET would leave them in an improper hwmod state machine. The above problems and fixed with the changes made, and also help in achieving low power states for the device. Signed-off-by: Miguel Vadillo <vadillo@ti.com> Signed-off-by: Suman Anna <s-anna@ti.com>
2012-03-13ARM: omap5: hwmod: remove INIT_NO_IDLE flag for issMiguel Vadillo
The HWMOD_INIT_NO_IDLE flag has been removed from the ISS hwmod data. With this flag set, the ISS device is being enabled and is never idled after the _setup step during hwmod initialization. This is not idled until the time ISS has been used and go through a enable/disable sequence. This causes the chip not to achieve a low power state after bootup. Signed-off-by: Miguel Vadillo <vadillo@ti.com> Signed-off-by: Suman Anna <s-anna@ti.com>
2012-03-13omap4: hwmod_data: add clock names to iva sequencersChandra Sekhar.Anagani
The IVA sequencer hwmod data for OMAP4 is missing clock names. This may cause an improper hwmod setup, and would miss out on the proper reference counting of the modules using the IVA clock. This has been corrected. Signed-off-by: Chandra Sekhar.Anagani <chandu@ti.com> Signed-off-by: Suman Anna <s-anna@ti.com>
2012-03-13omap4: hwmod_data: add missing fields for sl2ifChandra Sekhar.Anagani
The SL2IF hwmod data for OMAP4 is missing the chip version and the clock domain name fields. The absence of chip name caused the hwmod to be ignored altogether during registration, and the lack of the clock domain caused the hwmod setup to fail, rendering ipu pretty-much non-functional, and may lead to a boot failure. This has been corrected. Signed-off-by: Chandra Sekhar.Anagani <chandu@ti.com> Signed-off-by: Suman Anna <s-anna@ti.com>
2012-03-13omap4: hwmod_data: add missing fields for fdifChandra Sekhar.Anagani
The FDIF hwmod data for OMAP4 is missing the chip version and the clock domain name fields. The absence of chip name caused the hwmod to be ignored altogether during registration, and the lack of the clock domain caused the hwmod setup to fail, rendering fdif use-cases non-functional. This missing data has been added. Signed-off-by: Chandra Sekhar.Anagani <chandu@ti.com> Signed-off-by: Suman Anna <s-anna@ti.com>
2012-03-13omap4: hwmod_data: add missing clock fields for ipuChandra Sekhar.Anagani
IPU is missing the clock names on the individual processor pseudo-hwmod data and clock domain on the main ipu hwmod. Adding the clock names help keep the reference count. The lack of the clock domain causes the hwmod setup to be incomplete and may lead to a boot failure. This data has been added. Signed-off-by: Chandra Sekhar Anagani <chandu@ti.com> Signed-off-by: Suman Anna <s-anna@ti.com>
2012-03-13rpmsg: omx: build rpmsg_omx even if TILER is not selectedCris Jansson
The OMX driver does not need TILER for basic messaging. The call to tiler_virt2phys() is moved behind a check for CONFIG_TI_TILER to break the dependency. If TILER is not included in the kernel then only mappings of RPC_OMX_MAP_INFO_NONE are allowed. Others would return an error back to userspace. Signed-off-by: Cris Jansson <cjansson@ti.com> Signed-off-by: Suman Anna <s-anna@ti.com>
2012-03-13rpmsg: omx: re-work buffer lookup to support contiguous NV12Subramaniam C.A
SGX544 requires Y and UV to be contiguous in SGX virtual address space. This is done by using single FD for two ion handles. Change-Id: I33ced876905d74e6293a2c32df0612f01a23d13f Signed-off-by: Hemant Hariyani <hemanthariyani@ti.com> Signed-off-by: Subramaniam C.A <subramaniam.ca@ti.com>
2012-03-13rpmsg: omx: add return values to the pa to da convert functionSubramaniam C.A
This patch adds return values to the pa to da conversion function. This will help in propagation of proper error codes to the calling functions. Change-Id: Ie547f7b7e7c51eff4b7998cbd336a61663995708 Signed-off-by: Subramaniam C.A <subramaniam.ca@ti.com> Signed-off-by: Suman Anna <s-anna@ti.com>
2012-03-13rpmsg: resmgr: add support for OMAP5 auxclk requestsSuman Anna
All aux clocks are derived from CORE or PER dpll post divider(m3x2). However on OMAP5, there are additional OPT clock controls between the DPLL post divider and the leaf aux clock. This OPT clock control nodes merely support enabling or disabling the corresponding clock output. The aux clock requests in rpmsg resmgr have been adapted to request a desired rate for a aux clock by accounting for this additional OPT clock control node. Signed-off-by: Suman Anna <s-anna@ti.com>
2012-03-13rpmsg: resmgr: enable camera regulators for omap5Suman Anna
Camera requires an additional regulator on OMAP5. Added the support for requesting this new regulator through rpmsg resource manager. The bound check for the regulator id has also been made robust. Signed-off-by: Suman Anna <s-anna@ti.com>
2012-03-13omap5: evm: add support for camera regulatorsSuman Anna
Add support for cam2pwr and cam2csi regulators to enable camera functionality on the OMAP5 SEVM board. Signed-off-by: Suman Anna <s-anna@ti.com>
2012-03-13ARM: omap5: clockdomain: set iss clk domain to SWSUPSubramaniam C.A
This patch sets the cam/iss clock domain from HW_AUTO to just SW_SUP. This patch is based on a similar patch done for OMAP4, "ARM: OMAP: clockdomain: set iss clk domain to just SWSUP" This is done because CAM domain has no module wake-up dependency with any other clock domain of the device and the dynamic dependency from L3_main_2 is always disabled, the domain needs to be in force wakeup in order to be able to be used or accessed for configuration. Also since there is no clock in the domain managed automatically by the hardware, so there is no need to configure automatic clock domain transition. SW should keep the SW_WKUP domain transition as long as a module in the domain is required to be functional. Signed-off-by: Subramaniam C.A <subramaniam.ca@ti.com> Signed-off-by: Suman Anna <s-anna@ti.com>
2012-03-13omap5: hwmod: add softreset delay fieldCris Jansson
This patch accompanies the omap4 softreset delay patch to include omap5. See "omap: hwmod: add softreset delay field". Signed-off-by: Cris Jansson <cjansson@ti.com>
2012-03-13ARM: omap5: hwmod: correct iva hwmod dataSubramaniam C.A
Corrected the iva hwmod data to have separate hwmod devices to deal with multiple processors with associated reset lines. The iva sequencers do not need a dedicated sysconfig. Hence, a separate hwmod class is defined for them. Signed-off-by: Cris Jansson <cjansson@ti.com> Signed-off-by: Subramaniam C.A <subramaniam.ca@ti.com> Signed-off-by: Suman Anna <s-anna@ti.com>
2012-03-13ARM: omap5: hwmod: correct and enable issSubramaniam C.A
Corrected the iss hwmod data, and enabled it. Signed-off-by: Cris Jansson <cjansson@ti.com> Signed-off-by: Subramaniam C.A <subramaniam.ca@ti.com> Signed-off-by: Suman Anna <s-anna@ti.com>
2012-03-13ARM: omap5: hwmod: correct ipu hwmod dataSubramaniam C.A
Corrected the ipu hwmod data to have the correct ipu address space, and separate hwmod devices to deal with multiple processors with associated reset lines. Signed-off-by: Cris Jansson <cjansson@ti.com> Signed-off-by: Subramaniam C.A <subramaniam.ca@ti.com> Signed-off-by: Suman Anna <s-anna@ti.com>
2012-03-13ARM: omap5: hwmod: add sl2if hwmod dataSubramaniam C.A
Added hwmod data for sl2if. Signed-off-by: Cris Jansson <cjansson@ti.com> Signed-off-by: Subramaniam C.A <subramaniam.ca@ti.com> Signed-off-by: Suman Anna <s-anna@ti.com>
2012-03-13ARM: omap5: hwmod: add fdif hwmod dataSubramaniam C.A
Added hwmod data for fdif. Signed-off-by: Cris Jansson <cjansson@ti.com> Signed-off-by: Subramaniam C.A <subramaniam.ca@ti.com> Signed-off-by: Suman Anna <s-anna@ti.com>
2012-03-13omap5: clkdata: added clock data for ipu, iva, iss and sl2ifSubramaniam C.A
This patch adds clock data for ipu, iva, iss and sl2if Also corrected fdif clock data. Signed-off-by: Subramaniam C.A <subramaniam.ca@ti.com>
2012-03-13remoteproc: wait until udev and FS are up before loading firmwareFernando Guzman Lugo
Calling request_firmware_nowait is just adding a little delay before requesting the firwmare. Sometimes, it is not enough for udev or FS to be ready, causing an issue loading ducati firmware. Now, we make sure udev is up before requesting the firmware and also retrying when request_firmware returns -ENOENT. NOTE: This fixes the issue when the kernel boots but there is not userspace yet (as when charging the phone). As soon as there is userspace the remoteproc firmware will be requested. Signed-off-by: Fernando Guzman Lugo <fernando.lugo@ti.com> Signed-off-by: Hervé Fache <h-fache@ti.com>
2012-03-13omap5: board: reserve memory for Ducati in board fileHervé Fache
This patch includes memory carveout changes based off the original change made for omap4. Signed-off-by: Hervé Fache <h-fache@ti.com> Signed-off-by: Suman Anna <s-anna@ti.com> Signed-off-by: Cris Jansson <cjansson@ti.com> Signed-off-by: Subramaniam C.A <subramaniam.ca@ti.com>
2012-03-13omap5: rproc: build rproc misc driver only if rproc is being builtSubramaniam C.A
Else a minimal build (without remoteproc) ends up with build error: arch/arm/plat-omap/built-in.o: In function `rproc_user_release': arch/arm/plat-omap/rproc_user.c:63: undefined reference to `rproc_set_secure' arch/arm/plat-omap/built-in.o: In function `rproc_user_write': arch/arm/plat-omap/rproc_user.c:123: undefined reference to `rproc_set_secure' arch/arm/plat-omap/rproc_user.c:114: undefined reference to `rproc_set_secure' This patch is an extension of the original patch done for omap4 Signed-off-by: Nishanth Menon <nm@ti.com> Signed-off-by: Subramaniam C.A <subramaniam.ca@ti.com>
2012-03-13omap5: rpmsg: added build support for rproc and rpmsgCris Jansson
Signed-off-by: Cris Jansson <cjansson@ti.com>
2012-03-13omap: mailbox: add support for OMAP5Subramaniam C.A
Mailbox in OMAP5 functions the same way as in OMAP4. Added the necessary macros and compiler options to add support for OMAP5. Signed-off-by: Suman Anna <s-anna@ti.com> Signed-off-by: Subramaniam C.A <subramaniam.ca@ti.com> Signed-off-by: Cris Jansson <cjansson@ti.com>
2012-03-13omap: remoteproc: add support for OMAP5Cris Jansson
Added CONFIG_ARCH_OMAP5 and cpu_is_omap54xx() checks along side those for OMAP4, to enable OMAP5. Signed-off-by: Cris Jansson <cjansson@ti.com> Signed-off-by: Subramaniam C.A <subramaniam.ca@ti.com> Signed-off-by: Suman Anna <s-anna@ti.com>
2012-03-13omap: iommu: add support for OMAP5Cris Jansson
Added the necessary macros and compiler options to add support for OMAP5 Signed-off-by: Cris Jansson <cjansson@ti.com> Signed-off-by: Subramaniam C.A <subramaniam.ca@ti.com> Signed-off-by: Suman Anna <s-anna@ti.com>
2012-03-13hwspinlock: added support for omap5Subramaniam C.A
Need to enable hwspinlock for omap5. Hence enabled the dependency for hwspinlock on ARCH_OMAP5. Signed-off-by: Subramaniam C.A <subramaniam.ca@ti.com> Signed-off-by: Suman Anna <s-anna@ti.com>