6 years agoENGR00143575 IPUv3:Align IDMAC BS with DMFC FIFO BS
Matt Sealey [Tue, 28 Jun 2011 22:47:56 +0000 (17:47 -0500)]
ENGR00143575 IPUv3:Align IDMAC BS with DMFC FIFO BS

This patch aligns IDMAC burst size and DMFC FIFO burst
size to get better performance and workarounds black
flash issue when playing video on DP-FG with full
screen mode at 1024x768M@60.

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
(cherry picked from commit 0e81c738566c2c97541dd92a5978c756b5c22e76)
(cherry picked from commit bbf3e59476f8e2b2453bd5a90664514ed3568207)



6 years agoENGR00142683 IPUv3:Increase IDMAC BS for RGBP and DMFC BS
Liu Ying [Fri, 6 May 2011 07:19:46 +0000 (15:19 +0800)]
ENGR00142683 IPUv3:Increase IDMAC BS for RGBP and DMFC BS

This patch increases IDMAC burst size from 16 pixels to
32 pixels for RGBP pixel format and increases DMFC burst
size to 128 pixels to workaround 1080P60 display video
black flash issue.

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
(cherry picked from commit c9fbed971c5a1adf7c727a6b1eba67e179bd1502)

6 years agoIPU Triple Buffering support
Matt Sealey [Tue, 28 Jun 2011 22:20:21 +0000 (17:20 -0500)]
IPU Triple Buffering support

6 years agofix build warning in sgtl5000 board support. Also match Freescale's change for a...
Matt Sealey [Tue, 28 Jun 2011 21:57:57 +0000 (16:57 -0500)]
fix build warning in sgtl5000 board support. Also match Freescale's change for a previously independently fixed build warning.

6 years agoremove innocuous build warning from amd-gpu driver
Matt Sealey [Tue, 28 Jun 2011 21:56:19 +0000 (16:56 -0500)]
remove innocuous build warning from amd-gpu driver

6 years agoENGR00144309 do nothing if the core frequency is not changed
Lily Zhang [Tue, 28 Jun 2011 21:51:16 +0000 (16:51 -0500)]
ENGR00144309 do nothing if the core frequency is not changed

When the system enters low bus frequency mode by executing the
following operations, the system enters dead loop to check
arm_podf_busy bit:

1. Store the rootfs on SD card.
2. type "echo 8 > /proc/sys/kernel/printk"
3. type "echo 1 > /sys/devices/platform/mxc_dvfs_core.0/enable"
4. type "ifconfig eth0 down"
5. type "echo 1 > /sys/class/graphics/fb0/blank"
6. The system enters low bus frequency mode. And it keeps

to print "ARM_PODF still in busy!!!!"

6 years agoReorder PATA pins to match docs (S 4-90, Table 4-2) even though it looks less logical
Matt Sealey [Tue, 28 Jun 2011 21:35:57 +0000 (16:35 -0500)]
Reorder PATA pins to match docs (S 4-90, Table 4-2) even though it looks less logical

6 years agoaudio: refine clock for SGTL5000
Matt Sealey [Tue, 28 Jun 2011 20:51:21 +0000 (15:51 -0500)]
audio: refine clock for SGTL5000

6 years agoRevert "ENGR00142683 IPUv3:Increase IDMAC BS for RGBP and DMFC BS"
Matt Sealey [Tue, 28 Jun 2011 20:36:42 +0000 (15:36 -0500)]
Revert "ENGR00142683 IPUv3:Increase IDMAC BS for RGBP and DMFC BS"

