summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
2012-07-25ENGR00215531-5 V4L2:OV5642:Correct sensor data attributeLiu Ying
This patch corrects sensor data struct by adding static attribute. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
2012-07-25ENGR00215531-4 V4L2:OV5640_mipi:Correct sensor data attributeLiu Ying
This patch corrects sensor data struct by adding static attribute. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
2012-07-25ENGR00215531-3 V4L2:OV5640:Correct sensor data attributeLiu Ying
This patch corrects sensor data struct by adding static attribute. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
2012-07-25ENGR00215531-2 V4L2:OV3640:Correct sensor data attributeLiu Ying
This patch corrects sensor data struct by adding static attribute. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
2012-07-25ENGR00215531-1 V4L2:ADV7180:Correct sensor data attributeLiu Ying
This patch corrects sensor data struct by adding static attribute. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
2012-07-20ENGR00213014-7 MXC EDID: Export function mxc_edid_parse_ext_blkSandor Yu
Export function mxc_edid_parse_ext_blk. Signed-off-by: Sandor Yu <R01008@freescale.com>
2012-07-20ENGR00215182-2 MXC HDMI CEC: Add basic support for HDMI CECZhang Xiaodong
- Add MXC HDMI CEC to kconfig and makefile under driver/mxc - Add initial mxc_hdmi-cec.c file to provide basic HDMI CEC functionality: - Basic HDMI CEC resource initilize functional - Support for sending and receiving CEC message via CEC line - Report HDMI cable status to CEC lib at userspace. Signed-off-by: Zhang Xiaodong <B39117@freescale.com>
2012-07-20ENGR00215492-3: Detect HW features during alg registrationSteve Cornelius
i.MX6 instantiates a CAAM with a low-power MDHA block, which does not compute digests larger than 256 bits. Since the driver installs handlers for hashes longer than 256 bits in several places, added the ability to read and interpret the CHA version and instantiations registers, and then only register handlers that it can support. Signed-off-by: Steve Cornelius <steve.cornelius@freescale.com> Signed-off-by: Terry Lv <r65388@freescale.com>
2012-07-20ENGR00215492-2: Add SGT error to formerly reserved entrySteve Cornelius
Add SGT error to formerly reserved entry. Signed-off-by: Steve Cornelius <steve.cornelius@freescale.com> Signed-off-by: Terry Lv <r65388@freescale.com>
2012-07-20ENGR00215492-1: Fix DMA size in extended descriptor for ahash_digest()Steve Cornelius
Save of DMA size in extended descriptor was missing, thus crashes could occur during post-request unmapping. Also, removed lingering DEBUG def that shouldn't have been there. Signed-off-by: Steve Cornelius <steve.cornelius@freescale.com> Signed-off-by: Terry Lv <r65388@freescale.com>
2012-07-20ENGR00215516 MX6x HDMI, keep HDMI HPD clock on when display blankSandor Yu
HDMI Hotplug function should work when display blank, So keep HDMI HPD clock on. Signed-off-by: Sandor Yu <R01008@freescale.com>
2012-07-20ENGR00215354 MX6 USB Host:fix kernel dump when no platform_datamake shi
Kernel dump when no platform_data. PC is at hub_thread+0xdb0/0x1538 LR is at 0xbfd43400 pc : [<80311eb4>] lr : [<bfd43400>] psr: 60000013 sp : bfdbff08 ip : ba3cd500 fp : ba3cd600 r10: bfd43400 r9 : 00000000 r8 : 00000001 r7 : 00000000 r6 : 00000000 r5 : ba3cd600 r4 : 00000001 r3 : 00000000 r2 : bfd24c60 r1 : bfd43400 r0 : 00000000 Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel Control: 10c53c7d Table: 1000404a DAC: 00000015 Process khubd (pid: 338, stack limit = 0xbfdbe2f0) Stack: (0xbfdbff08 to 0xbfdc0000) ff00: 00000101 00000000 80a01d38 8c008f40 bfdbff3c 8006612c ff20: bff8c000 bfd43400 bfd43400 ba3cd648 ba62a220 ba3cd608 bfd4349c ba62a200 ff40: 00000000 ba3cd644 ba3cd640 00000101 00000001 0000009e ba3cd500 ba62a220 ff60: 00000009 ba3cd64c bfdbff9c 800654ac ba3cd6a4 bfdbe000 00000000 bfeac3a0 ff80: 8008d700 bfdbff84 bfdbff84 00000000 01010000 00000001 bfdbffbc bff8bf48 ffa0: bfdbffcc 00000000 80311104 00000000 00000000 00000000 00000000 8008d330 ffc0: bff8bf48 00000000 00000000 00000000 00000000 00000000 bfdbffd8 bfdbffd8 ffe0: 00000000 bff8bf48 8008d2ac 80042040 00000013 80042040 00000000 00000000 [<80311eb4>] (hub_thread+0xdb0/0x1538) from [<8008d330>] (kthread+0x84/0x8c) [<8008d330>] (kthread+0x84/0x8c) from [<80042040>] (kernel_thread_exit+0x0/0x8) If no platform_data ,the pdata will be NULL.If the driver try to access the pdata->platform_set_disconnect_det,dump will occor.SO we should check the pdata is NULL before checking pdata->platform_set_disconnect_det. Signed-off-by: make shi <b15407@freescale.com>
2012-07-20ENGR00215489-1 WDOG:add WDIOC_SETPRETIMEOUT and WDIOC_GETPRETIMEOUT interfaceRobin Gong
Add these two interface, so than user can set and get pre-timeout value to save some important data before watchdog reboot. Signed-off-by: Robin Gong <B38343@freescale.com>
2012-07-20ENGR00215344 GPU became slow after long time run some applicationsRichard Liu
GPU became slow after long time run some applications root cause is when GPU reserved memory exhaust, GPU will request continue physical memory which will trigger defregment operation in kernel and cause system slow Signed-off-by: Richard Liu <r66033@freescale.com> Acked-by: Lily Zhang
2012-07-20ENGR00215340 HDMI PHY config adjust to pass electrical compliance testSandor Yu
In the HDMI PHY internal, there are two register that can adjust waveform of eyediagram. 0x0e -- voltage level control; it can adjust the single end data signals; 0x09 -- define pre-emphasis factor; (it will affect the rise time and fall time of D0/D1/D2); Adjust HDMI PHY register 0x09 and 0xe for MX6DL SabreSD and MX6Q SabreSD waveform of eyediagram to pass HDMI compliance test electrical test case. Signed-off-by: Sandor Yu <R01008@freescale.com>
2012-07-20ENGR00215228-16: Add API module for asynchronous hashingSteve Cornelius
Add API module for asynchronous hashing Signed-off-by: Steve Cornelius <steve.cornelius@freescale.com> Signed-off-by: Terry Lv <r65388@freescale.com>
2012-07-20ENGR00215228-15: Add API module for /dev/hw_randomSteve Cornelius
Add API module for /dev/hw_random Signed-off-by: Steve Cornelius <steve.cornelius@freescale.com> Signed-off-by: Terry Lv <r65388@freescale.com>
2012-07-20ENGR00215228-14: Add in RNG4 kickstart functionSteve Cornelius
Add in RNG4 kickstart function Signed-off-by: Steve Cornelius <steve.cornelius@freescale.com>
2012-07-20ENGR00215228-13: Add cache coherence to externalized key generationSteve Cornelius
Add cache coherence to externalized key generation Signed-off-by: Steve Cornelius <steve.cornelius@freescale.com>
2012-07-20ENGR00215228-12: Move scatter/gather cache coherence into chained function.Steve Cornelius
Last driver revisions began to incorporate optimized mapping functions for scatter/gather list management, and then centralized them as inlinable functions usable from multiple modules. Since these became more globally useful, moved the coupled cache-coherence functions out of the mainline code and into the inlined ones for simplification. Signed-off-by: Steve Cornelius <steve.cornelius@freescale.com>
2012-07-20ENGR00215228-11: Enable ahash and rng configurationsSteve Cornelius
Add in ahash and rng options for build. Note that because of the way platform devices detect (as opposed to of-based detection), modularization of API interfaces is suppressed. Once CONFIG_OF is possible, this can go away. Signed-off-by: Steve Cornelius <steve.cornelius@freescale.com>
2012-07-20ENGR00215228-10: Descriptor optimizations, misc whitespace fixes.Steve Cornelius
Descriptor optimizations, misc whitespace fixes. Signed-off-by: Steve Cornelius <steve.cornelius@freescale.com> Signed-off-by: Terry Lv <r65388@freescale.com>
2012-07-20ENGR00215228-9: Add hash and RNG initializers for non-OF buildsSteve Cornelius
Inserted explicit initializers for split-out startup and shutdown functions needed for kernels using platform devices in place of OF-device-tree initialization and detection. Also added necessary ahash algorithm list head to driver private storage block. Signed-off-by: Steve Cornelius <steve.cornelius@freescale.com>
2012-07-20ENGR00215228-8: Add pointer length extensions, non-error-propgation definition.Steve Cornelius
Add pointer length extensions, non-error-propgation definition. Signed-off-by: Steve Cornelius <steve.cornelius@freescale.com>
2012-07-20ENGR00215228-7: Externalize SG lists plus split-key generationSteve Cornelius
Split out inline scatter-gather list handlers into an external header, and moved key generation into standalone source. Signed-off-by: Steve Cornelius <steve.cornelius@freescale.com> Signed-off-by: Terry Lv <r65388@freescale.com>
2012-07-20ENGR00215228-6: Externalize scatter-gather handling for multiple API modules.Steve Cornelius
Moved scatter-gather list management outside of single API module in anticipation of multiple API modules which may be switch selectable. This includes a number of list management optimizations, as well as some aead descriptor optimizations. Signed-off-by: Steve Cornelius <steve.cornelius@freescale.com>
2012-07-20ENGR00215228-5: Add <md5.h> inclusion for expanded aead processing.Steve Cornelius
Add <md5.h> inclusion for expanded aead processing. Signed-off-by: Steve Cornelius <steve.cornelius@freescale.com>
2012-07-20ENGR00215228-4: Synchronize scatter/gather table definitions with QorIQ defsSteve Cornelius
Update scatter/gather definitions to more closely correspond with those in the QorIQ 1.2 release tree. Note that the definition of the CAAM-local scatter-gather table for QorIQ/Power-based devices assumed big-endian, and therefore does not burst-read properly into an ARM-based little-endian instantiation. Therefore, applied close-as-practical definitions to at least get close until a merge can be accomplished. Signed-off-by: Steve Cornelius <steve.cornelius@freescale.com>
2012-07-20ENGR00215228-3: Merge in RNGB changesSteve Cornelius
Added in register changes to enable RNGB initialization when it is present. Signed-off-by: Steve Cornelius <steve.cornelius@freescale.com>
2012-07-20ENGR00215228-2: Add era4 amendments and whitespace fixesSteve Cornelius
Added in era4 additions, and merged in whitespace fixes so as to be closed to QorIQ 1.2 staged-for-release code base. Signed-off-by: Steve Cornelius <steve.cornelius@freescale.com>
2012-07-20ENGR00215228-1: Remove unused DECO base pointerSteve Cornelius
Remove unused DECO base pointer to be consistent with staged-for-1.2 QorIQ release. Signed-off-by: Steve Cornelius <steve.cornelius@freescale.com>
2012-07-20ENGR00215188-4 PFUZE : remove related old code in pfuze driverRobin Gong
1.remove related old code in pfuze driver 2.add i2c write retry as i2c read retry. Signed-off-by: Robin Gong <B38343@freescale.com>
2012-07-20ENGR00214865 mxc_v4l2_capture:Be silent when closing deviceLiu Ying
This patch changes the debug level of a kernel message in mxc_v4l2_close() from KERN_INFO to KERN_DEBUG to make the console silent when closing device. Signed-off-by: Liu Ying <Ying.Liu@freescale.com> (cherry picked from commit 42bd808baa7c03671665297cd40ae9cce8186d6b)
2012-07-20ENGR00214791-2 [MX6] GalCore gets baseAddress parameter for kernelLarry Li
Galcore reads baseAddress parameter from GPU resource set by kernel Signed-off-by: Larry Li <b20787@freescale.com> Acked-by: Lily Zhang
2012-07-20ENGR00181659 IPU: Fix 1080i playback on LVDS errorWayne Zou
For 1080i video, it needs to use vertical split mode because of VDIC max input width limitation. Signed-off-by: Wayne Zou <b36644@freescale.com>
2012-07-20ENGR00214773 V4L2 output: Restore fb base address after video playbackWayne Zou
Restore framebuffer base address after video playback on IPU BG channel Signed-off-by: Wayne Zou <b36644@freescale.com>
2012-07-20ENGR00214578: battery:divide one offset sysfs interface into two interfacesRong Dian
one sysfs interface for offset_discharger ,one sysfs interface for offset_charger. Signed-off-by: Rong Dian <b38775@freescale.com>
2012-07-20ENGR00214568 - SPDC : fix dma free unmatched sizeFugang Duan
- Kernel will print dma free warning when no Sipix panel connect. Fix dma free unmatched size. Signed-off-by: Fugang Duan <B38611@freescale.com>
2012-07-20ENGR00210937:v4l2: kernel dump caused by remove mxc_v4l2_captureWu Guoxing
kernel dump when do "modprobe -r mxc_v4l2_capture" this is caused by unregister wrong v4l2 int device when rmmod Signed-off-by: Wu Guoxing <b39297@freescale.com>
2012-07-20ENGR00214367-2 imx6 usb charger: bind usb charger with power supplyRong Dian
Bind usb charger with power supply, and print some attributes about usb charger. Signed-off-by: Rong Dian <b38775@freescale.com>
2012-07-20ENGR00214367-1 power_supply: add get_supplier_propertyRong Dian
add get_supplier_property interface. This patch was written by: Heikki Krogerus <heikki.krogerus@linux.intel.com> originally. Signed-off-by: Rong Dian <b38775@freescale.com>
2012-07-20ENGR00213944-02: mmc: sdhci: [MX6] support SD v3.0 memory cards.Ryan QIAN
- Add variable pad speed setting per SD clk freq. - Add SD3.0 support on SD1, SD2, and SD3. - Enhance drive strength on SD pad to improve its compatibility. - change the definition of pad speed changing interface - combine pad speed setting for different SD host controllers into one function. Signed-off-by: Ryan QIAN <b32804@freescale.com> Acked-by: Lily Zhang
2012-07-20ENGR00213944-01: mmc: sdhci: support SD v3.0 memory cards.Ryan QIAN
- Correct switcing signaling voltage sequence according to SD3.0 spec, that turn off SD clk before switching signaling voltage. - previous code can work on MX6Q but failed on MX6SL. - only have sequence corrected, it can work on MX6SL. Signed-off-by: Ryan QIAN <b32804@freescale.com>
2012-07-20ENGR00182045-2 V4L2 output: Fix bug: VDOA interlaced video can't play normallyWayne Zou
Add VDOA tiled field format support for V4L2 output driver Also add some debug information Signed-off-by: Wayne Zou <b36644@freescale.com>
2012-07-20ENGR00182045-1 IPU device: Fix bug: VDOA interlaced video can't play normallyWayne Zou
Add IPU_MAX_VDI_IN_WIDTH for I.MX IPUv3 hardware For chrome buffer address(uoff) should be offset from luma buffer address Signed-off-by: Wayne Zou <b36644@freescale.com>
2012-07-20ENGR00214081-2 PM: Remove unused code in battery driverLin Fuzhen
Remove some unused code in battery driver Signed-off-by: Lin Fuzhen <fuzhen.lin@freescale.com>
2012-07-20ENGR00214081-1 Input: Remove redefined Item in Kconfig And MakefileLin Fuzhen
Remove redefined Item in Kconfig And Makefile for MAX11081 Signed-off-by: Lin Fuzhen <fuzhen.lin@freescale.com>
2012-07-20ENGR00213722:MX6 SABRESD battery:add voltage offset sysfsRong Dian
interface and modify driver 1.add battery sample voltage offset sysfs interface. 2.add usb charger powersupply from max8903 UOK. 3.modify battery max coulomb data to 99% in charger full stage and modify battery max coulomb data to 100% in discharger stage,because hardware cannot support battery internal resistance and coulomb calculation.Battery voltage and coulomb may increase a bit in charger stage,so keep max coulomb data 99% in charger full stage. Signed-off-by: Rong Dian <b38775@freescale.com>
2012-07-20ENGR00212318 ASRC:update to in/out width configChen Liangjun
The origin ASRC driver did not support input and output wordwidth config but an total wordwidth config instead. And the input wordwith and output wordwidth are all fixed to 24 bit. In this path, we do things below: 1 Update to use input wordwidth and output wordwidth config seperately instead of an total wordwidth config. 2 Set corresponding DMA(input/output) buswidth according ASRC's input and output wordwidth config. 3 Support 16/24 bit input wordwidth and 24 bit output wordwidth. Signed-off-by: Chen Liangjun <b36089@freescale.com>
2012-07-20ENGR00213514 HDMI: adjust hotplugin sequencySandor Yu
Not update FB var if video mode same as last HDMI cable plugout. Signed-off-by: Sandor Yu <R01008@freescale.com>