Age | Commit message (Collapse) | Author |
|
Added get_pins/put_pins/enable_pins/disable_pins callbacks in driver,
which is passed as platform data.
Signed-off-by: Robby Cai <R63905@freescale.com>
|
|
There might be a chance that clk_disable() is called when
PxP task is in process. Add this check before actually disable
PxP clock to fix this issue.
Signed-off-by: Ko Daiyu <R18641@freescale.com>
Signed-off-by: Robby Cai <R63905@freescale.com>
|
|
- Add new LUT selection method to always prefer a higher order LUT than
those currently active.
- Handle TCE underrun interrupts. Continue with normal operation and prevent
them from bringing down the EPDC driver.
- Add option to prevent TCE underruns - tce_prevent
- Add method to synchronize submission of updates when potentially
vulnerable to TCE underrun.
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
fix regulator minor bug.
Signed-off-by: Anson Huang <b20788@freescale.com>
|
|
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>
|
|
seperate interrupt handling and clk_enable for Z160 and Z430
Signed-off-by: Zhou, Jie <b30303@freescale.com>
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
|
|
Current charging point number should be 1, unless
Sometimes system will hang if ADC reading battery
voltage > 4.2V.
Signed-off-by: Anson Huang <b20788@freescale.com>
|
|
Added get_pins/put_pins/enable_pins/disable_pins callbacks in driver,
which is passed as platform data.
NOTE: The CLAA WVGA panel works only on same port as EPDC on RD3.
Signed-off-by: Robby Cai <R63905@freescale.com>
|
|
- Refined update merging approach to aggressively merge while selecting
the waveform mode conservatively
- Reverted IST code which attempted to detect and resolve the missed
collision artifact. This code actually creates artifacts by sometimes
resubmitting updates and causing out-of-order update completion artifacts.
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
- Defined new API to allow client display FB drivers to pass
videomode information to the LCDIF.
- SII902X added calls to enable/disable pins through platform-level
function pointers.
- Changed SII902X driver to ensure that HDMI detect routine
gets called once FB is registered, if a hotplug interrupt has
previously been detected.
- Added call to display boot logo once FB is registered.
- Modified LCDIF to incorporate videomodes passed in from
client display FB drivers.
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
- Change from Snapshot scheme to Queue & Merge scheme for improved
performance.
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
we re-use rtc-mc13892.c, so use platform_device_id to make it clear.
Signed-off-by: Robby Cai <R63905@freescale.com>
|
|
Support Regulator, ADC, TouchScreen, Battery, RTC.
PMIC issues are tracked on
http://wiki.freescale.net/display/MADPlatMX508/RD3+board+Issues+Tracking
Signed-off-by: Anson Huang <b20788@freescale.com>
Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com>
Signed-off-by: Robby Cai <R63905@freescale.com>
|
|
Resolved conflict with MC34704 on MX25
Switched off MC13783 config for MX3
Signed-off-by: Robby Cai <R63905@freescale.com>
|
|
- make MC13892 and MC34708 can co-exist, only one attached at run-time.
- make the change as least as possible.
- expect no functional impact (only SPI interface verified).
Signed-off-by: Robby Cai <R63905@freescale.com>
|
|
The variables for low power should be updated after phcd updated
Signed-off-by: Peter Chen <peter.chen@freescale.com>
|
|
When cable mode changed, below uevent will be sent out:
EVENT=NONE
EVENT=CVBS0
EVENT=YPBPR
EVENT=SVIDEO
under /sys/devices/platform/tve.0
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
Fix the the following build warning,
drivers/mtd/nand/mxc_nd2.h:498:7: warning: "CONFIG_ARCH_MXC_HAS_NFC_V2"
Signed-off-by: Jason Liu <r64343@freescale.com>
|
|
tve driver change.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
sii902x driver change.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
mxc edid driver change.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
ldb driver change.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
add bgr24 fmt support for di
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
Add related regulator.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
For android system, the gadget driver is built in, when the usb
device is on otg port, the udc suspended counter will be error at
the situation. This patch fix it, if this situation is met, the
udc suspended counter will be not added.
Using A VBus Valid to judge whether the usb cable is connected, as
some boards' vbus may higher than 0.8v(B Session Valid)
Signed-off-by: Peter Chen <peter.chen@freescale.com>
|
|
ubiformat includes command, data, command periods,
it breaks utp protocol for PUT commands. So we add two operations to fix it.
One is sending busy to host before the data periods begins.
The second is adding a new command to waiting ubiformat's command period.
Signed-off-by: Li Xingyu <b02754@freescale.com>
Signed-off-by: Peter Chen <peter.chen@freescale.com>
|
|
One kernel image is requested, however, we need to enable iram
for performance improvement on mx53, and disable it on mx51 due
to known issue. So use platform data to pass vpu iram disable/enable
flag. And considering requested iram size also can be different per
requirement, iram size is also set in platform data.
Signed-off-by: Sammy He <r62914@freescale.com>
|
|
This patch supports OV5642 camera to work at 1080P at 15fps and
PAL at 30fps. Tested on MX53 SMD board.
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
|
|
This patch supports OV5640 camera to work at QSXGA(2592x1944)
at 7.5fps. Tested on MX53 SMD board.
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
|
|
support new chip M25P32 driver via FSL SPI interface
Signed-off-by: Robby Cai <R63905@freescale.com>
(cherry picked from commit fd4834656499f925b185aa70d6e3ba69d7a98d69)
|
|
Change from writecombine to writethrough.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
device driver parts
Following usb device wakeup modes is supported are added:
-vbus failing wakeup: it happens when our SoC suspend and host's vbus failing
(after host(pc) suspends 10 seconds later)
-device receives reset wakeup: it happens follow below steps:
--Find MSC device at pc for soc
--Right-click -> Disable (this will suspend the device)
--let soc go to suspend
--Right-click -> Enable (this will reset the device)
-device receives resume signal from pc: it can be tested by pc HSET tools
Signed-off-by: Peter Chen <peter.chen@freescale.com>
|
|
- Added signalling to ensure suspend call does not return until
EPDC has powered down.
- Fixed race condition in IST. The working buffer (WB) process for a new
update may report collision with LUTs that complete and are processed
and removed by the IST before the working buffer completes. When this
occurs, the collision may wait (forever) for a LUT that has already completed.
This was putting the update queues into a bad state, preventing the update
pipe from being flushed out.
Solved this by tracking all completed LUTs after the WB process begins, and
then removing them from the collision mask once the WB completes.
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
suppport spi slave mode. master/slave mode is selected in the beginning
do not support dynamically switch between master/slave mode.
in slave mode, pio mode is not allowed, only DMA mode is supported.
Signed-off-by: Tony Lin <tony.lin@freescale.com>
|
|
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>
|
|
remove old wifi driver code from driver/net/wireless/ath6kl/
Signed-off-by: Tony Lin <tony.lin@freescale.com>
|
|
add header files to make cherry-pick compile on 2.6.35 kernel
change wireless name from eth to wlan
Signed-off-by: Tony Lin <tony.lin@freescale.com>
|
|
AR6003 is a single stream, SDIO based 802.11 chipset from
Atheros optimized for mobile and embedded devices. ath6kl is a
cfg80211 driver for AR6003 and supports both the station and
AP mode of operation.
Station mode supports 802.11 a/b/g/n with HT20 on 2.4/5GHz and
HT40 only on 5GHz. Some of the other features include WPA/WPA2,
WPS, WMM, WMM-PS, and BT coexistence. AP mode can be operated
only in b/g mode with support for a subset of features mentioned
above.
The driver supports cfg80211 but comes with its own set of
wext ioctls which have historically supported some of our
customers with features like BT 3.0 and AP mode of operation.
For further details, please refer to:
http://wireless.kernel.org/en/users/Drivers/ath6kl
The driver requires firmware that runs on the chip's network
processor. The majority of it is stored in ROM. The binaries
that are downloaded and executed from RAM are as follows:
1) Patch against the code in ROM for bug fixes and feature
enhancements.
2) Code to copy the data from the OTP region of the memory
into RAM.
3) Calibration file carrying board specific data.
The above files need to be present in the directory
'/lib/firmware/ath6k/AR6003/hw2.0/' for the driver to initialize
the chip upon enumeration. The files can be downloaded from the
link specified at the following location:
http://wireless.kernel.org/en/users/Drivers/ath6kl#Download
This driver is only provided in the interim while we work on
the mac80211 replacement, ath6k. Once the mac80211 driver
achieves feature parity with the ath6kl driver, the ath6kl will
be deprecated and removed from staging.
Signed-off-by: Vipin Mehta <vmehta@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
|
Customer provided this patch, the SET_BLOCKLEN shouldn't be sent when
enable the DDR mode required by customer's iNand.
Tested by customer on it's own board.
BTW, this patch is not needed on 2.6.38 kernel, should be discarded
after upgrade the kernel version.
Signed-off-by: Richard Zhu <r65037@freescale.com>
|
|
Fix the errors after implement the new soc rev APIs
Refine the SOC revision APIs in the esdhc driver.
Signed-off-by: Richard Zhu <r65037@freescale.com>
|
|
This patch adds MXC V4L2 capture maximum buffer number
from 3 to 10. This makes users be able to get rid of
losing frames in streaming mode by requiring more buffers.
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
|
|
We used to set the interrupt thresholds to the measure range
of the light sensor in the interrupt handler, this potentially
makes user poll on the input event and never be waken up.
This patch keeps the interrupt thresholds in the interrupt
handler and is tested on MX53 SMD.
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
|
|
Since Ubuntu needs report single pointer, I add BTN_TOUCH
event in single pointer event report.
It will not affact Android, also made ubuntu touchscreen works.
Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
|
|
- Virtual address parameter for alternate buffer feature removed. Virtual
address now computed based on physical address parameter.
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
- Create new per-update list of markers instead of just one marker
per update.
- Allow updates with markers to merge and compile all markers onto a
per-update list.
- Changed full marker list member variable to a list_head to reduce
memory allocations and wasted memory.
- Also redefined buffer queue objects as list_head objects
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
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>
|
|
1. Set initial max poll delay time in mma8450 and mma8451
accelerometer sensor driver. And remove one build warning.
2. Remove dev parent set.
Signed-off-by: Sammy He <r62914@freescale.com>
|
|
For better alignment with the upstream i.MX kernel, switch from
cpu_is_mx5x_rev() to mx5x_revision().
This is the drivers/ part of the patch.
Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com>
|
|
Created a list for pending update and a list for update markers.
Memory for list object for both is allocated dynamically. Accordingly,
code was modified to work with these new object structures.
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
This patch adds ISL29023 light sensor support.
Users may control the light sensor work at
different modes/ranges/resolutions or read
the lux value via sysfs.
A power state node is also created in sysfs.
If the light sensor works at ALS once mode,
users need to power down/power up the sensor
before read the lux value again.
Currently, IR(Infra Red) mode is not supported.
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
|