Actually this re-introduced the black screen for some odd reason :(

This reverts commit f3b85b1ba2c5930e0cb39a72f397df45c7187172.

6 years agoENGR00143681 GPU: update z430 microcode
Richard Zhao [Thu, 19 May 2011 13:59:06 +0000 (21:59 +0800)]
ENGR00143681 GPU: update z430 microcode

The new microcode fix some easy hang issues.

Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
(cherry picked from commit a48455dbea90720cba4be3e827e8b90e6abffd7d)
(cherry picked from commit cf09e2bac1cac560c6019332c37676b919700dda)

6 years agoENGR00141552 ipuv3: fix display pin's power leak
Jason Chen [Tue, 17 May 2011 05:13:15 +0000 (13:13 +0800)]
ENGR00141552 ipuv3: fix display pin's power leak

If you disable display, the display port's pin may keep high voltage which
may cause power leakage. Fix this issue by make all pin go into low level
after display disable.

Signed-off-by: Jason Chen <b02280@freescale.com>
(cherry picked from commit 165df9e8d525082e70a165516e2bcd1d0529b148)

6 years agoENGR00142683 IPUv3:Increase IDMAC BS for RGBP and DMFC BS
Liu Ying [Fri, 6 May 2011 07:19:46 +0000 (15:19 +0800)]
ENGR00142683 IPUv3:Increase IDMAC BS for RGBP and DMFC BS

This patch increases IDMAC burst size from 16 pixels to
32 pixels for RGBP pixel format and increases DMFC burst
size to 128 pixels to workaround 1080P60 display video
black flash issue.

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
(cherry picked from commit c9fbed971c5a1adf7c727a6b1eba67e179bd1502)

6 years agoRemove preallocation of framebuffer and GPU memory in favor of being nice and dynamic...
Matt Sealey [Tue, 28 Jun 2011 20:08:08 +0000 (15:08 -0500)]
Remove preallocation of framebuffer and GPU memory in favor of being nice and dynamic. Note that GPU memory reserved is entirely down to the MMU now, and framebuffer memory is "size of framebuffer" rounded up to 1MB block.

Everything still works.

Includes a Wild mashup of Freescale ENGR00143019 which concludes GPU MMU support for the platform.

6 years agoENGR00143019-2 GPU: enable MMU
Zhou, Jie [Thu, 5 May 2011 17:11:16 +0000 (01:11 +0800)]
ENGR00143019-2 GPU: enable MMU

With MMU enabled, there is no need to reserve memory for GPU
at boot time

Signed-off-by: Zhou, Jie <b30303@freescale.com>
(cherry picked from commit 326da1d885108399f4e22d10a8fe341a7a110ffc)

6 years agoENGR00142351 mxc_gpu: autogating: add pending flag
Zhou, Jie [Wed, 20 Apr 2011 15:41:40 +0000 (23:41 +0800)]
ENGR00142351 mxc_gpu: autogating: add pending flag

pending indicate the timer has been fired but clock not yet disabled.

This patch fixs the bug that sometimes in irq handle it tries to enable
clock and cause BUG.

Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
(cherry picked from commit 4b73c7a14fdebbd1240dbb1f5e4efa5b7a65f63c)

6 years agoENGR00141400 GPU: Improve GPU clock gating
Zhou, Jie [Thu, 31 Mar 2011 17:01:27 +0000 (01:01 +0800)]
ENGR00141400 GPU: Improve GPU clock gating

seperate interrupt handling and clk_enable for Z160 and Z430

Signed-off-by: Zhou, Jie <b30303@freescale.com>
(cherry picked from commit 7da21af984a50ffb166ab1a088cd2c5d4313537b)

6 years agoENGR00141161 ipuv3: add bgr24 fmt support for di
Jason Chen [Fri, 25 Mar 2011 05:47:44 +0000 (13:47 +0800)]
ENGR00141161 ipuv3: add bgr24 fmt support for di

add bgr24 fmt support for di

Signed-off-by: Jason Chen <b02280@freescale.com>
6 years agoENGR00143309: fix yres_virtual to be 3*yres
Matt Sealey [Mon, 27 Jun 2011 21:59:07 +0000 (16:59 -0500)]
ENGR00143309: fix yres_virtual to be 3*yres

7 years agoRevert "Disable IPU output format matching, will be 16-bit for every one now."
Matt Sealey [Tue, 14 Jun 2011 19:26:41 +0000 (14:26 -0500)]
Revert "Disable IPU output format matching, will be 16-bit for every one now."

FlashPlayer 11.05 BSP has been fixed to support 32-bit modes so it will function
correctly on Smarttop now. GPU performance hit is still noticable but the extra
colour definition more than makes up for it. Smartbook is not affected.

This reverts commit 1ce3ee7a5a42d8121a1d297f44319498aa839103.

7 years agosiihdmi: don't match resolution in siihdmi_find_best_mode because it breaks the prefe...
Matt Sealey [Tue, 14 Jun 2011 03:13:02 +0000 (22:13 -0500)]
siihdmi: don't match resolution in siihdmi_find_best_mode because it breaks the preferred mode when teneighty=seventwenty=0

7 years agosiihdmi: rework mode selection
Matt Sealey [Tue, 14 Jun 2011 01:23:13 +0000 (20:23 -0500)]
siihdmi: rework mode selection

* 720p and 1080p are now attempted on DVI monitors on the revelation that some DVI monitors can display real CEA-style modes
* use the fb_find_best_nearest_mode function to better select resolutions and refresh rates
* cleanups

7 years agofb_find_best_nearest_mode - actually pick highest refresh this time
Matt Sealey [Tue, 14 Jun 2011 01:02:47 +0000 (20:02 -0500)]
fb_find_best_nearest_mode - actually pick highest refresh this time
also optimize out the abs, since mode > cmode, it will always be positive

7 years agofb: add a new mode matching function fb_find_best_nearest_mode
Matt Sealey [Tue, 14 Jun 2011 00:51:55 +0000 (19:51 -0500)]
fb: add a new mode matching function fb_find_best_nearest_mode

The intent is that if you have a native panel resolution of 1920x1080@60 but this cannot
be displayed, you can find the nearest resolution with the HIGHEST refresh rate (fb_find_nearest_mode
only selects the CLOSEST refresh rate). It also, by virtue of some rather unintended
side effect, picks better matches (1680x1050->1440x900) than find_nearest (1680x1050->1280x1024)
when it comes to widescreen modes.

7 years agosiihdmi: don't use fb_var_screeninfo more often than we have to, considering that...
Matt Sealey [Tue, 14 Jun 2011 00:32:17 +0000 (19:32 -0500)]
siihdmi: don't use fb_var_screeninfo more often than we have to, considering that we always have a valid fb_videomode

small optimizations come with this:
* no longer redundantly recalculate refresh rate just to print it when setting resolution
* can use siihdmi_dump_single_modeline to print the modeline for Setting Resolution (more descriptive)
* less variables in use where we don't need var but have mode
* less data copying where we don't need var but have mode (since fb_videomode_to_var sets ~15 fields from mode)
* more const variables passed to functions

7 years agosiihdmi: fix refresh rate calculation for vmode registers
Matt Sealey [Mon, 13 Jun 2011 23:22:22 +0000 (18:22 -0500)]
siihdmi: fix refresh rate calculation for vmode registers

also as a cleanliness issue, remove the redundant remainder variable and clean up some
printk arguments to remove a warning or two.

7 years ago[ARM] wire up sys_accept4() on ARM
Steev Klimaszewski [Fri, 10 Jun 2011 00:28:48 +0000 (19:28 -0500)]
[ARM] wire up sys_accept4() on ARM

sys_accept4() was added in kernel 2.6.28, but ARM was not updated
to include it.  The number and types of parameters is such that
no ARM-specific processing is needed, so wiring up sys_accept4()
just requires defining __NR_accept4 and adding a direct call in
the syscall entry table.

7 years agoHDMI updates
Matt Sealey [Wed, 8 Jun 2011 20:59:11 +0000 (15:59 -0500)]
HDMI updates

* use CEA mode 4 (720p60) instead of 19 (720p50) to improve compatibility for fallback mode
* Remove IPU bandwidth warning as this has been worked around to some degree in other parts of the kernel
* Refactor CEA duplicate culling such that on DVI monitors, the CEA mode is removed instead of the IT mode
* Switch siihdmi.useitmodes=1 to force DVI culling behavior on
* Do not enforce lower_margin limit for HDMI on DVI monitors

7 years agomodify config to build-in PATA and MMC subsystems. Doesn't make a lot of sense
Matt Sealey [Wed, 8 Jun 2011 14:49:48 +0000 (09:49 -0500)]
modify config to build-in PATA and MMC subsystems. Doesn't make a lot of sense
to modularize these in the grand scheme of things even if this is what Ubuntu
tends to do (it is not as if we have PCI slots and potential for multiple
different options).

7 years agoBump to .23
Matt Sealey [Wed, 8 Jun 2011 14:14:47 +0000 (09:14 -0500)]
Bump to .23

7 years agosgtl5000: make register write errors (which are innocuous) less chatty
Matt Sealey [Thu, 19 May 2011 12:38:24 +0000 (07:38 -0500)]
sgtl5000: make register write errors (which are innocuous) less chatty

7 years agoBump to for release
Steev Klimaszewski [Tue, 3 May 2011 19:01:08 +0000 (14:01 -0500)]
Bump to for release

7 years agobacklight: check for framebuffer id before doing any notifier work
Matt Sealey [Mon, 2 May 2011 04:24:41 +0000 (23:24 -0500)]
backlight: check for framebuffer id before doing any notifier work

second step to fixing the cheese bug

7 years agowrap framebuffer notifications in a check for the running framebuffer.
Matt Sealey [Mon, 2 May 2011 04:17:58 +0000 (23:17 -0500)]
wrap framebuffer notifications in a check for the running framebuffer.

hopefully this starts to solve the "install cheese, run cheese, close cheese"
bug where the backlight gets turned off on Smartbook.

7 years agommc: set drive voltage to 3.3V for SD cards, should solve all those CRC errors
Matt Sealey [Mon, 2 May 2011 04:17:14 +0000 (23:17 -0500)]
mmc: set drive voltage to 3.3V for SD cards, should solve all those CRC errors

7 years agosiihdmi: disable 1080p output by default
Steev Klimaszewski [Mon, 2 May 2011 03:06:38 +0000 (22:06 -0500)]
siihdmi: disable 1080p output by default

Due to performance issues, disable 1080p output by default, we will choose a
720p mode first, and if we can't find that, we then try to choose a native
output, and barring that, we default to 1280x720.  You should still be able to
add siihdmi.teneighty=1 to your bootargs if you wish to output in 1080p

7 years agomxc_ipuv3_fb: mask out the error init panel msg
Matt Sealey [Sun, 1 May 2011 22:54:56 +0000 (17:54 -0500)]
mxc_ipuv3_fb: mask out the error init panel msg

7 years agosiihdmi: refresh rate fix
Martin Krastev [Sun, 1 May 2011 22:53:37 +0000 (17:53 -0500)]
siihdmi: refresh rate fix

7 years agoMerge branch 'master' of gitorious.org:efikamx/linux-kernel
Matt Sealey [Wed, 20 Apr 2011 15:25:17 +0000 (10:25 -0500)]
Merge branch 'master' of gitorious.org:efikamx/linux-kernel

7 years agofix a warning introduced in headphone detect handler
Matt Sealey [Wed, 20 Apr 2011 15:23:44 +0000 (10:23 -0500)]
fix a warning introduced in headphone detect handler

7 years agoENGR00137340 Add headphone detection in imx5x.
Zhang Jiejing [Wed, 20 Apr 2011 15:16:40 +0000 (10:16 -0500)]
ENGR00137340 Add headphone detection in imx5x.

Report uevent when headphone detect part is changed.

Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
7 years agoENGR00140700 GPU: fix tiger run the second time causing system hang
Richard Zhao [Wed, 20 Apr 2011 15:14:10 +0000 (10:14 -0500)]
ENGR00140700 GPU: fix tiger run the second time causing system hang

The root cause is endless GSL_INTR_BLOCK_YDX_CP interrupt.
Apply interrupt status read work around only when yamato started.

Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
7 years agoENGR00140460 spdif: Fix spdif can't playback at the first bootup
Zeng Zhaoming [Wed, 20 Apr 2011 15:12:18 +0000 (10:12 -0500)]
ENGR00140460 spdif: Fix spdif can't playback at the first bootup

spdif can't playback at system first bootup, write I/O error print out.
This problem is caused by DMA channel not requested before enable spdif dma
trigger register.

Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
7 years agoENGR00140050 GPU: workaround hang with heavy bus loading
Zhou, Jie [Wed, 20 Apr 2011 15:06:53 +0000 (10:06 -0500)]
ENGR00140050 GPU: workaround hang with heavy bus loading

The GPU hang when run two cubes together with one video playback.
According to the suggestion from AMD, we'd better not read register
when GPU active, especially for CP block.

Signed-off-by: Zhou, Jie <b30303@freescale.com>
7 years agofbdev: Fix fb_find_nearest_mode refresh comparison
Andrew Kephart [Mon, 13 Dec 2010 15:46:34 +0000 (09:46 -0600)]
fbdev: Fix fb_find_nearest_mode refresh comparison

Refresh rate nearness is not calculated or reset when nearest resolution

This patch resets the refresh rate differential measurement whenever a
new nearest resolution is discovered.  This fixes two error cases;
first, wherein the first mode's refresh rate differential is never
calculated and second, when the closest refresh rate from a previous
nearest resolution is erroneously preserved.

Signed-off-by: Andrew Kephart <andrew.kephart@alereon.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
7 years agoENGR00139345 MX51: clock: gpu depends on emi_fast clock
Zhang Jiejing [Wed, 20 Apr 2011 15:01:39 +0000 (10:01 -0500)]
ENGR00139345 MX51: clock: gpu depends on emi_fast clock

MX51 will hang if gpu is running when emi_fast was disabled,
add depends on clock tree to fix it.

Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
7 years agoENGR00139321 ipuv3: add YV12 format support
Jason Chen [Wed, 20 Apr 2011 15:01:16 +0000 (10:01 -0500)]
ENGR00139321 ipuv3: add YV12 format support

Add YV12 format support.

Signed-off-by: Jason Chen <b02280@freescale.com>
7 years agoFix pad control for power key (based on ENGR00138697) not to have PKE
Matt Sealey [Wed, 20 Apr 2011 14:49:14 +0000 (09:49 -0500)]
Fix pad control for power key (based on ENGR00138697) not to have PKE

7 years agoENGR00138520 IPUv3:Correct IPU spinlock logic
Liu Ying [Wed, 20 Apr 2011 14:47:29 +0000 (09:47 -0500)]
ENGR00138520 IPUv3:Correct IPU spinlock logic

1) Fix the double locking IPU spinlock issue.
2) Protect g_channel_enable_mask with IPU spinlock.

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
7 years agomxc_ipuv3_fb: Change resolution to 640x480
Steev Klimaszewski [Thu, 14 Apr 2011 23:22:56 +0000 (18:22 -0500)]
mxc_ipuv3_fb: Change resolution to 640x480

