summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2013-09-12ENGR00279368-3 mxc: asrc: Add missing clock controlNicolin Chen
* Add missing clock control * Set ASRC clock to 7.5MHz as 3.0.35 does * Use the same divisor for ideal ratio mode as 3.0.35 does Acked-by: Wang Shengjiu <b02247@freescale.com> Signed-off-by: Nicolin Chen <b42378@freescale.com>
2013-09-09ENGR00278652-1 [Media]: Add MIPI CSI2 driver filesOliver Brown
Copied mipi_csi.h from: commit 50ca92f4010a93be265de7aad501b4dcae095a63 Author: Sheng Nan <b38800@freescale.com> Date: Thu Mar 7 13:39:54 2013 +0800 ARM: include: remove definition of mipi-csi2 platform data Other files copied files from: commit 1fb93870965b7d8d67b4db6233a30c06d82f84fc Author: Liu Ying <Ying.Liu@freescale.com> Date: Thu Mar 21 12:15:52 2013 +0800 MIPI-CSI2:Fix a build warning - Changed includes files for 3.10 - Dropped deprecated __devexit - Added generic error message if probe fails - Added configuration and set default to 'n' Signed-off-by: Oliver Brown <oliver.brown@freescale.com>
2013-09-06ENGR00278646-7 sdhci-esdhc-imx: change pinctrl state according to uhs modeDong Aisheng
Without proper pinctrl state, the card may not be able to work on high speed stablely. e.g. SDR104. This patch add pinctrl state switch code according to different uhs mode include 100mhz sate, 200mhz sate and normal state (50Mhz and below). Signed-off-by: Dong Aisheng <b29396@freescale.com>
2013-09-06ENGR00278504-1 mmc: sdhci: add quirk for broken auto cmd23Dong Aisheng
The auto cmd23 function on some platforms may not work well, add a quirk to allow them to work without auto cmd23. Signed-off-by: Dong Aisheng <b29396@freescale.com>
2013-09-05ENGR00277805-6 usb: chipidea: add ci_hdrc_enter_lpm APIPeter Chen
It is used to let the PHY enters low power mode at controller suspend routine. Signed-off-by: Peter Chen <peter.chen@freescale.com>
2013-09-05ENGR00277715-6 ARM: clk: Add missing pll4_audio_div for imx6slNicolin Chen
There's a dividor for pll4_audio clock missing in clock tree, thus add it. Acked-by: Shawn Guo <shawn.guo@freescale.com> Signed-off-by: Nicolin Chen <b42378@freescale.com>
2013-09-02ENGR00277299-1 dma: imx-sdma: Add other script for hdmi audio supportNicolin Chen
There's a missing script for hdmi audio support in current sdma driver, thus add it. This HDMI script doesn't use bd to copy memory like a normal one does but only to update the memory address for HDMI internal AHB DMA and then trigger its procedure automatically. Signed-off-by: Nicolin Chen <b42378@freescale.com>
2013-09-02OF: Add helper for matching against linux,stdout-pathSascha Hauer
devicetrees may have a linux,stdout-path property in the chosen node describing the console device. This adds a helper function to match a device against this property so a driver can call add_preferred_console for a matching device. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Acked-by: Rob Herring <rob.herring@calxeda.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Huang Shijie <b32955@freescale.com>
2013-08-30ENGR00276832-4 epdc: port the driver to 3.10 kernelRobby Cai
merge the mach/epdc.h into linux/mxcfb_epdc.h drop VM_RESERVED flag as deprecated. drop VM_IO flag as it's automatically set in remap_pfn_range() use <linux/platform_data/dma-imx.h> instead of <mach/dma.h> use module_platform_driver() add binding dts document for epdc fb driver change the devname for interrupt from 'fb_dma' to 'epdc' to make it clear Signed-off-by: Robby Cai <R63905@freescale.com>
2013-08-30ENGR00276832-1 pmic: max17135: port driver codes to 3.10 kernelRobby Cai
It's ported from v3.5.7 kernel, which contains a sensor driver and regulator driver. It's used for E-Ink panel. add a parameter for mfd_add_devices() due to the propotype change. use IS_ERR() to check the return value for devm_regulator_get(). Signed-off-by: Robby Cai <R63905@freescale.com>
2013-08-29ENGR00275213-2 ARM: imx6q: update the pcie bits definitions of gprRichard Zhu
Add the pcie bits definitons of gpr12 and gpr8 registers. Signed-off-by: Richard Zhu <r65037@freescale.com>
2013-08-29of/pci: Provide support for parsing PCI DT ranges propertyAndrew Murray
This patch factors out common implementation patterns to reduce overall kernel code and provide a means for host bridge drivers to directly obtain struct resources from the DT's ranges property without relying on architecture specific DT handling. This will make it easier to write archiecture independent host bridge drivers and mitigate against further duplication of DT parsing code. This patch can be used in the following way: struct of_pci_range_parser parser; struct of_pci_range range; if (of_pci_range_parser_init(&parser, np)) ; //no ranges property for_each_of_pci_range(&parser, &range) { /* directly access properties of the address range, e.g.: range.pci_space, range.pci_addr, range.cpu_addr, range.size, range.flags alternatively obtain a struct resource, e.g.: struct resource res; of_pci_range_to_resource(&range, np, &res); */ } Additionally the implementation takes care of adjacent ranges and merges them into a single range (as was the case with powerpc and microblaze). Signed-off-by: Andrew Murray <Andrew.Murray@arm.com> Signed-off-by: Liviu Dudau <Liviu.Dudau@arm.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: Rob Herring <rob.herring@calxeda.com> Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Tested-by: Linus Walleij <linus.walleij@linaro.org> Tested-by: Jingoo Han <jg1.han@samsung.com> Acked-by: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
2013-08-27ENGR00276684-1 hwmon: isl29023 Add support for isl29023Luwei Zhou
Cherry-pick isl29023.h from 3.0.35. Signed-off-by: Luwei Zhou <b45643@freescale.com>
2013-08-23ENGR00276321 HDMI Audio: Set HDMI event as SDMA event2Sandor Yu
- Remove chip revision check code. - Set HDMI event as SDMA event2 for HDMI audio. Signed-off-by: Sandor Yu <R01008@freescale.com>
2013-08-23ENGR00275974-1 [iMX6DQ/iMX6DL] Add busfreq supportRanjani Vaidyanathan
Add support to drop DDR and AHB frequency to 24MHz in system IDLE state. Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
2013-08-23ENGR00275483-2 mxc fb: port mipi dsi drivers from 3.0.35 to 3.10Liu Ying
This patch is a fastforward porting for mipi dsi driver and TRULY-WVGA mipi panel driver. * Add devicetree support for the mipi dsi driver. * Get mipi config clock source in the mipi dsi driver. * Change clk_enable()/clk_disable() to clk_prepare_enable()/ clk_disable_unprepare(). * Move mipi dsi driver initialization stuff to mipi_dsi_probe() from mipi_dsi_disp_init(). * Move mach/mipi_dsi.h to linux/mipi_dsi.h. * Remove __devexit_p and __devexit since 3.10 kernel doesn't support them. * Remove struct mipi_dsi_platform_data from mach/mipi_dsi.h. * Remove mach/hardware.h, mach/clock.h, linux/fsl_device.h and linux/regulator/consumer.h in the drivers. * Remove special pixel clock setting for imx6sdl since no issue is found without it. * Remove unused reset, lcd_power and backlight_power interfaces in struct mipi_dsi_info. * Remove unused regulator related entries in struct mipi_dsi_info. * Remove the IOMUX_GPR3_OFFSET macro from mipi dsi driver since the muxing is done with common regmap APIs. * Rename ipu_id to dev_id since i.MX6DL RM tells that lcdif can connect with mipi dsi. * Add mipi dsi related information in the devicetree binding documentation. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
2013-08-23ENGR00257947 mtd: use memcpy to replace the memcpy_fromioHuang Shijie
During the read of NOR, the kernel actually calls the inline_map_copy_from() to read the data out. And inline_map_copy_from() will use the memcpy_fromio() to do the real job. The memcpy_fromio macro maps _memcpy_fromio() in the current code. But the _memcpy_fromio() will use readb() to do the copy work one byte by one byte. This makes the read performance of NOR very slow(about 2~3MB/s). A similiar discussion could be found in: http://lists.infradead.org/pipermail/linux-arm-kernel/2009-November/003860.html This patch replace the memcpy_fromio with memcpy which is optimized by the kernel. The following is the result from mtd_speedtest with M29W256GL7AN6E: ================================================= mtd_speedtest: MTD device: 2 mtd_speedtest: not NAND flash, assume page size is 512 bytes. mtd_speedtest: MTD device size 4194304, eraseblock size 131072, page size 512, count of eraseblocks 32, pages per eraseblock 256, OOB size 0 mtd_speedtest: testing eraseblock write speed mtd_speedtest: eraseblock write speed is 845 KiB/s mtd_speedtest: testing eraseblock read speed mtd_speedtest: eraseblock read speed is 19504 KiB/s mtd_speedtest: testing page write speed mtd_speedtest: page write speed is 845 KiB/s mtd_speedtest: testing page read speed mtd_speedtest: page read speed is 19140 KiB/s mtd_speedtest: testing 2 page write speed mtd_speedtest: 2 page write speed is 846 KiB/s mtd_speedtest: testing 2 page read speed mtd_speedtest: 2 page read speed is 19320 KiB/s mtd_speedtest: Testing erase speed mtd_speedtest: erase speed is 233 KiB/s mtd_speedtest: Testing 2x multi-block erase speed mtd_speedtest: 2x multi-block erase speed is 225 KiB/s mtd_speedtest: Testing 4x multi-block erase speed mtd_speedtest: 4x multi-block erase speed is 224 KiB/s mtd_speedtest: Testing 8x multi-block erase speed mtd_speedtest: 8x multi-block erase speed is 225 KiB/s mtd_speedtest: Testing 16x multi-block erase speed mtd_speedtest: 16x multi-block erase speed is 225 KiB/s mtd_speedtest: Testing 32x multi-block erase speed mtd_speedtest: 32x multi-block erase speed is 225 KiB/s mtd_speedtest: Testing 64x multi-block erase speed mtd_speedtest: 64x multi-block erase speed is 224 KiB/s mtd_speedtest: finished ================================================= Signed-off-by: Huang Shijie <b32955@freescale.com>
2013-08-23usb: chipidea: retire flag CI_HDRC_PULLUP_ON_VBUSPeter Chen
Currently, the controller only runs when the ci->vbus_active is true. So the flag CI_HDRC_PULLUP_ON_VBUS is useless no longer. If the user doesn't have otgsc, he/she needs to change ci_handle_vbus_change to update ci->vbus_active. Signed-off-by: Peter Chen <peter.chen@freescale.com> Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
2013-08-23usb: chipidea: add flag CI_HDRC_DUAL_ROLE_NOT_OTGPeter Chen
Since we need otgsc to know vbus's status at some chipidea controllers even it is peripheral-only mode. Besides, some SoCs (eg, AR9331 SoC) don't have otgsc register even the DCCPARAMS_DC and DCCPARAMS_HC are both 1 at CAP_DCCPARAMS. We inroduce flag CI_HDRC_DUAL_ROLE_NOT_OTG to indicate if the controller is dual role, but not supports OTG. If this flag is not set, we follow the rule that if DCCPARAMS_DC and DCCPARAMS_HC are both 1 at CAP_DCCPARAMS, then this controller is otg capable. Signed-off-by: Peter Chen <peter.chen@freescale.com> Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
2013-08-23usb: chipidea: move vbus regulator operation to corePeter Chen
The vbus regulator is a common element for USB vbus operation, So, move it from glue layer to core. Tested-by: Marek Vasut <marex@denx.de> Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Signed-off-by: Peter Chen <peter.chen@freescale.com> Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
2013-08-23ENGR00275004-4: power: sabresd_battery: add sabresd_battery driverRobin Gong
Add sabresd battery driver which based on Max8903 charger IC. Signed-off-by: Robin Gong <b38343@freescale.com>
2013-08-23ENGR00275377 mxc: asrc: add asrc uapi header to KbuildShengjiu Wang
add asrc uapi header to Kbuild. Signed-off-by: Shengjiu Wang <b02247@freescale.com>
2013-08-23ENGR00275246-02: ARM: imx6sl: add imx6sl iomux-gpr field defineFugang Duan
Add imx6sl iomux-gpr register field define in "imx6q-iomuxc-gpr.h" header file, which is not fully define all iomux-gpr registers and fields, only add fec related macro define. Signed-off-by: Fugang Duan <B38611@freescale.com>
2013-08-23ENGR00274585-1 dma: imx-sdma: update sdma to support p2pShengjiu Wang
For the sake of support asrc p2p, the sdma driver need to be updated. 1. Add another dma_request, p2p need two dma_request. 2. There are some cases which need to change the config after the dma_request_channel. add dma_request config in dmaengine_slave_config(). 3. add dma_request0 and dma_request1 in dma_slave_config for runtime config in dmaengine_slave_config. Signed-off-by: Shengjiu Wang <b02247@freescale.com>
2013-08-23ENGR00274412-1 dma: pxp: Port ePxP driver to 3.10Robby Cai
It's ported from v3.5.7, which contains ePxP DMAENGINE driver and a client driver named pxp_device. This patch also includes the changes: - use uapi header file - remove VM_RESERVED since it's deprecated, and drop redundant VM_IO flag since it's automatically set in remap_pfn_range() - use <linux/platform_data/dma-imx.h> instead of <mach/dma.h> - use devm_kzalloc() instead in pxp_probe() - use macro __KERNEL__ in pxp_dma uapi header to avoid definition conflict Signed-off-by: Robby Cai <R63905@freescale.com>
2013-08-23ENGR00274226-02 MX6 HDMI: Add prefix "fsl" to mxc specific dts properties.Sandor Yu
- Add prefix "fsl" to mxc specific dts properties. - imx_hdmi_type will been referenced by app move it to mxc_hdmi.h. Signed-off-by: Sandor Yu <R01008@freescale.com>
2013-08-23ENGR00274473-1 regulator: add more notifier eventsAnson Huang
Some hardware modules need strict flows according to regulator's enable/disable, such as for i.MX6 SOC's PU regulator, there is another power gate in GPC module, it needs to disable PU modules' clock before PU regulator is disabled and need to enable clock right after PU regulator is enabled, then it can do GPC's power gate operation. So we need to add REGULATOR_EVENT_PRE_DISABLE and REGULATOR_EVENT_ENABLE for regulator's notifier events. Signed-off-by: Anson Huang <b20788@freescale.com>
2013-08-23ENGR00274761-3 Upgrade VPU driver for Linux 3.10 kernelHongzhang Yang
Modify mxc_vpu.c to adapt to kernel 3.10 change - Remove all references to header files in mach folder - Include linux/clk.h instead of mach/clock.h - Call device_reset instead of imx_src_reset_vpu - Dummy PU and PM api callings before they are ready - Dummy cpu_is_mx5? api callings - Remove VM_RESERVED flags - Call gen_pool instead of iram_alloc Modify mxc_vpu.h - Change CONFIG_ARCH_MX6 to CONFIG_SOC_IMX6Q Modify Kconfig: - Change ARCH_MX? to SOC_IMX?, remove ARCH_MX3/ARCH_MX37 because for MX3 series only SOC_IMX31 and SOC_IMX35 are defined in Linux 3.10, and these chips don't have VPU. Need to add SOC_IMX37 to VPU Kconfig if MX37 could be supported later. Add VPU to config and build path - mxc/Kconfig - mxc/Makefile Signed-off-by: Hongzhang Yang <Hongzhang.Yang@freescale.com>
2013-08-23ENGR00274761-1 Upgrade VPU driver for Linux 3.10 kernelHongzhang Yang
Pick files from origin/imx_3.5.7 commit 135bf02a0727ea5ce96 - mxc_vpu.h is picked from arch/arm/plat-mxc/include/mach/ and put to include/linux/ - drivers/mxc/vpu/Kconfig - drivers/mxc/vpu/Makefile - drivers/mxc/vpu/mxc_vpu.c Signed-off-by: Hongzhang Yang <Hongzhang.Yang@freescale.com>
2013-08-23ENGR00274768-1 ARM: imx6q: update gint bit definitions of IOMUXC_GPR1Anson Huang
Need to use IOMUXC_GPR1_GINT bit for cpuidle driver, so update this bit's definitions. Signed-off-by: Anson Huang <b20788@freescale.com>
2013-08-23ENGR00274056-1 thermal: add device cooling for thermal driverAnson Huang
cpu cooling is not enough when temperature is too hot, as some devices may contribute a lot of heat to SOC, such as GPU, so we need to add device cooling as well, when system is too hot, devices can also take their actions to lower SOC temperature. when temperature cross the passive trip, device cooling driver will send out notification, those devices who register this devfreq_cooling notification will take actions to lower SOC temperature. Signed-off-by: Anson Huang <b20788@freescale.com>
2013-08-23ENGR00274286-2 mxc: asrc: Add asrc m2m driverNicolin Chen
Add ASRC M2M driver. Signed-off-by: Nicolin Chen <b42378@freescale.com>
2013-08-23ENGR00273974-1 media: port mxc vout driver from 3.5.7 to 3.10Liu Ying
This is porting mxc vout driver from imx_3.5.7 kernel to imx_3.10 kernel. * Put the driver in drivers/media/platform/ directory instead of drivers/media/video/ directory, since the later one is renamed to the former one in 3.10 kernel. * Change the ipu-v3.h header file from <mach/ipu-v3.h> to <linux/ipu-v3.h>. * Change the mxc_vidioc_s_crop() function's implementation since the definition of the vidioc_s_crop() function is modified to make the last argument be constant. * Set vfl_dir to be VFL_DIR_TX since the ioctrl validity checks are improved in 3.10 kernel. * Remove 'defaut y' setting for VIDEO_MXC_OUTPUT and VIDEO_MXC_IPU_OUTPUT Kconfigs. They may be configured by kernel default configure or by user. * Make VIDEO_MXC_OUTPUT Kconfig depend on FB_MXC Kconfig since we need framebuffers to be rendered. * Make VIDEO_MXC_IPU_OUTPUT Kconfig be tristate. * Split <linux/mxc_v4l2.h> header file up into include/linux/ and include/uapi/linux/ directories so that the userspace may include the mxc_v4l2.h header file. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
2013-08-23ENGR00273854 mxcfb: header file split upLiu Ying
This patch splits mxcfb header file up to include/linux/ directory and include/uapi/linux/ directory so that the userspace may include the mxcfb header file. This patch also fixes some annotations and macros about the header file's naming. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
2013-08-23ENGR00273852 ipu: header file split upLiu Ying
This patch splits ipu header file up to include/linux/ directory and include/uapi/linux/ directory so that the userspace may include the ipu header file. This patch also fixes some annotations and macros about the header file's naming. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
2013-08-23ENGR00274035 UAPI: split the header file linux/pxp_dma.hRobby Cai
Move the user-space part in include/linux/pxp_dma.h into include/uapi/linux/pxp_dma.h due to the UAPI introduced. Signed-off-by: Robby Cai <R63905@freescale.com>
2013-08-23ENGR00263553 fb: Change type uint to unsigned int in struct mxcfb_update_dataRobby Cai
uint is not quite standard type, changed to unsigned int to avoid to include specific header file. This is requested from mm team. Signed-off-by: Robby Cai <R63905@freescale.com> (cherry picked from commit 318a325b8c19d1ba7c1451797da5a161e787c64d)
2013-08-23ENGR00274009 ARM: imx: gpt clk on i.mx6sl can NOT source from OSCAnson Huang
There is no OSC clock source option for gpt on i.mx6sl, it can only source from perclk, and perclk can be from OSC. As perclk is clock source of many low speed devices, set it to be from OSC, this can avoid freq varying when bus clk(ipg) is scaled. Signed-off-by: Anson Huang <b20788@freescale.com>
2013-08-23ENGR00273838-8 ASoC: WM8962: Let codec driver enable/disable its MCLKNicolin Chen
WM8962 needs its MCLK when powerup -- wm8962_resume(). Thus it's better to control the MCLK in codec driver. Thus remove the clock enable in machine dirver accordingly. Acked-by: Wang Shengjiu <b02247@freescale.com> Signed-off-by: Nicolin Chen <b42378@freescale.com>
2013-08-23regulator: pfuze100: add pfuze100 regulator driverRobin Gong
Add pfuze100 regulator driver. Signed-off-by: Robin Gong <b38343@freescale.com> Tested-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Mark Brown <broonie@linaro.org>
2013-08-23ENGR00273848-02 iMX6Q/DL HDMI: Enable HDMI functionSandor Yu
Add MX6Q/DL HDMI core and video driver source code. Add MXC edid data read and parse source code. Signed-off-by: Sandor Yu <R01008@freescale.com>
2013-08-23ENGR00273512-2 ARM: imx: Change GPT clock source to OSCAnson Huang
GPT clock is system clock source, need to avoid freq varying, as system bus clock(ipg) may be changed, for i.mx6 series SOCs, all of them except i.mx6q TO1.0 support sourcing GPT clk from OSC directly, so switch gpt clock to OSC if the SOCs support this feature, as OSC freq is constant. Signed-off-by: Anson Huang <b20788@freescale.com>
2013-08-23usb: fix build error without CONFIG_USB_PHYPeter Chen
on i386: drivers/built-in.o: In function `ci_hdrc_probe': core.c:(.text+0x20446b): undefined reference to `of_usb_get_phy_mode' Signed-off-by: Peter Chen <peter.chen@freescale.com> Reported-by: Randy Dunlap <rdunlap@infradead.org> Acked-by: Randy Dunlap <rdunlap@infradead.org> Acked-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Acked-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-08-23usb: chipidea: drop "13xxx" infixAlexander Shishkin
"ci13xxx" is bad for at least the following reasons: * people often mistype it * it doesn't add any informational value to the names it's used in * it needlessly attracts mail filters This patch replaces it with "ci_hdrc", "ci_udc" or "ci_hw", depending on the situation. Modules with ci13xxx prefix are also renamed accordingly and aliases are added for compatibility. Otherwise, no functional changes. Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-08-23usb: add devicetree helpers for determining dr_mode and phy_typeMichael Grzeschik
This adds two little devicetree helper functions for determining the dr_mode (host, peripheral, otg) and phy_type (utmi, ulpi,...) from the devicetree. Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Acked-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-08-23usb: chipidea: introduce dual role mode pdata flagsSascha Hauer
Even if a chipidea core is otg capable the board may not be. This allows to explicitly set the core to host/peripheral mode. Without these flags the driver falls back to the old behaviour. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-08-23usb: chipidea: add PTW, PTS and STS handlingMichael Grzeschik
This patch makes it possible to configure the PTW, PTS and STS bits inside the portsc register for host and device mode before the driver starts and the phy can be addressed as hardware implementation is designed. Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-08-23ENGR00273673-2 dma: imx-sdma: Add dual-fifo script for ssiNicolin Chen
To support SSI dual-fifo mode, we need to add dual-fifo script for sdma. Signed-off-by: Nicolin Chen <b42378@freescale.com>
2013-08-23serial: Move "uart_console" def to core header file.Sourav Poddar
Move "uart_console" definition to serial core header file, so that it can be used by serial drivers. Get rid of the uart_console defintion from mpc52xx_uart driver. Cc: Santosh Shilimkar <santosh.shilimkar@ti.com> Cc: Rajendra nayak <rnayak@ti.com> Reviewed-by: Felipe Balbi <balbi@ti.com> Reviewed-by: Kevin Hilman <khilman@linaro.org> Tested-by: Kevin Hilman <khilman@linaro.org> Signed-off-by: Sourav Poddar <sourav.poddar@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-08-23ENGR00273073-2 cpufreq: add interactive governor for cpufreqAnson Huang
cpufreq: interactive: New 'interactive' governor This governor is designed for latency-sensitive workloads, such as interactive user interfaces. The interactive governor aims to be significantly more responsive to ramp CPU quickly up when CPU-intensive activity begins. Existing governors sample CPU load at a particular rate, typically every X ms. This can lead to under-powering UI threads for the period of time during which the user begins interacting with a previously-idle system until the next sample period happens. The 'interactive' governor uses a different approach. Instead of sampling the CPU at a specified rate, the governor will check whether to scale the CPU frequency up soon after coming out of idle. When the CPU comes out of idle, a timer is configured to fire within 1-2 ticks. If the CPU is very busy from exiting idle to when the timer fires then we assume the CPU is underpowered and ramp to MAX speed. If the CPU was not sufficiently busy to immediately ramp to MAX speed, then the governor evaluates the CPU load since the last speed adjustment, choosing the highest value between that longer-term load or the short-term load since idle exit to determine the CPU speed to ramp to. A realtime thread is used for scaling up, giving the remaining tasks the CPU performance benefit, unlike existing governors which are more likely to schedule rampup work to occur after your performance starved tasks have completed. The tuneables for this governor are: /sys/devices/system/cpu/cpufreq/interactive/min_sample_time: The minimum amount of time to spend at the current frequency before ramping down. This is to ensure that the governor has seen enough historic CPU load data to determine the appropriate workload. /sys/devices/system/cpu/cpufreq/interactive/go_maxspeed_load The CPU load at which to ramp to max speed. Signed-off-by: Mike Chan <mike at android.com> Signed-off-by: Todd Poynor <toddpoynor at google.com> Signed-off-by: Allen Martin <amartin at nvidia.com> (submitted improvements) Signed-off-by: Axel Haslam <axelhaslam at ti.com> (submitted improvements) Signed-off-by: Anton Vorontsov <anton.vorontsov at linaro.org> Signed-off-by: Anson Huang <b20788@freescale.com>