Age | Commit message (Collapse) | Author |
|
Remove interlaced mode from fb modelist before it can be supported.
Should revert this patch after interlaced mode support on normal display port.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
Refresh rate nearness is not calculated or reset when nearest resolution
changes.
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>
(cherry picked from commit e504b84805c574cf18d705c610c9e4a8f6e61017)
|
|
Add name sysnode to mxc_ddc and sii902x, which can be check under:
/sys/devices/platform/mxc_ddc.0/fb_name
or
/sys/devices/platform/sii902x.0/fb_name
It's the name of fb fix id which it associated.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
Need enable analog regulator.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
add battery charger change event.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
Add console output for iim value.
Signed-off-by: Terry Lv <r65388@freescale.com>
|
|
Add max17085 battery charger support
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
Added code to detect the potential for a "missed collision", where
an update would cause a collision with an update sitting on the collision
list, but does not do so with currently active updates. For this case,
we conservatively treat the update as if it has generated a collision.
Refined merging algorithm by blocking the merge process upon
detecting certain conditions where no further merges should be done.
Also added check for a special case where update regions are identical.
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
After this patch, you can check edid info under
/sys/devices/platform/sii902x.0/edid for sii902x HDMI.
And under /sys/devices/platform/mxc_ddc.0/edid
for common DDC.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
fix build break for imx25
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
Add YV12 format support.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
Add common ddc driver support.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
This is HannStar p1003 touch screen driver with Ilitek firmware
multitouch(two point at max) touch screen driver.
Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
|
|
during multi-block transfer and MX50 TO1.1/MX53 TO2
SDHCI_VERDOR_SPEC register will be overwritten
Signed-off-by: Tony Lin <tony.lin@freescale.com>
|
|
This patch changes video mode setting method for LDB
related video modes.
Users need to add 'ldb=dix' for default video mode
support, otherwise, need to specify the ldb mode
in Kernel bootup command line.
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
|
|
fsl_ep_disable may be called while unregister gadget driver. Gedget speed
was set to UNKNOWN. So we should disable endpoint whatever link speed.
Correct uninitialized variables in spin lock.
Signed-off-by: Zhang Yan <b34916@freescale.com>
|
|
HDMI Sii902x support for changing the video mode setting method.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
TVE & related ipu driver support for changing the video mode setting method.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
FB driver support for the video mode setting method.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
Some functions at setup_received_irq will cause spin lock recursion problem,
unlock spin locks before calling these functions, and re-lock spin locks
after executing them.
Signed-off-by: Peter Chen <peter.chen@freescale.com>
|
|
Instead of dropping updates with a different panning offset than the
current framebuffer panning offset, we just process those updates
using the current framebuffer panning offset. This ensures that
all requested update regions are processed from the latest buffer.
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
PxP mutex was being released and retaken while EPDC power turned on.
This provides opportunity for a race condition where another thread
attempts to being a PxP operation and corrupts the PxP data
structures of the EPDC. PxP mutex now held through the EPDC
powerup sequence.
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
- When update is processed, we check against latest
panning offset and drop the update if they don't match. This
ensures that we always update using the most current
buffer location.
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
Statically allocate buffers for each update object, rather
than dynamically allocating/freeing buffers per use. These buffers
are used when PxP limitations require update content first be copied
into a temporary buffer.
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
Markers now cleared once the associated LUT completes. This
ensures that markers will always be cleared. The marker does not
have to be waited on to be cleared.
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
- Corrected the computation of PxP input/output buffer address offsets
- Corrected the computation of EPDC input buffer address offset
- Expanded cases requiring SW of update contents pre-PxP processing,
now covering:
- Case where input address offset is not 32-bit aligned
and auto-waveform mode selected
- Case where input address is not 32-bit aligned and
total pixels added per-line to PxP processing task
is 8 or more.
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
- Software workaround for PxP alignment/histogram limitation implemented
For updates using auto-waveform selection and using update region
dimensions that are not 8x8 multiples, the update region is copied
into a temporary buffer and the margins filled with 0s. This buffer
becomes the input to the PxP.
- PxP/EPDC buffer offsets adjusted to properly handle all rotation cases.
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
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>
|
|
Disable usb interrupt in host wakeup to avoid bad irq. USB host
irq was re-enabled in resume. BTW, set host-to-gadget discharge 20ms.
Signed-off-by: Zhang Yan <b34916@freescale.com>
|
|
- Ensure that no updates are active when changing the FB info
- Fix criteria for evaluating whether any updates are active
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
1. Add discharge vbus when set vbus lower;
2. Due to unplug from HOST bring up suspend irq. add discharge in suspend irq.
3. Update port speed when port connect changed.
4. Add port speed verify in ep operation code.
Signed-off-by: Zhang Yan <b34916@freescale.com>
|
|
When open mxc_iim twice, mxc_iim can't be close twice.
Signed-off-by: Terry Lv <r65388@freescale.com>
|
|
mxc_iim: let mxc_iim work with dd and echo.
Signed-off-by: Terry Lv <r65388@freescale.com>
|
|
Error check of clk pointer should use IS_ERR instead of
ERR_PTR(ENOENT). Updated SCC2 and SAHARA drivers to use
this method for error checks as well as to propagate the
error code where applicable.
Signed-off-by: Anish Trivedi <anish@freescale.com>
|
|
mxc_iim can't be open twice.
The reason is that request_irq failed when open mxc_iim again.
So put request_irq function to probe function.
Signed-off-by: Terry Lv <r65388@freescale.com>
|
|
Open usb clock before view usb debug file. avoid system hang when view
usb debug information in suspend state.
Signed-off-by: Zhang Yan <b34916@freescale.com>
|
|
We used to force the framebuffer bpp to be default bpp
set by the user in the kernel boot up command line.
This patch fixes this issue. This patch also
gets TVE framebuffer bpp value from IPUv3 framebuffer.
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
|
|
Problem fixed so remove warning message not to run OpenVG apps with X accel.
Signed-off-by: Dennis Wenzel <b21659@freescale.com>
|
|
otg->host->is_b_host and otg->gadget->is_a_peripheral should be
updated at otg irq, as the host and device driver may use these two variables.
enable clk before request_irq
Signed-off-by: Peter Chen <peter.chen@freescale.com>
|
|
Fix Mx28 L2Switch port learning not works issue.
Signed-off-by: Fan Zhicheng <r32736@freescale.com>
|
|
Refine pan display method.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
Change ipu_check_buffer_busy to ipu_check_buffer_ready.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
Change to platform_device_register_simple().
Change check sysfs node to /sys/devices/platform/sii9022.0/cable_state.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
Removed clk_disable call from ISR, and moved it to postprocess
function that is queued up for exection later. Also fixed debug
print that was referring to a non-existent struct member.
Signed-off-by: Anish Trivedi <anish@freescale.com>
|
|
When bus is busy, for example vpu is working too, the timestamp is
possiblly not yet refreshed to memory by yamato when we get
GSL_INTR_YDX_CP_RING_BUFFER. For most cases, it will hit on first
loop cycle. So it don't effect performance.
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
|
|
Add da9053 power key config, add key up event
Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com>
|
|
Add MAXI max11801 resistance touch screen controller driver,
add a compile config of ts_lib calibration in driver, it is default disable.
This driver use Auto Mode and Aperture Mode.
Other max1180x driver could support in this driver further.
Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
|
|
This patch checks slave device is attached before calling
any internal ioctrl to avoid NULL pointer de-referencing.
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
|
|
This patch correct TVDAC regulator voltage value to
be 2.75V.
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
|
|
add performance monitor driver.
sample:
cd /sys/devices/platform/mxs-perfmon.0/
'echo 1 > MIDn-xxx' to enable monitor this channel
n: channel number; xxx: name of channel (PXP, LCD...)
you can enable the multiple channels you want to
monitor respectively using this command.
use following command to check the channel is enabled
'cat MIDn-xxx'
1: enable; 0: disable
'echo read > Monitor' to monitor all read activities
'echo start > Monitor' to start monitoring
'echo fetch > Monitor' to get a snapshot of monitor statistics.
'cat xxx_Count' to show the statistics.
xxx: name of statistics, (Data, Transfer, Latency...)
'echo clear > Monitor' to clear snapshot of monitor statistics.
'echo stop > Monitor' to stop monitoring
Signed-off-by: Tony Lin <tony.lin@freescale.com>
|