The previous fix of 800x600 fixes the frame buffer issue, but I had the x and
y resolutions switched, and since 640x480 uses less memory, switch to that.

7 years agomxc_ipuv3_fb: Increase the size of initial fb
Steev Klimaszewski [Wed, 13 Apr 2011 04:02:40 +0000 (23:02 -0500)]
mxc_ipuv3_fb: Increase the size of initial fb

The initial framebuffer is set to 320x240.  This seems to cause issues with
plymouth and displaying text, so increase it to default to 800x600.  This fixes
the headless boot issue.

7 years agoDisable IPU output format matching, will be 16-bit for every one now.
Matt Sealey [Tue, 12 Apr 2011 02:30:15 +0000 (21:30 -0500)]
Disable IPU output format matching, will be 16-bit for every one now.

7 years agoIPU & Flash 10.1 performance improvement
Matt Sealey [Tue, 12 Apr 2011 01:32:10 +0000 (20:32 -0500)]
IPU & Flash 10.1 performance improvement

7 years agosync minor framebuffer and overlay twiddlings to 11.01 BSP
Matt Sealey [Tue, 12 Apr 2011 01:28:49 +0000 (20:28 -0500)]
sync minor framebuffer and overlay twiddlings to 11.01 BSP

7 years agoENGR00137973 MX53_TO2: DVFS core caused system hang
Nancy Chen [Thu, 13 Jan 2011 20:29:03 +0000 (14:29 -0600)]
ENGR00137973 MX53_TO2: DVFS core caused system hang

