Age | Commit message (Collapse) | Author |
|
- 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>
|
|
- Added function declarations to acquire/release/enable/disable device pins.
Signed-off-by: Danny Nold <dannynold@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>
|
|
- 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>
|
|
After this patch, default display for below platforms:
mx51 bbg: DVI-XGA on DI0
mx53 ard: LVDS-XGA on DI0
mx53 evk: CLAA-WVGA on DI0
mx53 loco: VGA-XGA on DI1
mx53 smd: LVDS-XGA on DI1
The default options will work if you do not enter other video cmdline options.
For platform need enable other drivers, it will enable it automatically.
For example, under default option, mx53 loco will enable tve-vga driver
automatically; before this patch, it need add 'vga' to cmdline to enable it.
And 'di1_primary' option also will be enabled automatically if need.
If you want to overwrite the default option, please refer to below:
enable vga: 'vga'
disable vga: 'vga=off'
enable tve: 'tve'
disable tve: 'tve=off'
enable ddc: 'ddc'
disable ddc: 'ddc=off'
enable hdmi: 'hdmi'
disable hdmi: 'hdmi=off'
choose di0 as primary: 'di0_primary'
choose di1 as primary: 'di1_primary'
Signed-off-by: Jason Chen <b02280@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 adds device head file to Kbuild to pass
unit test build.
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
|
|
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>
|
|
- Removed virtual address parameter (virt_addr) for alternate buffer feature,
as it is no longer used.
NOTE: This file was accidentally omitted from first commit for this CR.
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>
|
|
Need enable analog regulator.
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>
|
|
Header files change for changing the video mode setting method.
Signed-off-by: Jason Chen <b02280@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>
|
|
Change ipu_check_buffer_busy to ipu_check_buffer_ready.
Signed-off-by: Jason Chen <b02280@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>
|
|
Add get keypad press status callback and desired send key value
to the platform data.
Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
|
|
Move the wakeup interrupt handler from the driver to MSL.
Add clk disable if the register gadget driver is failed.
The clk operation function should not be called at irq_disabled
context.
Signed-off-by: Peter Chen <peter.chen@freescale.com>
|
|
remove mxc_srtc_platform_data struct from srtc driver
Signed-off-by: Lily Zhang <r58066@freescale.com>
|
|
ASRC driver change to support MX53 TO2.0
- MX53 clk source is different from MX35. Add clk map version.
- Get ASRC irq from resource data
- Add the fix for the errata ENGcm11413: Use pgprot_writecombine
instead of pgprot_noncached
- fix compiler error
Signed-off-by: Lily Zhang <r58066@freescale.com>
|
|
porting da9053 pmic driver
Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com>
|
|
Add DA9053 source code from Dialog
The code revision is 3r0 and it is base
on DA9052 driver code
Acked-by: Lily Zhang <r58066@freescale.com>
Signed-off-by: David Dajun Chen <Dajun.Chen@diasemi.com>
|
|
This button driver is based on Freescale MPR121 capacitive
touch sensor controller.
It can support 12 elements maximal. The chip is use i2c interface.
You can find all the data sheet reference in code by google the name.
Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
|
|
PORTSC PHCD will be changed while system shuts down usb host. This triggers
wake-up interrupt. But it's not host wake-up or device wake-up. OWIR bit in
USBCTRL doesn't be cleared. It keeps bring interrupt on. So
- Clear OWIR bit in wakeup ISR if host/device doesn't need to wake up.
- Close wakeup irq before shut down USB host.
Signed-off-by: Zhang Yan <b34916@freescale.com>
|
|
- Created a worker thread to centralize all update requests (new and collisions)
- Added routine to merge compatible updates
- Separated PXP processing from update ioctl and ISR flows into workqueue flow
- Added IOCTL to turn control the update scheme. Supported schemes
are snapshot mode (the old update scheme), queued mode, and queued mode
with combining.
- Added collision-handling refinement based on update submission order
- Added support for 8bpp setting from kernel command line option
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
Enable the PWRON3 event in mc13892.
Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
|
|
- Created global to hold EPDC fb data structure
- Created new functions to ensure all ioctls map to functions
- Created header file to declare functions accessible from other kernel modules
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
The usb wakeup thread should be prior to usb system resume
during usb wakeup process. It adds wait_event_interruptible
at usb resume process, and the usb wakeup irq will set event,
and the usb wakeup thread will clear event.
Signed-off-by: Peter Chen <peter.chen@freescale.com>
|
|
FB_SYNC_EXT was used to represent ext clk, but actually, it represent ext sync.
Some applications do not recognize it, during fb_set_var ioctl may miss it,
which will cause fb display fail, for example X window startup.
Remove FB_SYNC_EXT flag, and choose ext clk support by ipu driver.
If you want to use ipu internal clk only, you can add int_clk to your video
option like below:
video=mxcdi0fb:RGB565,800x480M@55,int_clk
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
This patch adds CVBS support for TVin platform data.
Signed-off-by: Liu Ying <b17645@freescale.com>
|
|
Add VGA support for ipu basic driver and fb driver.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
This patch supports interlaced scan order for CSI->SMFCx->MEM
channels.
Signed-off-by: Liu Ying <b17645@freescale.com>
|
|
Driver part
Add usb low power and wakeup support for mx28 usb1, in that means,
when the usb h1 is not in used, the host1 will close
usb core and phy's clock. When an usb activity happens,
the usb can be wakeup from low power mode.
Meanwhile, the usb host1 can also be system
wakeup source through sys entry like other platforms.
Signed-off-by: Peter Chen <peter.chen@freescale.com>
|
|
Removed one useless DDR releated macro definition, refer
to the kernel upgrade from 31 to 35.
Signed-off-by: Richard Zhu <r65037@freescale.com>
|
|
Not all the NAND devices have all the information in additional
id bytes.
So add a hook in the nand_chip{} is a good method to calculate the
right value of oobsize, erasesize and so on.
Without the hook,you will get the wrong value, and you have to hack
in the ->scan_bbt() to change the wrong value which make the code
mess.
Signed-off-by: Huang Shijie <shijie8@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
|
|
- User can specify a flag (EPDC_FLAG_FORCE_MONOCHROME) to have 8-bit grayscale
converted to monochrome (black or white) via processing in the PxP
(using the LUT).
- Added logic to check against the full videomode when identifying the
desired FB mode. This allows support for multiple modes with the same
dimensions.
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
Driver Part
move the usb clk_enable from irq context to a kernel thread context, so
that the voltage can be changed in clk_enable function.
Signed-off-by: Hu Hui <b29976@freescale.com>
|
|
add the new ONFI NAND commands to the common header file.
Signed-off-by: Huang Shijie <b32955@freescale.com>
|
|
This patch adds pwm enable/disable pad functions declaration
to pwm platform data in fsl_device.h.
Signed-off-by: Liu Ying <b17645@freescale.com>
|
|
Create a platform specific power management data structure that will
facilitate platform specific functions to be called during suspend/resume.
Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
|
|
Add Linear PMIC support.
Signed-off-by: Nancy Chen <Nancy.Chen@freescale.com>
|
|
- MAX17135 re-architected:
- Core functionality, including I2C access to the chip, moved into
drivers/mfd/max17135-core.c
- MAX17135 regulators registered via init() callback in plat-specific
code.
- All access to registers funnelled through max17135_reg_read/write() apis.
- max17135.h moved from regulator/ folder into mfd/ folder.
- Support for reading internal and external temperature via sysfs interface,
consistent with lm-sensors hwmon interface.
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
Turn off audio clock when possible. Empirical data says that we
need to leave the clocks on for 300 mSec after all codec writes
are done so schedule work to do that.
Signed-off-by: Alan Tull <alan.tull@freescale.com>
|
|
Driver Part
define a new platform data struct, and Put the pmic callback
register into platform data structure, then we can cover all pmic
Signed-off-by: Hu Hui <b29976@freescale.com>
|
|
Add platform_data structure for PWM.
Signed-off-by: William Lai<b04597@freescale.com>
|
|
Extend the flexcan_platform_data structure, adding root_clk_id
to choose the root clock for the CAN module in CCM.
Signed-off-by: William Lai<b04597@freescale.com>
|
|
Device driver part((squashed with ENGR00131776)
Mainly includes restruct low power mode and wakeup function for all usb modes.
1. Move more kernel common code changes to fsl driver.
2. Fix kinds of otg bugs
3. At idle mode all usb clock and related phy clock will be closed.
4. Wakeup function are fully verified for all usb modes
(device, host and otg mode)
5. The modifications are verified at mx50 platform for 2.6.35
Signed-off-by: Hu Hui <b29976@freescale.com>
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com>
|
|
The mxc_audio_codec_platform_data passes the board specific data
to the codec, i.e., regulator, mclk and pwdn function.
Signed-off-by: William Lai <b04597@freescale.com>
|
|
The phy_mii_ioctl() function unnecessarily throws away the original ifreq.
We need access to the ifreq in order to support PHYs that can perform
hardware time stamping.
Two maverick drivers filter the ioctl commands passed to phy_mii_ioctl().
This is unnecessary since phylib will check the command in any case.
Signed-off-by: Richard Cochran <richard.cochran@omicron.at>
Signed-off-by: David S. Miller <davem@davemloft.net>
|