efikamx:linux-kernel.git
7 years agoudlfb: remove since it's been merged to mainline, todo backport
Matt Sealey [Sun, 20 Feb 2011 10:45:35 +0000 (04:45 -0600)]
udlfb: remove since it's been merged to mainline, todo backport

7 years agort2870sta: bring to mainline in the vain hope that it fixes a bug or two (especially...
Matt Sealey [Sun, 20 Feb 2011 10:41:07 +0000 (04:41 -0600)]
rt2870sta: bring to mainline in the vain hope that it fixes a bug or two (especially the div0)

7 years agosbs: small fixes
Matt Sealey [Sun, 20 Feb 2011 09:05:28 +0000 (03:05 -0600)]
sbs: small fixes

* add health property and remove the state in the structure that kept the values previously
* reduce cache time to 2.5 seconds to make it quicker to respond to AC events
* add supplicants to the mains supply so that when AC detection hits, battery gets poked too

7 years agopower_supply: add health properties as per SBS 1.10a
Matt Sealey [Sun, 20 Feb 2011 08:17:56 +0000 (02:17 -0600)]
power_supply: add health properties as per SBS 1.10a

7 years agosbs: move away from resources and weird irq structures and use the input subsystem...
Matt Sealey [Sun, 20 Feb 2011 07:37:03 +0000 (01:37 -0600)]
sbs: move away from resources and weird irq structures and use the input subsystem to provide us with notification of battery status events

7 years agogpiolib: export requested gpios to userspace without resorting to users having to...
Matt Sealey [Sun, 20 Feb 2011 07:36:32 +0000 (01:36 -0600)]
gpiolib: export requested gpios to userspace without resorting to users having to do it

7 years agoBluetooth: Improve USB driver throughput by increasing the frame size
Vikram Kandukuri [Thu, 2 Jul 2009 09:01:59 +0000 (14:31 +0530)]
Bluetooth: Improve USB driver throughput by increasing the frame size

This patch increases the receive buffer size to HCI_MAX_FRAME_SIZE
which improves the RX throughput considerably.

Tested against BRM/Atheros/CSR USB Dongles with PAN profile using
iperf and chariot. This gave significant (around 40%) increase
in performance (increased from 0.8 to 1.5 Mb/s in Sheld room)

Signed-off-by: Vikram Kandukuri <vikram.kandukuri@atheros.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
(cherry picked from commit 290ba200815fdecb4d40dc942499c4ea6d0c4624)

7 years agoefikamx: stop using gpio-keys since it managed to not work at all.
Matt Sealey [Sun, 20 Feb 2011 03:04:44 +0000 (21:04 -0600)]
efikamx: stop using gpio-keys since it managed to not work at all.

* Make lid switch, power key and wireless switch into a real input device as it was in the deep dark past..
* weird regression: something changed in GNOME, so you can't suspend by dropping the lid (the option has been
  removed from gnome-power-preferences). And because if you suspend with the lid up, the lid switch is not set
  to wake, lifting the lid won't unsuspend. The only way to get the system back is with the power key. Damn
  you GNOME developers.
* weird behavior: smarttop will immediately come back after suspend

7 years agoperiph: unify interrupt and gpio naming
Matt Sealey [Sun, 20 Feb 2011 01:43:40 +0000 (19:43 -0600)]
periph: unify interrupt and gpio naming

7 years agobump to .19
Matt Sealey [Sun, 20 Feb 2011 01:35:09 +0000 (19:35 -0600)]
bump to .19

7 years agosiihdmi: fix div0 when max_tmds_clock is not set in the EDID
Matt Sealey [Sun, 20 Feb 2011 00:02:48 +0000 (18:02 -0600)]
siihdmi: fix div0 when max_tmds_clock is not set in the EDID

7 years agoMove peripheral power and reset into periph.c and out of input.c
Matt Sealey [Sat, 19 Feb 2011 22:00:06 +0000 (16:00 -0600)]
Move peripheral power and reset into periph.c and out of input.c

7 years agorename wwan -> periph
Matt Sealey [Sat, 19 Feb 2011 21:48:32 +0000 (15:48 -0600)]
rename wwan -> periph