MX53_TO2: DVFS core caused system hang.

Signed-off-by: Nancy Chen <Nancy.Chen@freescale.com>
7 years agofix siihdmi probing. commence mild self-flagellation.
Matt Sealey [Wed, 16 Mar 2011 05:06:52 +0000 (00:06 -0500)]
fix siihdmi probing. commence mild self-flagellation.

7 years ago4 changes for HDMI
Matt Sealey [Wed, 9 Mar 2011 23:34:51 +0000 (17:34 -0600)]
4 changes for HDMI

* prep for 2.6.35 and a coexisting "sii9022" driver from Freescale by calling ours "siihdmi" as per the filename
* never put the chip into D3 power off state if we cannot hotplug the chip out of it
* semi-catch setting a mode with a null fb_videomode argument, since this is impossible to perform (there may be other places this needs handling, and there should be a healthy fallback)
* don't perform fb_videomode_to_var for screen blanking, and simplify blanking functions to not require fb_videomode_to_var since they do not actually use them

7 years agobump version
Matt Sealey [Tue, 8 Mar 2011 00:02:06 +0000 (18:02 -0600)]
bump version

7 years agoonly enable peripheral power management on the Smartbook. On the Smarttop
Matt Sealey [Tue, 8 Mar 2011 00:00:50 +0000 (18:00 -0600)]
only enable peripheral power management on the Smartbook. On the Smarttop
with very high resolution displays, power management causes serious performance
regressions which we cannot really accept when it comes to video playback
and other features. However, Smartbook display resolution is low enough and
power usage is important enough that we should leave it on for those systems

