summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* HID: refactor mapping to input subsystem for quirky devicesJiri Kosina2008-01-284-155/+337
| | | | | | | | | | | | | Currently, the handling of mapping between hid and input for devices that don't conform to HUT 1.12 specification is very messy -- no per-device handling, no blacklists, conditions on idVendor and idProduct placed all over the code. This patch moves all the device-specific input mapping to a separate file, and introduces a blacklist-style handling for non-standard device-specific mappings. Signed-off-by: Jiri Kosina <jkosina@suse.cz>
* HID: Microsoft Wireless Optical Desktop 3.0 quirkDrew Fisher2008-01-281-0/+2
| | | | | | | | | | | | Make the Microsoft Wireless Optical Desktop 3.0 work as a mouse. Microsoft Wireless Optical Desktop 3.0 doesn't properly describe its interface class. Specifically, since it doesn't mark the second interface as a mouse (bInterfaceSubclass = 0), it doesn't get HID_QUIRK_NOGET applied to the interface, and then acts broken when polled. Signed-off-by: Drew Fisher <drew.m.fisher@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
* HID: Add support for Logitech Elite keyboardsCarlos Corbacho2008-01-281-0/+2
| | | | | | | | Reuse the quirks from the Cordless Desktop LX500 - stops some of the extra keys being reported as mouse buttons. Signed-off-by: Carlos Corbacho <cathectic@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
* HID: add full support for Genius KB-29EJiri Kosina2008-01-283-0/+23
| | | | | | | | | | | | Genius KB-29E has broken report descriptor, which causes some of the Consumer usages to appear incorrectly as Button usages. We fix it by fixing the report descriptor before it is being parsed. Also a few of the keys violate the HUT standard, so they need a special handling. They currently fall into "Reserved" range as per HUT 1.12. Reported-by: Szekeres Istvan <szekeres@iii.hu> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
* HID: fix a potential bug in pointer castingLi Zefan2008-01-281-3/+4
| | | | | | | | | | | | | | | | | | | | | Don't directly cast list_head * to foo *, this works only when list is the first member of struct foo, and we should not make the assumption how members are ordered in the structure. i.e. struct *f = (struct *f)pos will work if: struct foo { struct list_head list; int i; }; but will fail if: struct foo { int i; struct list_head list; } Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
* HID: Implement horizontal wheel handling for A4 Tech X5-005DPavel Troller2008-01-283-3/+22
| | | | | | | | | | | This mouse distinguishes horizontal wheel from vertical by a special "pseudo event" GenericDesktop.00b8, with values of 0 for vertical and 8 for horizontal wheel. Because this event is supplied by the parser too late, we need to delay a wheel event, wait for this one and send either REL_WHEEL or REL_HWHEEL to input depending on the event value. Signed-off-by: Pavel Troller <patrol@sinus.cz> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
* HID: Add support for Apple aluminum USB keyboards.Michel Daenzer2008-01-283-3/+32
| | | | | | | Reuse the existing quirks for Apple laptop USB keyboards. Signed-off-by: Michel Daenzer <michel@tungstengraphics.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
* HID: Rename some code identifiers from PowerBook specific to Apple genericMichel Daenzer2008-01-283-54/+55
| | | | | | | | | | Preserve identifiers exposed in build and run time configuration though in order not to break existing configurations. This is in preparation for adding support for Apple aluminum USB keyboards. Signed-off-by: Michel Daenzer <michel@tungstengraphics.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
* HID: Map MS Presenter 8000 bottom-side buttonsJan Kiszka2008-01-281-2/+14
| | | | | | | | | | | | | The MS Presenter 8000 bluetooth mouse is a "dual-use" device: If you press a button on the top, you can turn it around and find special keys on the other side, useful for presentations. This patch maps those three bottom-keys that are not already detected to the intended functions. The magic bottom on the top is mapped to F5 when we switch from mouse to presenter mode in order to activate the presentation mode in the related software (e.g. OpenOffice). Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
* Merge branch 'for-linus' of ↵Linus Torvalds2008-01-2891-760/+2763
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/blackfin-2.6 * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/blackfin-2.6: (54 commits) MAINTIANERS: just use Mike gmail e-mail for contact and pawn the serial driver off onto Sonic [Blackfin] arch: remove old I2C BF54x porting. [Blackfin] arch: Add the semtimedop syscall. Upstream uClibc doesn't compile without it. [Blackfin] arch: fix bug kernel boot message: memory information is not reasonable [Blackfin] arch: use common flash driver to setup partitions rather than the bf5xx-flash driver [Blackfin] arch: Fix bug - kernel build with Debug option enabled fails to boot up [Blackfin] arch: Fix bug Only RTC interrupt can wake up deeper sleep core. [Blackfin] arch: Add proper SW System Reset delay sequence [Blackfin] arch: Update copyright date [Blackfin] arch: GPIO API cleanup and anomaly update [Blackfin] arch: Fix BUG gpio_direction_output API is not compatitable with GENERIC_GPIO API interface [Blackfin] arch: Initial checkin of the memory protection support. [Blackfin] arch: set_bfin_dma_config shouldnt set SYNC or RESTART by default - add argument or option [Blackfin] arch: Add some comments - fix semicolons [Blackfin] arch: move all code related to CPLB handling into a new subdirectory under kernel/ [Blackfin] arch: print out list of modules if kernel is crashing and tell people if the kernel is tainted [Blackfin] arch: enable generic GPIO based I2C driver in STAMP-BF533, EZKIT-BF533 and EZKIT-BF561 boards [Blackfin] arch: Don't oops_in_progress if single step is comming from the kernel [Blackfin] arch: Fix BUG - kernel sometimes would stuck with KEYBOARD_GPIO on [Blackfin] arch: update to latest anomaly sheets ...
| * MAINTIANERS: just use Mike gmail e-mail for contact and pawn the serial ↵Mike Frysinger2007-11-171-4/+2
| | | | | | | | | | | | | | | | driver off onto Sonic Signed-off-by: Mike Frysinger <michael.frysinger@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: remove old I2C BF54x porting.Bryan Wu2008-01-271-33/+0
| | | | | | | | | | Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: Add the semtimedop syscall. Upstream uClibc doesn't ↵Bernd Schmidt2008-01-272-1/+3
| | | | | | | | | | | | | | | | compile without it. Signed-off-by: Bernd Schmidt <bernd.schmidt@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: fix bug kernel boot message: memory information is not ↵Yi Li2008-01-272-6/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | reasonable Some of the information in kernel boot message is not reasonable. http://blackfin.uclinux.org/gf/project/uclinux-dist/tracker/?action=TrackerItemEdit&tracker_item_id=3846 - use _rambase as the start of kernel image. kernel is in the region [_rambase, _ramstart] - count in pages in per-cpu-page list as available memory - reserved memory now include: [0 - 4K] for bad pointer catching, memory reserved for abnormaly 05000263, memory reserved by kernel itself. Signed-off-by: Yi Li <yi.li@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: use common flash driver to setup partitions rather than the ↵Mike Frysinger2008-01-245-10/+174
| | | | | | | | | | | | | | | | bf5xx-flash driver Signed-off-by: Mike Frysinger <michael.frysinger@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: Fix bug - kernel build with Debug option enabled fails to ↵Michael Hennerich2008-01-221-0/+2
| | | | | | | | | | | | | | | | | | | | boot up writes to I/DMEM_CONTROL must be followed by SSYNC Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: Fix bug Only RTC interrupt can wake up deeper sleep core.Sonic Zhang2008-01-221-4/+4
| | | | | | | | | | | | Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: Add proper SW System Reset delay sequenceMichael Hennerich2008-01-221-3/+12
| | | | | | | | | | | | Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: Update copyright dateMichael Hennerich2008-01-223-3/+3
| | | | | | | | | | | | Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: GPIO API cleanup and anomaly updateMichael Hennerich2008-01-222-71/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | - Add anomaly workaround for bfin_gpio_reset_spi0_ssel1 - Fix style - Update copyright - Remove BUG_ON checks for functions intended to be used only by arch support. GPIO users should only access using the generic GPIO API - Make all GPIO identifier unsigned int Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: Fix BUG gpio_direction_output API is not compatitable with ↵Michael Hennerich2008-01-2212-48/+58
| | | | | | | | | | | | | | | | GENERIC_GPIO API interface signef-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: Initial checkin of the memory protection support.Bernd Schmidt2008-01-2715-8/+822
| | | | | | | | | | | | | | | | Enable it with CONFIG_MPU. Signed-off-by: Bernd Schmidt <bernd.schmidt@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: set_bfin_dma_config shouldnt set SYNC or RESTART by default ↵Michael Hennerich2008-01-224-6/+13
| | | | | | | | | | | | | | | | - add argument or option Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: Add some comments - fix semicolonsMichael Hennerich2008-01-111-17/+15
| | | | | | | | | | | | Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: move all code related to CPLB handling into a new ↵Bernd Schmidt2008-01-119-3/+12
| | | | | | | | | | | | | | | | subdirectory under kernel/ Signed-off-by: Bernd Schmidt <bernd.schmidt@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: print out list of modules if kernel is crashing and tell ↵Robin Getz2008-01-111-1/+2
| | | | | | | | | | | | | | | | people if the kernel is tainted Signed-off-by: Robin Getz <robin.getz@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: enable generic GPIO based I2C driver in STAMP-BF533, ↵Bryan Wu2008-01-243-0/+72
| | | | | | | | | | | | | | EZKIT-BF533 and EZKIT-BF561 boards Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: Don't oops_in_progress if single step is comming from the ↵Robin Getz2008-01-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | kernel Don't oops_in_progress if single step is comming from the kernel, which happens if a single step occurs after a exception cause. This fixes up the remaining issues in the toolchain bug. Signed-off-by: Robin Getz <robin.getz@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: Fix BUG - kernel sometimes would stuck with KEYBOARD_GPIO onMichael Hennerich2007-12-241-0/+2
| | | | | | | | | | | | | | | | Make sure the SYSTEM reset completes before we issue the CORE reset Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: update to latest anomaly sheetsMike Frysinger2007-12-244-31/+67
| | | | | | | | | | | | Signed-off-by: Mike Frysinger <michael.frysinger@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: Spelling fixesJoe Perches2007-12-242-2/+2
| | | | | | | | | | | | | | Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Mike Frysinger <michael.frysinger@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: fix bug - kgdb causing kernel panicSonic Zhang2007-12-260-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | ignore soft bp except when single step except occurs. Narrow the condition to ignore soft bp. If soft bp occurs in the single step handler or the soft bp handler, return immediately. This could happen when gdb client set soft bps in kernel code that in the path of kgdb core code. Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: fix bug when DMA operation related core B of BF561Enrik Berkhan2007-12-241-4/+8
| | | | | | | | | | | | | | | | | | | | | | - Before DMA'ing data to core B L1 memory, caches have to be flushed. - Before DMA'ing data from core B L1 memory, caches have to be invalidated. - Fix lock/unlock. Signed-off-by: Enrik Berkhan <Enrik.Berkhan@ge.com> Signed-off-by: Mike Frysinger <michael.frysinger@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: Restore default DMA priority over core on bf54x.Sonic Zhang2007-12-241-1/+0
| | | | | | | | | | | | Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: pull in linux/etherdevice.h for random_ether_addr() used in ↵Mike Frysinger2007-12-243-0/+3
| | | | | | | | | | | | | | | | bfin_get_ether_addr() Signed-off-by: Mike Frysinger <michael.frysinger@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: disable bfin_get_ether_addr fucntion for boards when do not ↵Martin Strubel2007-12-241-0/+2
| | | | | | | | | | | | | | | | use MAC driver Signed-off-by: Martin Strubel <hackfin@section5.ch> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: Enable both edge triggered GPIO IRQs on BF54x and use ↵Michael Hennerich2007-12-241-21/+46
| | | | | | | | | | | | | | | | irq_to_gpio() Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: added Minotaur BSPMartin Strubel2008-01-273-0/+324
| | | | | | | | | | | | Signed-off-by: Martin Strubel <hackfin@section5.ch> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: replace current blackfin specific pfbutton driver with ↵Michael Hennerich2008-01-275-0/+140
| | | | | | | | | | | | | | | | kernel generic gpio key driver Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: append IRQ Number to label stringMichael Hennerich2007-12-242-8/+19
| | | | | | | | | | | | Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: Fix gpio label handlingMichael Hennerich2007-12-246-13/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | early serial init also utilizes the peripheral request api - however at this point bfin_gpio_init didn't allocate memory for the labels. So we always have two zombies (allocated pin functions without labels) This happens before the initcalls - We now allocate memory statically. Define MAX_RESOURCES individually for each cpu. Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: add support for BF523/BF524/BF526Mike Frysinger2007-12-243-3/+63
| | | | | | | | | | | | Signed-off-by: Mike Frysinger <michael.frysinger@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: scrub dead alive/idle LED codeMike Frysinger2007-12-244-172/+0
| | | | | | | | | | | | | | | | | | if it does get re-added, it needs to be in the boards directory, not common code ... or it needs a re-implementation Signed-off-by: Mike Frysinger <michael.frysinger@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: fix up coding style in uaccess.hBernd Schmidt2007-12-241-1/+1
| | | | | | | | | | | | Signed-off-by: Bernd Schmidt <bernd.schmidt@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: set default value of DEB_DMA_URGENT to YES to avoid DMA ↵Cliff Cai2007-12-241-1/+1
| | | | | | | | | | | | | | | | aborting caused by conflict between core and DMA Signed-off-by: Cliff Cai <cliff.cai@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: Added support for OpenCores Keyboard Controller to H8606 boardJavier Herrero2008-01-271-0/+32
| | | | | | | | | | | | Signed-off-by: Javier Herrero <jherrero@hvsistemas.es> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: Fix if/def BUG - and define is multipoint NOBryan Wu2007-12-241-4/+4
| | | | | | | | | | | | Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: The BF527 EZkit connects UART1/PORTFMichael Hennerich2007-12-241-1/+1
| | | | | | | | | | | | Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: update defconfig of boardsBryan Wu2008-01-246-111/+134
| | | | | | | | | | | | Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
| * [Blackfin] arch: Trash bf54x-hcd driver - we use the musb driverMichael Hennerich2007-12-241-21/+0
| | | | | | | | | | | | Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
OpenPOWER on IntegriCloud