7 years agoMerge branch 'master' of gitorious.org:efikamx/linux-kernel
Matt Sealey [Sat, 19 Feb 2011 20:27:37 +0000 (14:27 -0600)]
Merge branch 'master' of gitorious.org:efikamx/linux-kernel

7 years agousb: refine usb initialization by only configuring Host2 on the Smartbook and holding...
Matt Sealey [Sat, 19 Feb 2011 20:17:42 +0000 (14:17 -0600)]
usb: refine usb initialization by only configuring Host2 on the Smartbook and holding the hub hostage while we power stuff up, and before the PHY is reset. This ensures that nothing weird happens on the USB bus while we are tweaking things.

7 years agosbs: dont send i2c messages if the battery is not present
Saleem Abdulrasool [Sat, 19 Feb 2011 19:06:59 +0000 (11:06 -0800)]
sbs: dont send i2c messages if the battery is not present

7 years agosbs: refactor power source presence detection
Saleem Abdulrasool [Sat, 19 Feb 2011 18:36:09 +0000 (10:36 -0800)]
sbs: refactor power source presence detection

Add two utility functions:
   - bool battery_present(const struct sbs_battery *)
   - bool mains_present(const struct sbs_battery *)

7 years agosbs: BUG_ON -> WARN_ON
Saleem Abdulrasool [Sat, 19 Feb 2011 18:32:13 +0000 (10:32 -0800)]
sbs: BUG_ON -> WARN_ON

7 years agosbs: add read/write locking around battery accesses
Saleem Abdulrasool [Sat, 19 Feb 2011 06:57:47 +0000 (22:57 -0800)]
sbs: add read/write locking around battery accesses

7 years agosbs: follow the pattern from sbs_init
Saleem Abdulrasool [Sat, 19 Feb 2011 06:52:44 +0000 (22:52 -0800)]
sbs: follow the pattern from sbs_init

7 years agosbs: constantly read battery info until we succeed
Saleem Abdulrasool [Sat, 19 Feb 2011 05:44:18 +0000 (21:44 -0800)]
sbs: constantly read battery info until we succeed

7 years agosbs: ensure that we have an IRQ resource
Saleem Abdulrasool [Sat, 19 Feb 2011 03:34:42 +0000 (19:34 -0800)]
sbs: ensure that we have an IRQ resource

7 years agosbs: request IRQs first to simplify error handling
Saleem Abdulrasool [Sat, 19 Feb 2011 03:31:13 +0000 (19:31 -0800)]
sbs: request IRQs first to simplify error handling

7 years agosbs: ensure that i2c_client does not have an invalid pointer
Saleem Abdulrasool [Sat, 19 Feb 2011 03:30:38 +0000 (19:30 -0800)]
sbs: ensure that i2c_client does not have an invalid pointer

7 years agosbs: wrap mx51 hack in CONFIG_MACH_MX51_EFIKASB
Saleem Abdulrasool [Sat, 19 Feb 2011 03:20:12 +0000 (19:20 -0800)]
sbs: wrap mx51 hack in CONFIG_MACH_MX51_EFIKASB

7 years agosystem: don't pull the platform include just for one function definition (reboot)
Matt Sealey [Sat, 19 Feb 2011 17:16:55 +0000 (11:16 -0600)]
system: don't pull the platform include just for one function definition (reboot)

7 years agosiihdmi: support CEA extended data blocks, particularly the video capability block...
Matt Sealey [Sat, 19 Feb 2011 15:32:37 +0000 (09:32 -0600)]
siihdmi: support CEA extended data blocks, particularly the video capability block to handle overscan/underscan properly

7 years agocea861: add cea extension blocks
Matt Sealey [Sat, 19 Feb 2011 15:32:12 +0000 (09:32 -0600)]
cea861: add cea extension blocks

7 years agosiihdmi: add underscan/overscan behavior flags
Matt Sealey [Sat, 19 Feb 2011 15:31:47 +0000 (09:31 -0600)]
siihdmi: add underscan/overscan behavior flags

7 years agopower key: correct insanity with ORing things together
Matt Sealey [Sat, 19 Feb 2011 15:18:25 +0000 (09:18 -0600)]
power key: correct insanity with ORing things together