7 years agoadd sahara modules for convenience of curious developers
Matt Sealey [Mon, 7 Mar 2011 23:59:31 +0000 (17:59 -0600)]
add sahara modules for convenience of curious developers

7 years agoamd-gpu: enable limiting of in-flight AXI transactions for Z160 GPU
Matt Sealey [Sun, 6 Mar 2011 22:52:35 +0000 (16:52 -0600)]
amd-gpu: enable limiting of in-flight AXI transactions for Z160 GPU

7 years agosiihdmi: only enact the 1080p and 720p checks if we're on an HDMI sink, as DVI sinks...
Matt Sealey [Mon, 28 Feb 2011 17:47:42 +0000 (11:47 -0600)]
siihdmi: only enact the 1080p and 720p checks if we're on an HDMI sink, as DVI sinks are usually not going to contain 1080p and 720p modes anyway.

7 years agoscc2: export pertinent symbols so we can build as modules
Matt Sealey [Thu, 24 Feb 2011 05:52:03 +0000 (23:52 -0600)]
scc2: export pertinent symbols so we can build as modules

7 years agoi2c: fix platform data for mxc_i2c driver, it won't load any drivers though as the...
Matt Sealey [Thu, 24 Feb 2011 05:51:33 +0000 (23:51 -0600)]
i2c: fix platform data for mxc_i2c driver, it won't load any drivers though as the index in i2c_register_board_info will be different for this driver

