summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
2014-10-28serial/imx.c add RS485 handlingMax Krummenacher
Use the RTS(CTS) output to control a RS485 transmitter. The UART obviously needs RTS/CTS enabled for this to work, e.g. fsl,uart-has-rtscts must be present in the device tree. Enable RS485 by either using ioctrl TIOCSRS485 or enable it in the device tree by setting linux,rs485-enabled-at-boot-time. e.g. &uart2 { status = "okay"; linux,rs485-enabled-at-boot-time; }; Largely taken from Bobby Wu's patch https://community.freescale.com/message/354499#354499
2014-09-15imx-weim.c: add dtb CS memory map setupMax Krummenacher
Evaluate the ranges property of the weim node to setup the chip select memory map in IOMUXC_GPR1. Note that the implementation assumes the ranges property to be sorted from CS0 to the last CS used. e.g. for CS0, CS1, CS2 used, each having a range of 32MB: ranges = <0 0 0x08000000 0x02000000 1 0 0x0a000000 0x02000000 2 0 0x0c000000 0x02000000>;
2014-09-10Kconfig: Make PCI_FORCE_GEN1 depend on PCI_IMX6Max Krummenacher
2014-09-10mxc_lcdif.c: EDT-WVGA: fix pixelclk polarityMax Krummenacher
pixeldata is sampled on the positve pixelclk edge.
2014-09-04drivers/tty/serial/imx.c: add intial DTE supportMax Krummenacher
2014-09-04max17135-regulator.c: fix build errorMax Krummenacher
Introduced with c87ddbb1325a448d56a920513206592f03bca117
2014-09-04ENGR00300876 [#ccc] Fix flick issue in GAL2D compositorLoren Huang
Move wl_surface_commit to work thread. Fix memory leak in wl_egl_window_resize. Date: Jul 10, 2014 Signed-off-by Yong Gan <yong.gan@freescale.com> Acked-by: Jason Liu (cherry picked from commit c114ec8a4c74fc2a2d0f64c60031c66d2225ff83) (cherry picked from commit dac46dcf913585956a0e7a838e6f4b7465f00f57)
2014-09-04ENGR00306992-2 gpu:gpu2d may cause bus hang in some corner caseLoren Huang
Vivante patch name: fix_fsl_2d_base_on_p13.v2.rls.diff -Updated the outstanding request limit to 12. -Refined the 2D chip feature check. -Refine the 2D cache flush operation (avoid FE and PE access memory through the same port). -Enable cache flush for filterblt. -Dynamic enabling SPLIT_RECT by checking chip feature(disable for us) -Use brush stretch blt for clear operation. -Enable SplitFilterBlit to workaround the 2d hang issue in filterblit case. -Refine 2d line operation. Date: May 05, 2014 Signed-off-by: Loren Huang <b02279@freescale.com> Acked-by: Shawn Guo (cherry picked from commit 479b9125caefc45451aa1c4a1b7f2704b57831fa) (cherry picked from commit ba5139e1daa3f5834b061a099bcec8e85575a2c0)
2014-09-03mxc_hdmi: skip unnecessary mxc_hdmi_setup callsDaniel Kochmanski
2014-08-20stmpe-adc: add temperature channelMax Krummenacher
read the chips temperature in millikelvin while at it sort the #include directives in alphabetical order.
2014-08-18stmpe-adc: add device tree bindingsMax Krummenacher
2014-08-18iio: adc: add STMPE ADC driver using IIO frameworkStefan Agner
This adds an ADC driver for the STMPE device using the industrial input/output interface. The driver supports raw reading of values. The driver depends on the MFD stmpe driver. If the touchscreen block is enabled too, only for of the 8 ADC channels are available. Conflicts: drivers/mfd/Kconfig drivers/staging/iio/adc/Kconfig drivers/staging/iio/adc/Makefile Adaptions due to staging iio subsystem changes: drivers/staging/iio/adc/stmpe-adc.c
2014-08-18mfd: stmpe: add ADC block resourcesStefan Agner
In order to use the auxiliar ADC inputs of STMPE811 devices we need to add resources for the ADC block. Also move the ADC macros from the touchscreen driver to the general header file. We will need them for the ADC driver in future. Conflicts: drivers/mfd/stmpe.c
2014-07-10regulator: pfuze100: Fix address of FABIDAxel Lin
According to the datasheet, the address of FABID is 0x4. Fix it. Signed-off-by: Axel Lin <axel.lin@ingics.com> Acked-by: Robin Gong <b38343@freescale.com> Signed-off-by: Mark Brown <broonie@linaro.org> Cc: stable@vger.kernel.org (cherry picked from commit c07a24939f36fb6de522a9726369ea64eee5d98d) (cherry picked from commit cfec286ff9f375c2c289072d63cedbb0c7917a48) (cherry picked from commit df8c0fa1f66b7267402391f4a21964b0aeee9e38)
2014-07-10input: touchscreen: fusion: add device tree integrationMax Krummenacher
Add device tree integration and add the device to the dtb. i2c device, interrupt and reset GPIO can be specified in the dts as follows: Note that additionally you may have to set the pinmuxing for the pins to be GPIO. &i2c1 { status = "okay"; pcap@10 { /* TouchRevolution Fusion 7 and 10 multi-touch controller */ compatible = "touchrevolution,fusion-f0710a"; reg = <0x10>; gpios = <&gpio6 10 0 /* MXM-11, Pen down interrupt */ &gpio6 9 0 /* MXM-13, Reset interrupt */ >; };
2014-07-08input: touchscreen: fusion: platform independent GPIO descriptionStefan Agner
Use platform independent description for requested GPIOs. (cherry picked from commit c300f3a605f8984449c1a5324fd3edda6f2fd8ff)
2014-07-08input: touchscreen: fusion: fix error handlingStefan Agner
Fix chip reset by sleeping long enought after reset. Do proper error handling (free GPIO on failure). Use dev_* for message logging to get similar messages for all fusion driver related errors and warnings. (cherry picked from commit 63b293000723e61a880470f093fbe82e86ebd81b)
2014-07-08input: touchscreen: fusion: use new I2C PM functionsStefan Agner
To avoid warnings use the new I2C power management function for suspend and resume. (cherry picked from commit 9d996316a470d37fb71c521f27106b014f3f0b23)
2014-07-08input: touchscreen: added platform data for Fusion touchscreenStefan Agner
Added platform data struct to define interrupt and reset GPIO. This allows to initialize the touchscreen controller inside the driver rather then in each platform and use the driver as a module. (cherry picked from commit cb82730b70f31af3b43041ac4e47de69c18016c9)
2014-07-08input: touchscreen: fix race condition in Fusion driverStefan Agner
When the next interrupt request apeares between the confirmation of the previous (a write via I2C, fusion_F0710A_write_complete) and the reenable of the GPIO interrupt, the driver hangs and no more touch inputs are reported. This patch moves the confirmation after the reenabling of the GPIO interrupt. (cherry picked from commit e95019a4f20b8cdfbe03658e4f73b69cdcf97540)
2014-07-08input: touchscreen: add ABS_X/ABS_Y axis for Fusion touchscreenStefan Agner
Recent evdev X-Server input driver implementation complain when only multitouch axes have been reported ("found only multitouch-axes. That shouldn't happen."). Therefor also report the primary touch detection with default axis. (cherry picked from commit dda7a631ac901e4d140e8a6612c5c6b5506b6a91)
2014-07-08input: touchscreen: android ics fusion_F0710A driver variantMarcel Ziswiler
For Android use ICS variant of Fusion 7 and 10 multi-touch driver (See Fusion 7 and 10 drivers for Linux.pdf and Linux Drivers Fusion 10.zip). Tested to be working both with Android 4.0.4 for Colibri T20 as well as Android 4.2.1 for Colibri T30. (cherry picked from commit 0fc73eb175a82dc11f6c1cc8e03f1d311d3180de)
2014-07-08input: touchscreen: add Fusion 7 and 10 multi-touch driverMax Krummenacher
This patch adds the multi-touch input driver for the TouchRevolution Fusion 7 and 10 panels (See Fusion 7 and 10 drivers for Linux.pdf and Linux Drivers Fusion 10.zip) as downloaded in 07.2014
2014-07-07regulator: allow GPIO 0 to be used for an enable signalMax Krummenacher
accept .ena_gpio = 0 as a GPIO, drivers/instances which don't have a GPIO must set this field to a negative value, e.g. -ENODEV.
2014-07-07regulator: allow GPIO 0 to be used for an enable signalMax Krummenacher
GPIO number 0 *is* legal and must be accepted. Set .ena_gpio to -ENODEV on regulators having no GPIO in preparation of a code change to accept GPIO 0 in the config.
2014-06-25mmc: use SD/MMC host ID for block device name IDStefan Agner
From: Stefan Agner <stefan@agner.ch> By using the SD/MMC host device ID as a starting point for block device numbering, one can reliably predict the first block device name (at least for the first controller). This is especially useful for SoCs with multiple SD/MMC host controller, where the controller with index 0 is connected to a eMMC device. Usually the first controller gets the first block device name ID, however this is not guaranteed. Also if the first controller is aliased as second controller and visa-versa (using device tree aliases), the block device name ID assignation is not ordered by the SD/MMC host device ID (since mmc_rescan is called in order of the memory mapped pheripherial addresses). Signed-off-by: Stefan Agner <stefan@agner.ch>
2014-06-25mmc: use SD/MMC host ID for block device name IDStefan Agner
From: Stefan Agner <stefan@agner.ch> To get the SD/MMC host device ID, read the alias from the device tree. This is useful in case a SoC has multipe SD/MMC host controllers while the second controller should logically be the first device (e.g. if the second controller is connected to an internal eMMC). Combined with block device numbering using MMC/SD host device ID, this results in predictable name assignment of the internal eMMC block device. Signed-off-by: Stefan Agner <stefan@agner.ch>
2014-06-25mxc_vdacif.c: add second parallel output used for VDACMax Krummenacher
Copy of mxc_lcdif.c Adds a second parallel output which drives a Video DAC available on the second IPU, first DI on a Apalis iMX6 module Only RGB565 is supported. video=mxcfb0:dev=vdac,800x480M@60,if=RGB565
2014-06-23ldb: Add LVDS panel timingsMax Krummenacher
Ampire LDB-AM-800600LTNQW-A0H 800x600 Touch Revolution LDB-Fusion10 1024x600 LG LDB-LG-LP156WF1 1920x1080
2014-06-23lcd: Add WVGA timings for the EDT 7.0" panelMax Krummenacher
2014-06-23pci-imx6.c: add config option to force GEN1 speedMax Krummenacher
2014-06-23pci-imx6.c: fix BUG, scheduling while atomicMax Krummenacher
Depending on the preemptive settings 'usleep_range' are called in code where this is not allowed. Use udelay instead of usleep_range BUG: scheduling while atomic: swapper/0/1/0x00000002
2014-06-05input: stmpe-ts: fix touch release detectionMarcel Ziswiler
Previous HZ / 50 calculation allowed for a touch sampling time of 20 ms which is not sufficient if either the touch detect delay or the settling time is longer than 500 us.
2014-06-04eMMC: Don't initialize partitions on RPMB flagged areas.Max Krummenacher
Prevents a lot of pointless hanging at boot on some devices. Taken from Nell Hardcastle https://dev-nell.com/rpmb-emmc-errors-under-linux.html
2014-05-07ft5x06: Call translate() routine to optionally use calibration[] arrayEric Nelson
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
2014-05-07ft5x06: implement proc_read/proc_write to read I2C registersEric Nelson
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
2014-05-05tc358743_h2c: add devicetree supportTroy Kisky
2014-05-05TC358743 Kconfig dependency updateTroy Kisky
2014-05-02tc358743_h2c: fill in sample edid data from Asus monitorTroy Kisky
2014-05-02tc358743_h2c: fix compiler warningsTroy Kisky
2014-05-02tc358743_h2c: cleanup spacingTroy Kisky
2014-05-02add tc358743_h2c driverTroy Kisky
2014-04-28mmc: each mmc_host has its own workqueueTroy Kisky
2014-04-28sdhci: print opcode/retries on timeout errorTroy Kisky
2014-04-24rtc-rv4162: add dt supportTroy Kisky
2014-04-24Add driver for Micro Crystal RV-4162 real-time clockEric Nelson
2014-04-24sdhci-esdhc-imx: add vqmmc-1-8-v property to stop regulator errorsTroy Kisky
2014-04-24ci_hdrc_imx: add reset-gpiosTroy Kisky
2014-04-24ov5640_mipi: make read_reg use only 1 i2c_transfer callTroy Kisky
2014-04-24ov5640_mipi: software reset does not affect i2c addressTroy Kisky