7 years agoaudio: unknown platform = headphone not inserted
Matt Sealey [Sat, 19 Feb 2011 14:41:17 +0000 (08:41 -0600)]
audio: unknown platform = headphone not inserted

7 years agoHeadphone detect is active low on Smartbook. Fixes headphone detection.
Matt Sealey [Sat, 19 Feb 2011 14:24:51 +0000 (08:24 -0600)]
Headphone detect is active low on Smartbook. Fixes headphone detection.

7 years agoWifi power is active low on Smarttop but active high on Smartbook. Switch the state...
Steev Klimaszewski [Sat, 19 Feb 2011 14:23:51 +0000 (08:23 -0600)]
Wifi power is active low on Smarttop but active high on Smartbook. Switch the state around depending on running machine. Fixes wireless on Smarttop.

7 years agoconfig: modularize pata and mmc again, hooray!
Matt Sealey [Fri, 18 Feb 2011 20:50:20 +0000 (14:50 -0600)]
config: modularize pata and mmc again, hooray!

7 years agosb: remove redundant platform
Matt Sealey [Fri, 18 Feb 2011 15:56:49 +0000 (09:56 -0600)]
sb: remove redundant platform

7 years agobump to .18 efikamx-20110217
Matt Sealey [Fri, 18 Feb 2011 07:33:24 +0000 (01:33 -0600)]
bump to .18

7 years agomark your calendars: this is the day one kernel supports both boards efikasb-10.08.00
Matt Sealey [Fri, 18 Feb 2011 07:30:06 +0000 (01:30 -0600)]
mark your calendars: this is the day one kernel supports both boards

one regression: wireless on smarttop has stopped working, probably not being reset properly

7 years agosb: remove redundant unused debug driver
Matt Sealey [Fri, 18 Feb 2011 07:04:16 +0000 (01:04 -0600)]
sb: remove redundant unused debug driver

7 years agoclock: remove if'd out code since we don't use the camera interface anyway
Matt Sealey [Fri, 18 Feb 2011 06:42:35 +0000 (00:42 -0600)]
clock: remove if'd out code since we don't use the camera interface anyway

7 years agohid-core: cleanup EFIKASB specific hack (not needed)
Matt Sealey [Fri, 18 Feb 2011 06:42:10 +0000 (00:42 -0600)]
hid-core: cleanup EFIKASB specific hack (not needed)

7 years agosb: rename _input.c to _switch.c since it handles switches
Matt Sealey [Fri, 18 Feb 2011 02:46:09 +0000 (20:46 -0600)]
sb: rename _input.c to _switch.c since it handles switches

7 years agosb: cleanup include
Matt Sealey [Fri, 18 Feb 2011 02:45:57 +0000 (20:45 -0600)]
sb: cleanup include

7 years agosb: clean up gpio file to remove sim card detection stuff now handled in wwan.c
Matt Sealey [Fri, 18 Feb 2011 02:44:50 +0000 (20:44 -0600)]
sb: clean up gpio file to remove sim card detection stuff now handled in wwan.c

7 years agosb: wwan is now a seperate platform file. remove some weirdo sysfs stuff for power...
Matt Sealey [Fri, 18 Feb 2011 02:38:21 +0000 (20:38 -0600)]
sb: wwan is now a seperate platform file. remove some weirdo sysfs stuff for power control.

7 years agoconfig(sb): revert to previous backlight driver
Matt Sealey [Fri, 18 Feb 2011 02:29:58 +0000 (20:29 -0600)]
config(sb): revert to previous backlight driver