7 years agodisplay: remove redundant axi_b_clk set
Matt Sealey [Thu, 24 Feb 2011 04:35:54 +0000 (22:35 -0600)]
display: remove redundant axi_b_clk set

7 years agosbs: fix for battery status active low change
Matt Sealey [Thu, 24 Feb 2011 03:22:15 +0000 (21:22 -0600)]
sbs: fix for battery status active low change

7 years agoefikamx: header cleanup duplicated extern definition
Matt Sealey [Wed, 23 Feb 2011 20:28:32 +0000 (14:28 -0600)]
efikamx: header cleanup duplicated extern definition

7 years agoinput: correct AC insert/remove debug
Matt Sealey [Wed, 23 Feb 2011 17:42:10 +0000 (11:42 -0600)]
input: correct AC insert/remove debug

7 years agocpu platform: restore SRTC registration
Matt Sealey [Wed, 23 Feb 2011 16:57:36 +0000 (10:57 -0600)]
cpu platform: restore SRTC registration

7 years agopoweroff: looks like a Smartbookism crept into the code for Smarttop. Shutdown now...
Matt Sealey [Wed, 23 Feb 2011 16:40:30 +0000 (10:40 -0600)]
poweroff: looks like a Smartbookism crept into the code for Smarttop. Shutdown now works properly.

