aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* spectra: Avoid running incorrect probe codeChuanxiao Dong2010-12-094-111/+127
| | | | | | | | | | | Currently there are some driver initialization logic that is not part of nand_pci_probe function. This will result in that part of driver initialization code executing even on platforms without the corresponding hardware which is always dangerous. Signed-off-by: Chuanxiao Dong <chuanxiao.dong@intel.com> Signed-off-by: Yong Wang <yong.y.wang@intel.com>
* pti: remove incorrect mutex handling on exitJ Freyensee2010-12-081-7/+0
| | | | | | | | | This patch removes code that was deemed incorrect from an observed code review on a different driver on the Meego kernel list. Signed-off-by: J Freyensee <james_p_freyensee@linux.intel.com> Signed-off-by: Alan Cox <alan@linux.intel.com>
* pti: kfree memory leak errorJ Freyensee2010-12-081-0/+3
| | | | | | | | This patch fixes a bug in which one of the getID() corner cases does not deallocate memory. Signed-off-by: J Freyensee <james_p_freyensee@linux.intel.com> Signed-off-by: Alan Cox <alan@linux.intel.com>
* pti: Correct ID rangeJ Freyensee2010-12-081-1/+1
| | | | | | | | This patch fixes an array that is supposed to represent the number of channel ids per master id. Signed-off-by: J Freyensee <james_p_freyensee@linux.intel.com> Signed-off-by: Alan Cox <alan@linux.intel.com>
* Modem trace capture solution for mobile platforms.J Freyensee2010-12-086-24/+516
| | | | | | | | | | | | | | | | | | This gives the ability to capture modem trace data on multiple MID platforms that do not necessarily have PTI HW on the platform. It allows the ability to route modem trace data from one tty (where the modem trace debug data is coming) to another tty (output port) for later analysis in lab or on a product in the field. Since these are line discipline drivers, it relies on a userspace application to configure the drivers to the desired tty ports. This is a re-submisison. It is believed this patch was acceptable (due to lack of feedback from the last submission) but was not applied due to the missing ptirouter_ldisc->n_tracerouter rename patch. This patch needs this rename patch which was re-submitted. Signed-off-by: J Freyensee <james_p_freyensee@linux.intel.com>
* This patch renames ptirouter_ldisc to n_tracerouter to a moreJ Freyensee2010-12-084-32/+32
| | | | | | | linux kernel naming convention. NO added functionality or bug fixes are in this patch; it's just a rename. Signed-off-by: J Freyensee <james_p_freyensee@linux.intel.com>
* pti: endian-ness fixesKen Mills2010-12-082-55/+33
| | | | | | | Modified function pti_write_to_aperture() to be endian independent. Put lock around mipi_release_masterchannel(). Signed-off-by: Ken Mills <ken.k.mills@intel.com>
* pti: fix user copy sizeAlan Cox2010-12-081-4/+4
| | | | 8K is 8192 bytes, plus fix reporting
* pti: Locking and race fixesJ Freyensee2010-12-081-11/+62
| | | | | | | | | | | | | This patch fixes a couple bugs being seen on certain Medfield VV system tests. There is the potential for the console device feature of PTI to register itself early enough upon boot and take away the serial console, locking up the system. This only seems to happen when PTI is compiled into the kernel instead of as a loaded module. Thus console enable has been delayed to when the PTI device will actually be called and used by the OS, such as when syslogd is hooked up to ttyPTI0. Another test case was discovered that a lock is needed around the mipi_release_masterchannel(), just like mipi_request_masterchannel().
* pti: extend aperture targetsJ Freyensee2010-12-081-27/+137
| | | | | Extends aperture targets and adds console device to capture kernel printk() messages
* pti_router_ldisc: Clean upAlan Cox2010-12-082-149/+60
| | | | | | | | | | | | - Remove unit test mode - Prune lots of debug that isn't relevant for upstream - Shorten some slightly overkill debugging - if we know the function name we know enough - There is no guarantee that the ldisc data pointer will be NULL on open so remove the check - The ldisc_data object isn't used so remove the rest of this logic - Fix the comments to pass through kerneldoc (@return isn't valid multi-line headers confuse it)
* tty ldisc: PTI routing serviceJ Freyensee2010-12-083-0/+293
| | | | | | | | | | TODO: generalise this for arbitary data sources This is the PTI router, part of the PTI project, a MIPI a (cJTAG) debugging standard for Intel platforms starting with Medfield (HW module non-existant in Moorestown). It needs the PTI driver submitted by Ken Mills (7/1/10) to compile successfully. This submission is to capture modem trace data (per Nokia requirement).
* From: J Freyensee <james_p_freyensee@linux.intel.com>J Freyensee2010-12-085-0/+818
| | | | | | | | | | pti: Intel PTI driver The PTI (Parallel Trace Interface) driver directs trace data routed from various parts in the system out through an Intel Penwell PTI port and out of the mobile device for analysis with a debugging tool. Signed-off-by: Alan Cox <alan@linux.intel.com>
* dw_spi: add DMA supportFeng Tang2010-12-086-25/+305
| | | | | | | | | | | | | | | | | | dw_spi driver in upstream only supports PIO mode, and this patch will support it to cowork with the Designware DMA controller used on Intel Moorestown platform It has been tested with a Option GTM501L 3G modem, to use DMA mode, DMA controller 2 of Moorestown has to be enabled Signed-off-by: Feng Tang <feng.tang@intel.com> [Typo fix and renames to match intel_mid_dma renaming] Signed-off-by: Vinod Koul <vinod.koul@intel.com> [Clean up] Signed-off-by: Feng Tang <feng.tang@intel.com> [Fix timing delay, add cpu_relax] Signed-off-by: Arjan van de Ven <arjan@linux.intel.com> Signed-off-by: Alan Cox <alan@linux.intel.com>
* intel_mid_ssp_spi: Moorestown and Medfield SPI for SSP devicesMathieu SOULARD2010-12-084-0/+1733
| | | | | | | | | | This driver is a fusion of various internal drivers into a single driver for the SPI slave/master on the Intel Moorestown and Medfield SSP devices. Signed-off-by: Mathieu SOULARD <mathieux.soulard@intel.com> [Ported to the -next tree DMA engine] Signed-off-by: Alan Cox <alan@linux.intel.com>
* ifx6x60: Fix missing include for msleepAlan Cox2010-12-081-0/+1
| | | | | | Noted by Stephen Rothwell Signed-off-by: Alan Cox <alan@linux.intel.com>
* ifx6x60: The IFX requires SPIAlan Cox2010-12-081-1/+1
| | | | | | Correct the KConfig as noted by Greg. Signed-off-by: Alan Cox <alan@linux.intel.com>
* ifx6x60: SPI protocol driver for Infineon 6x60 modemRuss Gorby2010-12-085-0/+1552
| | | | | | | | | | | Prototype driver for the IFX6x60 series of SPI attached modems by Jim Stanley and Russ Gorby Signed-off-by: Russ Gorby <richardx.r.gorby@intel.com> [Some reworking and a major cleanup] Signed-off-by: Alan Cox <alan@linux.intel.com>
* medfield: add proximity sensor driver for MedfieldAnantha Narayanan2010-12-083-0/+228
| | | | | | | Device is apds9802. Signed-off-by: Anantha Narayanan <anantha.narayanan@intel.com> Signed-off-by: Hong Liu <hong.liu@intel.com>
* From@ Anantha Narayanan <anantha.narayanan@intel.com>Alan Cox2010-12-085-0/+259
| | | | | | | | | medfield: add compass sensor driver for Medfield The device is ak8974, which hooks on i2c bus 5 on Medfield. Signed-off-by: Anantha Narayanan <anantha.narayanan@intel.com> Signed-off-by: Hong Liu <hong.liu@intel.com>
* intel mid watchdog: fix check_timer_margin()Shuduo Sang2010-12-081-2/+2
| | | | | | The check was backwards Signed-off-by: Shuduo Sang <shuduo.sang@intel.com>
* Intel SCU Watchdog Timer Driver for Moorestown and Medfield platforms.Donald Johnson2010-12-084-0/+710
| | | | | | | | | | | | | | | This submission includes: - Fix to intel_scu_write() to start watchdog timer the on the first write, and refresh on subsequent writes. This enables Open, write, write, ... usage model. - Moves boot parameter checks from intel_scu_open() to intel_scu_watchdog_init(), so driver init will fail if these parameters are out of bounds. - Adds check for whether process waiting in wait_event_interruptible() received a signal while it was waiting. - Other small error handling changes. Signed-off-by: Donald Johnson <donald.k.johnson@intel.com>
* sep: second ioctl passAlan Cox2010-12-082-526/+121
| | | | | | | | | | | | | | We can now kill off the various unused ioctls and make the ones we have left 32/64bit size safe. Most of this is just some types and then doing re-ordering of fields to pack better. For the init message I've moved the 14 words of message into the struct which makes the code far simpler. The big chunks of code changes are from removing is_kva, this is now always true which in turn means lots of code becomes unreachable and shakes out. Signed-off-by: Alan Cox <alan@linux.intel.com>
* sep: Clean up the ioctls a bit moreAlan Cox2010-12-082-38/+38
| | | | | | | Remove the weird _stru _struc bits Rename all the unused fields as unused Signed-off-by: Alan Cox <alan@linux.intel.com>
* sep: Resync treesAlan Cox2010-12-087-926/+640
| | | | | | | | | | | Further fixes from Mark Allyn generated by diff'ing the relevant trees - Fix TODO list back - Use local flags for locks - Remove unneeded use counts - First pass at sorting out structures - Kernel documentation - Move locks into device struct
* rar_register: provide alternates when compiled outAlan Cox2010-12-083-88/+20
| | | | | | | Rework this from the staging patch and rar_register_stubs in the existing code but use inlines so we still typecheck. Signed-off-by: Alan Cox <alan@linux.intel.com>
* sep: Compile/merge fixupsAlan Cox2010-12-081-8/+4
| | | | Signed-off-by: Alan Cox <alan@linux.intel.com>
* Signed-off-by: Mark A. Allyn <mark.a.allyn@intel.com>Alan Cox2010-12-081-110/+318
|
* Signed-off-by: Mark A. Allyn <mark.a.allyn@intel.com>Alan Cox2010-12-081-72/+38
|
* Signed-off-by: Mark A. Allyn <mark.a.allyn@intel.com>Alan Cox2010-12-081-39/+198
|
* dcb's are device control blocks to point to dma tablesAlan Cox2010-12-081-12/+217
| | | | Signed-off-by: Mark A. Allyn <mark.a.allyn@intel.com>
* Return-Path: <mark.a.allyn@intel.com>Alan Cox2010-12-081-97/+151
| | | | | | | | | | | | | | | | | | | | | | | | | X-Original-To: alan@linux.intel.com Delivered-To: alan@linux.intel.com Received: from fmsmga001.fm.intel.com (fmsmga001.fm.intel.com [10.253.24.23]) by linux.intel.com (Postfix) with ESMTP id 434D46A4023 for <alan@linux.intel.com>; Tue, 21 Sep 2010 13:57:57 -0700 (PDT) X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.56,402,1280732400"; d="scan'208";a="839695177" Received: from allyn-test.jf.intel.com (HELO localhost.localdomain) ([134.134.158.107]) by fmsmga001.fm.intel.com with ESMTP; 21 Sep 2010 13:57:49 -0700 From: Mark Allyn <mark.a.allyn@intel.com> To: alan@linux.intel.com, jayant.mangalampalli@intel.com, venkat.r.gokulrangan@intel.com, amit.kumar@intel.com, mark.a.allyn@intel.com Subject: [PATCH 16/20] staging: sep: update start and init handlers Date: Tue, 21 Sep 2010 14:05:20 -0700 Message-Id: <1285103120-6818-1-git-send-email-mark.a.allyn@intel.com> X-Mailer: git-send-email 1.6.3.3 Signed-off-by: Mark A. Allyn <mark.a.allyn@intel.com>
* Signed-off-by: Mark A. Allyn <mark.a.allyn@intel.com>Alan Cox2010-12-081-288/+1089
|
* Signed-off-by: Mark A. Allyn <mark.a.allyn@intel.com>Alan Cox2010-12-081-527/+0
|
* Signed-off-by: Mark A. Allyn <mark.a.allyn@intel.com>Alan Cox2010-12-081-163/+236
|
* Signed-off-by: Mark A. Allyn <mark.a.allyn@intel.com>Alan Cox2010-12-081-102/+59
|
* Signed-off-by: Mark A. Allyn <mark.a.allyn@intel.com>Alan Cox2010-12-081-32/+23
|
* Signed-off-by: Mark A. Allyn <mark.a.allyn@intel.com>Alan Cox2010-12-081-4/+185
|
* Signed-off-by: Mark A. Allyn <mark.a.allyn@intel.com>Alan Cox2010-12-081-75/+649
|
* Signed-off-by: Mark A. Allyn <mark.a.allyn@intel.com>Alan Cox2010-12-081-23/+2
|
* Signed-off-by: Mark A. Allyn <mark.a.allyn@intel.com>Alan Cox2010-12-081-24/+28
|
* Signed-off-by: Mark A. Allyn <mark.a.allyn@intel.com>Alan Cox2010-12-081-21/+70
|
* Signed-off-by: Mark A. Allyn <mark.a.allyn@intel.com>Alan Cox2010-12-081-105/+29
|
* Signed-off-by: Mark A. Allyn <mark.a.allyn@intel.com>Alan Cox2010-12-082-256/+285
|
* Signed-off-by: Mark A. Allyn <mark.a.allyn@intel.com>Alan Cox2010-12-082-0/+256
|
* Signed-off-by: Mark A. Allyn <mark.a.allyn@intel.com>Alan Cox2010-12-082-308/+265
|
* Signed-off-by: Mark A. Allyn <mark.a.allyn@intel.com>Alan Cox2010-12-082-13/+8
|
* (no commit message)Alan Cox2010-12-0810-0/+3729
|
* x86/apic: do not clear nr_irqs_gsi if no legacy irqsJacob Pan2010-12-081-3/+1
| | | | | | | | nr_legacy_irqs is set in probe_nr_irqs_gsi, we should not clear it after that. Otherwise, the result is that MSI irqs will be allocated from the wrong range for the systems without legacy PIC. Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
* commit ca5b841302468ce8e03686f5799a9fb1c4e2cd13Jiang, Chao2010-12-082-2/+55
| | | | | | | | | | | | | support to overwrite DMI board info support to overwrite board vendor/version/name information by editing /boot/cmdline file. Format example: board_vendor="XXX company" board_version=DV3.0 Signed-off-by: Jiang, Chao <chao.jiang@intel.com> [Added Documentation as requested] Signed-off-by: Alan Cox <alan@linux.intel.com>