7 years agosb: remove strange and wonderful power subsystem tweaking (will come back better...
Matt Sealey [Fri, 18 Feb 2011 02:12:59 +0000 (20:12 -0600)]
sb: remove strange and wonderful power subsystem tweaking (will come back better, later)

7 years agobacklight: reinstate old backlight driver, pwm_bl cleanups while we're doing it
Matt Sealey [Fri, 18 Feb 2011 01:30:45 +0000 (19:30 -0600)]
backlight: reinstate old backlight driver, pwm_bl cleanups while we're doing it

7 years agoconfig(sb): put the battery back in as a module as it seems to be working again(?)
Matt Sealey [Fri, 18 Feb 2011 01:11:53 +0000 (19:11 -0600)]
config(sb): put the battery back in as a module as it seems to be working again(?)

7 years agosb,mx: less chat, more configuration!
Matt Sealey [Fri, 18 Feb 2011 00:13:37 +0000 (18:13 -0600)]
sb,mx: less chat, more configuration!

7 years agosb: update makefile to include battery driver
Matt Sealey [Fri, 18 Feb 2011 00:05:01 +0000 (18:05 -0600)]
sb: update makefile to include battery driver

7 years agoremove redundant battery twiddling
Matt Sealey [Fri, 18 Feb 2011 00:04:41 +0000 (18:04 -0600)]
remove redundant battery twiddling

7 years agosb: remove redundant battery setup code
Matt Sealey [Thu, 17 Feb 2011 23:59:55 +0000 (17:59 -0600)]
sb: remove redundant battery setup code

7 years agosb: seperate battery platform file
Matt Sealey [Thu, 17 Feb 2011 23:59:26 +0000 (17:59 -0600)]
sb: seperate battery platform file

7 years agosb: common i2c, display platform files, cleanups
Matt Sealey [Thu, 17 Feb 2011 23:32:06 +0000 (17:32 -0600)]
sb: common i2c, display platform files, cleanups

7 years agoi2c: clean up platform file
Matt Sealey [Thu, 17 Feb 2011 23:11:12 +0000 (17:11 -0600)]
i2c: clean up platform file

7 years agoaudio platform: tweak some stuff and register the audio codec i2c data here too
Matt Sealey [Thu, 17 Feb 2011 23:07:22 +0000 (17:07 -0600)]
audio platform: tweak some stuff and register the audio codec i2c data here too

7 years agolcd platform data member name change
Matt Sealey [Thu, 17 Feb 2011 23:06:01 +0000 (17:06 -0600)]
lcd platform data member name change

7 years agoledtrig-backlight: futile attempt to make the backlight turn on sooner by doing it...
Matt Sealey [Thu, 17 Feb 2011 21:41:15 +0000 (15:41 -0600)]
ledtrig-backlight: futile attempt to make the backlight turn on sooner by doing it at FB registration. Seems we need to do it even sooner..

7 years agoconfig(sb): new backlight subsystem. disable battery as it's locking on boot.
Matt Sealey [Thu, 17 Feb 2011 17:02:22 +0000 (11:02 -0600)]
config(sb): new backlight subsystem. disable battery as it's locking on boot.

7 years agosb: improved backlight driver using standard LED trigger subsystem and leds-pwm contr...
Matt Sealey [Thu, 17 Feb 2011 17:00:34 +0000 (11:00 -0600)]
sb: improved backlight driver using standard LED trigger subsystem and leds-pwm controller

Note: it is not hooked into the backlight subsystem so the brightness keys no longer work as of yet

Also, Alarm LED is active low, make that known

7 years agoleds-pwm: add a default brightness to the platform data
Matt Sealey [Thu, 17 Feb 2011 17:00:20 +0000 (11:00 -0600)]
leds-pwm: add a default brightness to the platform data

7 years agosb: remove redundant SPI setup
Matt Sealey [Thu, 17 Feb 2011 16:29:21 +0000 (10:29 -0600)]
sb: remove redundant SPI setup

7 years agosb: common SPI platform file
Matt Sealey [Thu, 17 Feb 2011 16:13:34 +0000 (10:13 -0600)]
sb: common SPI platform file

7 years agoi2c: clean up platform file by removing data for old sii9022 driver
Matt Sealey [Thu, 17 Feb 2011 15:52:22 +0000 (09:52 -0600)]
i2c: clean up platform file by removing data for old sii9022 driver

7 years agosb leds: don't turn on the alarm led by default
Matt Sealey [Thu, 17 Feb 2011 15:47:15 +0000 (09:47 -0600)]
sb leds: don't turn on the alarm led by default

7 years agosb: unmodularize audio and don't bother with SPDIF
Matt Sealey [Wed, 16 Feb 2011 13:18:33 +0000 (07:18 -0600)]
sb: unmodularize audio and don't bother with SPDIF

7 years agosb: missed a use of the removed backlight power member of lcd platform data
Matt Sealey [Wed, 16 Feb 2011 11:39:23 +0000 (05:39 -0600)]
sb: missed a use of the removed backlight power member of lcd platform data

7 years agosb: don't init_audio twice
Matt Sealey [Wed, 16 Feb 2011 08:54:50 +0000 (02:54 -0600)]
sb: don't init_audio twice

7 years agoMerge remote branch 'origin/efikasb-10.08.00' into efikasb-10.08.00
Matt Sealey [Wed, 16 Feb 2011 07:40:13 +0000 (01:40 -0600)]
Merge remote branch 'origin/efikasb-10.08.00' into efikasb-10.08.00

7 years agomtl017: remove backlight hacking around in the panel driver
Matt Sealey [Wed, 16 Feb 2011 07:37:00 +0000 (01:37 -0600)]
mtl017: remove backlight hacking around in the panel driver

7 years agosb: add new LED framework, delete the old one
Matt Sealey [Wed, 16 Feb 2011 07:05:17 +0000 (01:05 -0600)]
sb: add new LED framework, delete the old one

7 years agosb: remove custom LED driver
Matt Sealey [Wed, 16 Feb 2011 07:00:54 +0000 (01:00 -0600)]
sb: remove custom LED driver

7 years agosb: remove led support
Matt Sealey [Wed, 16 Feb 2011 07:00:29 +0000 (01:00 -0600)]
sb: remove led support

7 years agoremove platform specific led hack from input core subsystem
Matt Sealey [Wed, 16 Feb 2011 06:59:34 +0000 (00:59 -0600)]
remove platform specific led hack from input core subsystem

7 years agoleds: reinstate Peter Korsgaard's awesome LED input trigger
Matt Sealey [Wed, 16 Feb 2011 06:57:35 +0000 (00:57 -0600)]
leds: reinstate Peter Korsgaard's awesome LED input trigger

7 years agosbs: Hack for LGC0
Steev Klimaszewski [Wed, 16 Feb 2011 05:46:03 +0000 (23:46 -0600)]
sbs: Hack for LGC0

The battery for the EfikaMX Smartbook reports itself as LGC0 however the battery states that it is Li-Ion.

7 years agomx,sb: common cpu init, cleanup display init for smartbook
Matt Sealey [Wed, 16 Feb 2011 04:57:36 +0000 (22:57 -0600)]
mx,sb: common cpu init, cleanup display init for smartbook

* use common CPU (dvfs etc.) initialization for both platforms
* also a header cleanup for smartbook
* move IPU init into the init_display function for smartbook (not unified but on the way)

7 years agomx: clean up cpu file some more
Matt Sealey [Wed, 16 Feb 2011 04:41:18 +0000 (22:41 -0600)]
mx: clean up cpu file some more

7 years agomx,sb: start on unifying display platform file, but don't hook it into smartbook yet
Matt Sealey [Wed, 16 Feb 2011 04:40:15 +0000 (22:40 -0600)]
mx,sb: start on unifying display platform file, but don't hook it into smartbook yet

7 years agoremove that annoying "highmem defined but not used" warning
Matt Sealey [Wed, 16 Feb 2011 04:39:45 +0000 (22:39 -0600)]
remove that annoying "highmem defined but not used" warning

7 years agomx,sb: actually init iomux for uart again
Matt Sealey [Wed, 16 Feb 2011 04:35:03 +0000 (22:35 -0600)]
mx,sb: actually init iomux for uart again

7 years agoserial: conditionalize uart2 and uart3 registration for efikamx/efikasb to remove...
Matt Sealey [Wed, 16 Feb 2011 04:32:09 +0000 (22:32 -0600)]
serial: conditionalize uart2 and uart3 registration for efikamx/efikasb to remove the warnings on build

7 years agosb: remove UART pin iomux (MX51 Boot ROM and U-Boot set these up anyway)
Matt Sealey [Wed, 16 Feb 2011 04:25:55 +0000 (22:25 -0600)]
sb: remove UART pin iomux (MX51 Boot ROM and U-Boot set these up anyway)

7 years agosb: clean up board file
Matt Sealey [Wed, 16 Feb 2011 04:23:31 +0000 (22:23 -0600)]
sb: clean up board file

7 years agomx: clean up board file
Matt Sealey [Wed, 16 Feb 2011 04:21:40 +0000 (22:21 -0600)]
mx: clean up board file

7 years agoserial: only register first port
Matt Sealey [Wed, 16 Feb 2011 04:16:40 +0000 (22:16 -0600)]
serial: only register first port

7 years agomx: clean up CPU init
Matt Sealey [Wed, 16 Feb 2011 04:16:04 +0000 (22:16 -0600)]
mx: clean up CPU init

7 years agoonly configure and grab CD pin on SDHC1 where there's a CD pin to grab
Matt Sealey [Wed, 16 Feb 2011 03:38:57 +0000 (21:38 -0600)]
only configure and grab CD pin on SDHC1 where there's a CD pin to grab

7 years agommc: correct smartbook cd pin in carrier detect helper function
Matt Sealey [Wed, 16 Feb 2011 03:35:18 +0000 (21:35 -0600)]
mmc: correct smartbook cd pin in carrier detect helper function

7 years agosb: common platform file for mmc support
Matt Sealey [Wed, 16 Feb 2011 03:32:22 +0000 (21:32 -0600)]
sb: common platform file for mmc support

7 years agosb: common platform file for ATA setup
Matt Sealey [Wed, 16 Feb 2011 02:48:45 +0000 (20:48 -0600)]
sb: common platform file for ATA setup

7 years agosb: remove gps iomux, power config and attributes for pin status
Matt Sealey [Wed, 16 Feb 2011 02:41:12 +0000 (20:41 -0600)]
sb: remove gps iomux, power config and attributes for pin status

7 years agosb: move platform audio to common file
Matt Sealey [Wed, 16 Feb 2011 02:35:49 +0000 (20:35 -0600)]
sb: move platform audio to common file

* common audio init file for both boards
* only init spdif on smarttop
* correct Makefile

7 years agosb: clean up to prep for platform merge
Matt Sealey [Wed, 16 Feb 2011 01:30:53 +0000 (19:30 -0600)]
sb: clean up to prep for platform merge

* "unwrap" platform data etc. and initialization - no harm in initializing platform_devices if no driver is loaded in most cases
* remove spdif since Smartbook doesn't connect it
* remove GPS since it's not in production units and the mxc gps ioctl support is not for the one on the schematics
* little re-ordering of code to make things that are similar closer together

7 years agoframebuffer: conditional so that bpp= argument to kernel will override the pixfmt...
Matt Sealey [Tue, 15 Feb 2011 08:24:55 +0000 (02:24 -0600)]
framebuffer: conditional so that bpp= argument to kernel will override the pixfmt check when required

7 years agoframebuffer: method for selecting a close bpp by default that matches the IPU DI...
Matt Sealey [Mon, 14 Feb 2011 08:52:44 +0000 (02:52 -0600)]
framebuffer: method for selecting a close bpp by default that matches the IPU DI connected lines from platform data. MX will get 32-bit by default and SB will get 16-bit by default without much trouble

7 years agoframebuffer: don't give default modes since hdmi and panel drivers will always change it
Matt Sealey [Mon, 14 Feb 2011 08:16:01 +0000 (02:16 -0600)]
framebuffer: don't give default modes since hdmi and panel drivers will always change it

7 years agoframebuffer: stubbornly refuse to set up the panel for anything less than 12.5MHz...
Matt Sealey [Mon, 14 Feb 2011 08:14:33 +0000 (02:14 -0600)]
framebuffer: stubbornly refuse to set up the panel for anything less than 12.5MHz (fixes IPU_INT_STAT on boot)

7 years agosiihdmi: fix kfree/i2c_set_clientdata ordering so the driver never has a freed block...
Matt Sealey [Mon, 14 Feb 2011 06:24:14 +0000 (00:24 -0600)]
siihdmi: fix kfree/i2c_set_clientdata ordering so the driver never has a freed block as clientdata, for correctness (never happens in real life)

7 years agosiihdmi: remove mx-specific timeouts so we can narrow it down (yes, it will cause...
Matt Sealey [Mon, 14 Feb 2011 06:23:21 +0000 (00:23 -0600)]
siihdmi: remove mx-specific timeouts so we can narrow it down (yes, it will cause IPU_INT_STAT debug on boot now, again)