7 years agopoweroff: non-working attempt to get Smarttop to power down and be able to come back...
Matt Sealey [Wed, 23 Feb 2011 07:51:05 +0000 (01:51 -0600)]
poweroff: non-working attempt to get Smarttop to power down and be able to come back again (you need to yank the power cord again.. not sure what has changed at all).

7 years agosimcard: delay for msecs_to_jiffies instead of jiffies_to_msecs for more responsive...
Matt Sealey [Wed, 23 Feb 2011 07:07:34 +0000 (01:07 -0600)]
simcard: delay for msecs_to_jiffies instead of jiffies_to_msecs for more responsive insertion event

7 years agobattery: correct insertion/removal debug after state change changes in previous patch
Matt Sealey [Wed, 23 Feb 2011 07:05:58 +0000 (01:05 -0600)]
battery: correct insertion/removal debug after state change changes in previous patch

7 years ago"debounce" sim detection interrupt by running it as delayed work
Matt Sealey [Wed, 23 Feb 2011 06:43:23 +0000 (00:43 -0600)]
"debounce" sim detection interrupt by running it as delayed work

7 years agosimcard: less obtuse
Matt Sealey [Wed, 23 Feb 2011 05:46:37 +0000 (23:46 -0600)]
simcard: less obtuse

7 years agoperipherals: rework power low/high stuff, less tweaking of the real values, more...
Matt Sealey [Wed, 23 Feb 2011 05:44:48 +0000 (23:44 -0600)]
peripherals: rework power low/high stuff, less tweaking of the real values, more documentation

7 years agoinput: make battery status functions return board-level values (active low) instead...
Matt Sealey [Wed, 23 Feb 2011 05:33:02 +0000 (23:33 -0600)]
input: make battery status functions return board-level values (active low) instead of fiddling them

7 years agoaudio: commit a schematic oddity (not enabled) for posterity
Matt Sealey [Wed, 23 Feb 2011 05:21:57 +0000 (23:21 -0600)]
audio: commit a schematic oddity (not enabled) for posterity

7 years agopoweroff: mxc_wd_reset isn't needed at all, in fact..
Matt Sealey [Wed, 23 Feb 2011 05:11:23 +0000 (23:11 -0600)]
poweroff: mxc_wd_reset isn't needed at all, in fact..

7 years agopoweroff: refine power off function to properly merge SB and MX differences (not...
Matt Sealey [Wed, 23 Feb 2011 05:09:22 +0000 (23:09 -0600)]
poweroff: refine power off function to properly merge SB and MX differences (not many) - also correct missing IOMUX_TO_GPIO, and make sure we actually toggle the state (power off line responds to the rising edge)

7 years agopower: don't call mxc_wd_reset(); when we actually want to shut down. Ironically...
Matt Sealey [Wed, 23 Feb 2011 05:02:59 +0000 (23:02 -0600)]
power: don't call mxc_wd_reset(); when we actually want to shut down. Ironically it actually resets so I wonder why we do that weird watchdog pin for arch_reset..

7 years agobump to .20 - final release for 2.6.31 series
Matt Sealey [Tue, 22 Feb 2011 02:18:30 +0000 (20:18 -0600)]
bump to .20 - final release for 2.6.31 series

7 years ago[CPUFREQ] ondemand: don't synchronize sample rate unless multiple cpus present
Jocelyn Falempe [Thu, 11 Mar 2010 22:01:11 +0000 (14:01 -0800)]
[CPUFREQ] ondemand: don't synchronize sample rate unless multiple cpus present

For UP systems this is not required, and results in a more consistent
sample interval.

[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Jocelyn Falempe <jocelyn.falempe@motorola.com>
Signed-off-by: Mike Chan <mike@android.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dave Jones <davej@redhat.com>
(cherry picked from commit a665df9d510bfd5bac5664f436411f921471264a)
(cherry picked from commit 4dcc8b45d5187ea0cea8d85d4a1ba758fa209b67)

7 years ago[CPUFREQ] Fix ondemand to not request targets outside policy limits
Nagananda.Chumbalkar@hp.com [Mon, 21 Dec 2009 22:40:52 +0000 (23:40 +0100)]
[CPUFREQ] Fix ondemand to not request targets outside policy limits

Dominik said:
target_freq cannot be below policy->min or above policy->max.
If it were, the whole cpufreq subsystem is broken.

But (answer):
I think the "ondemand" governor can ask for a target frequency that is
below policy->min.
A patch such as below may be needed to sanitize the target frequency
requested by "ondemand". The "conservative" governor already has this check:

Signed-off-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: Dave Jones <davej@redhat.com>
# diff -bur x/drivers/cpufreq/cpufreq_ondemand.c.orig y/drivers/cpufreq/cpufreq_ondemand.c
(cherry picked from commit 1dbf58881f307e21a3df4b990a5bea401360d02e)
(cherry picked from commit 5109f7b2bf70d58302b321919860e91976b93993)

7 years ago[CPUFREQ] Resolve time unit thinko in ondemand/conservative govs
Pallipadi, Venkatesh [Thu, 12 Nov 2009 00:50:29 +0000 (16:50 -0800)]
[CPUFREQ] Resolve time unit thinko in ondemand/conservative govs

ondemand and conservative governors are messing up time units in the
code path where NO_HZ is not enabled and ignore_nice is set. The walltime
idletime stored is in jiffies and nice time calculation is happening in

The problem was reported and diagnosed by Alexander here.

The patch below fixes this thinko.

Reported-by: Alexander Miller <Miller@fmi.uni-stuttgart.de>
Tested-by: Alexander Miller <Miller@fmi.uni-stuttgart.de>
Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Dave Jones <davej@redhat.com>
(cherry picked from commit 54c9a35d9faef06e00e2a941eb8fe674f1886901)

7 years agobacklight: jiggle the order of powering on backlight and deconfiguring the backlight...
Matt Sealey [Tue, 22 Feb 2011 00:45:31 +0000 (18:45 -0600)]
backlight: jiggle the order of powering on backlight and deconfiguring the backlight PWM on blank/restore. Also, don't mess with the IO state of the PWM pin, if the PWM is disabled, it's disabled, all we need to do is turn the power off.

7 years agobacklight: add framebuffer notifier for blanking and registration so that the backlig...
Matt Sealey [Sun, 20 Feb 2011 14:38:48 +0000 (08:38 -0600)]
backlight: add framebuffer notifier for blanking and registration so that the backlight turns on and off when the screen blanks again

7 years agoconfig: update to remove udlfb
Matt Sealey [Sun, 20 Feb 2011 10:47:32 +0000 (04:47 -0600)]
config: update to remove udlfb

7 years agoudlfb: remove from build system
Matt Sealey [Sun, 20 Feb 2011 10:46:59 +0000 (04:46 -0600)]
udlfb: remove from build system

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