summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-05-13dtb, i2c-imx.txt: fix typosColibri_iMX6_LinuxImageV2.4Beta1_20150518Apalis_iMX6_LinuxImageV2.4Beta1_20150518toradex_imx_3.10.17_1.0.0_gaMax Krummenacher
2015-05-13imx6qdl-apalis.dtsi: cleanup commentsMax Krummenacher
2015-04-27apalis_imx6_defconfig add generic PCIe SATA/AHCI driverMax Krummenacher
CONFIG_SATA_AHCI=m This allows to use PCIe cards with a SATA interface.
2015-04-23ARM: imx6: clk: i.MX6 DualLite/Solo i2c4 clockIain Paton
Compared to i.MX6 Quad/Dual the CCM_CCGR1 register in the i.MX6 Solo/DualLite replaces the ecspi5 clock with the i2c4 clock. Handle this difference using cpu_is_imx6dl(). Signed-off-by: Iain Paton <ipaton0@gmail.com> Signed-off-by: Shawn Guo <shawn.guo@freescale.com> (cherry picked from commit ee3387f97bea00f99add9efe2d2b29374a49af41)
2015-04-21ARM: imxqdl-colibri: Increase speed field of DSIP0 padsBhuvanChandra.DV
Increase SPEED field from 50MHz to 100MHz the avoid pixel flickering on RGB666 at Full HD resolutions. Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
2015-04-21fbcon: logo: allow easy integration of a custom Linux boot logoMarcel Ziswiler
This patch allows for easy integration of a custom Linux boot logo to replace the Tux' being shown by default. Use gimp or the like to create a raw PPM in your desired resolution. Reduce the number of colours in the image to 224: user@host:~$ ppmquant 224 Toradex-640x480.ppm > \ Toradex-640x480-224.ppm ppmquant: making histogram... ppmquant: 370 colors found ppmquant: choosing 224 colors... ppmquant: mapping image to new colors... Convert it from raw PPM to ASCII format: user@host:~$ pnmnoraw Toradex-640x480-224.ppm > \ Toradex-640x480-ascii-224.ppm Copy it into the Linux sources: cp Toradex-640x480-ascii-224.ppm linux-toradex/drivers/video/logo/\ logo_custom_clut224.ppm Activate exclusively custom Linux logo in the kernel configuration: Device Drivers -> Graphics support -> Bootup logo -> Custom 224-color Linux logo And re-compile the kernel.
2015-04-16colibri_imx6: add initial camera/ACM device treeMax Krummenacher
2015-04-07Apalis iMX6: devicetree: fix CAM MCLKMax Krummenacher
2015-04-02imx6qdl-apalis.dtsi: set all fb default depths to 16bitMax Krummenacher
2015-04-02Apalis/Colibri iMX6: defconfig: add CIFS filesystemMax Krummenacher
2015-04-02Apalis/Colibri iMX6: defconfig: include MAX9526Max Krummenacher
2015-04-02imx6qdl-apalis-eval: rework ACM i2c devicesMax Krummenacher
2015-04-02max9526: add initial MXC camera sensor codeMax Krummenacher
Add initial support for Maxim Integrated MAX9526 video decoder for use with an Freescale i.MX 6. PAL works, NTSC does not lock on VSYNC.
2015-04-02adv7180.c: initial working adv7180 settingsMax Krummenacher
The input channel is currently fixed to A_IN2_3 on the ACM's connector X5.
2015-04-02mxc_v4l2_capture: let the camera driver set mipi/parallelMax Krummenacher
The camera driver knows if it uses mipi or parallel, and in case a camera can do both it makes sense that this is in the device tree node for the camera and not the generic mxc_v4l2_capture.
2015-04-02mxc_v4l2_capture: match ipu/csi/mipi instead of only ipu/csiTroy Kisky
(cherry picked from commit f3ce4f51a39f0eb6727166cbdba3e92b37f237e8)
2015-04-02i2c-imx: add gpio recovery functionalityMax Krummenacher
If the I2C is disturbed by other signals sometimes the i2c-imx bus gets stuck with SDA being low. This adds a recovery function to the bus driver. When e.g. a device driver detects a stuck bus int i2c_recover_bus(struct i2c_adapter *adap) can be called to try to recover the bus.
2015-03-17apalis imx6: devicetree: add inital parallel CSI muxMax Krummenacher
2015-03-17imx6dl-colibri-eval-v3.dts: prepare for fusion_F07/10AMax Krummenacher
Prepare for the needed changes to use the capacitive touch controller on Fusion F07, Fusion F10A displays. In order to use it uncomment the define PCAP and recompile and deploy the device tree
2015-03-11colibri imx6: devicetree: change display pins drive settingMax Krummenacher
The capacitive touch 10" display does react badly react badly to the current pad control settings. E.g. only the upper half of the display was somewhat readable with the lower half being whitish.
2015-03-11phy/micrel: Add suspend/resume support to Micrel PHYsPatrice Vilchez
All supported Micrel PHYs implement the standard "power down" bit 11 of BMCR, so this patch adds support using the generic genphy_{suspend,resume} functions. Signed-off-by: Patrice Vilchez <patrice.vilchez@atmel.com> [b.brezillon@overkiz.com: adapt to newer kernel and generalize to other phys] Signed-off-by: Boris BREZILLON <b.brezillon@overkiz.com> [nicolas.ferre@atmel.com: commit message modification] Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com> Cc: David J. Choi <david.choi@micrel.com> Signed-off-by: David S. Miller <davem@davemloft.net> (cherry picked from commit 1a5465f5d6a23e84ef5c06cb32f3d8c26632f42a)
2015-03-09ASoC: sgtl5000: Fix VAG_POWER enabling/disabling orderEric Nelson
Backport of commit dd4d2d6 from main-line. The VAG_POWER must be enabled after all other bits in CHIP_ANA_POWER and disabled before any other bit in CHIP_ANA_POWER. See the SGTL5000 datasheet (Table 31, BIT 7, page 42-43). Failing to follow this order will result in ugly loud "POP" noise at the end of playback. To achieve such order, use the _PRE and _POST DAPM widgets to trigger the power_vag_event, where the event type check has to be fixed accordingly as well. Signed-off-by: Marek Vasut <marex@denx.de> Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com> (cherry picked from commit ff27114ab094a3a662e3c770794a62522ea3a83b)
2015-03-09ASoC: sgtl5000: remove useless register write clearingEric Nelson
CHRGPUMP_POWERUP The SGTL5000_CHIP_ANA_POWER register is cached. Update the cached value instead of writing it directly. Upstream-status: sent Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com> (cherry picked from commit 309abdeda8c9331013f25b1a1209d9ce8334237b)
2015-03-09ASoC: sgtl5000: add delay before first I2C accessEric Nelson
Updated to match patch sent to mainline. Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com> (cherry picked from commit b6a502e0748578efc2ba55c8c8c9a59c760b0f70)
2015-03-09ASoC: sgtl5000: add delay before first I2C accessEric Nelson
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com> (cherry picked from commit df3d987038f53c8a76f28b3e6b374d0cc7941fed)
2015-03-09ASoC: sgtl5000: add delay before first I2C accessEric Nelson
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com> (cherry picked from commit 750009656f7c56a19339864c137566611157f6ba)
2015-03-09Revert "ASoC: sgtl5000: Fix driver probe after reset"Eric Nelson
This reverts commit 3d64385594ab68f6818fac19e40e8a587790f8cf. Pull from mainline was naive and requires additional precursor work. (cherry picked from commit 74cfed78c018c768a6026aef0781b8429276efcc)
2015-03-09ASoC: sgtl5000: Fix driver probe after resetFabio Estevam
After a 'reboot' command in Linux or after pressing the system's reset button the sgtl5000 driver fails to probe: sgtl5000 0-000a: Device with ID register ffff is not a sgtl5000 sgtl5000 0-000a: ASoC: failed to probe CODEC -19 imx-sgtl5000 sound.12: ASoC: failed to instantiate card -19 imx-sgtl5000 sound.12: snd_soc_register_card failed (-19) sgtl5000 codec does not have a reset line, nor a reset command in software, so after a system reset the codec does not contain the default register values from sgtl5000_reg_defaults[] anymore, as these are only valid after a power-on-reset cycle. Fix this issue by explicitly reading all the reset register values from sgtl5000_reg_defaults[] and writing them back into sgtl5000 to ensure a sane state. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Tested-by: Eric Nelson <eric.nelson@boundarydevices.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> (cherry picked from commit 281a32f28fe1304f366cc54c490cdf2bb20ca818)
2015-03-09ASoC: sgtl5000: Fix SMALL_POP bit definitionFabio Estevam
On a mx28evk with a sgtl5000 codec we notice a loud 'click' sound to happen 5 seconds after the end of a playback. The SMALL_POP bit should fix this, but its definition is incorrect: according to the sgtl5000 manual it is bit 0 of CHIP_REF_CTRL register, not bit 1. Fix the definition accordingly and enable the bit as intended per the code comment. After applying this change, no loud 'click' sound is heard after playback Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Mark Brown <broonie@kernel.org> Cc: stable@vger.kernel.org (cherry picked from commit a3e2b6b00e0ece0e8e45f9afa17dc211f5578c5e)
2015-03-09update to upstream rel_imx_3.10.17_1.0.2_gaMax Krummenacher
Merge remote-tracking branch 'freescale-imx/imx_3.10.17_1.0.0_ga' into toradex_imx_3.10.17_1.0.0_ga-next
2015-03-09colibri imx6: devicetree: make pinmuxing more granularMax Krummenacher
Pull out pins used as GPIOs which can also be used for flexcan to ease using them for can.
2015-03-09imx6qdl-colibri.dtsi: fix dublicate entriesMax Krummenacher
remove entries caused by copy/paste error
2015-03-09vgaarb.c: demote pr_err about vga device to pr_debugMax Krummenacher
pr_debug("vgaarb: this pci device is not a vga device\n");
2015-03-04imx6qdl-colibri.dtsi: reorder fb's fb0: LCD, fb1: HDMIMax Krummenacher
When not overridden from the kernel cmdline use the following assignemt: fb0: LCD, VGA resolution, 16bit framebuffer fb1: HDMI, VGA resolution, 16bit framebuffer Note that the X11 screen will be on fb0 only.
2015-02-16mxc_lcdif.c: add additonal LCD timingsMax Krummenacher
FusionF10A: 1024x600, used with external parallel to LVDS converter FusionF07A: 800x480 EDT-VGA: 640x480 EDT-480x272: 480x272
2015-02-04pcie-imx6: improve reset function for reseting EPMax Krummenacher
If the reset gpio for a PCIe switch is invalid, but a gpio for reseting downstream EP devices is valid no reset pulse for the EP devices is generated. (i.e. in the device tree reset-gpio is not defined but reset-ep-gpio is defined) The patch fixes this. Original patch from Juha Kokkonen, Huoltamoeletroniikka Ky
2014-12-10apalis-imx6: device-tree: add HW 1.0 treeColibri_iMX6_LinuxImageV2.3Beta5_20141219Apalis_iMX6_LinuxImageV2.3Beta6_20150112Apalis_iMX6_LinuxImageV2.3Beta5_20141219Max Krummenacher
rework the device-tree include structure to faciliate several device-tree's depending on HW version. Add a device tree imx6q-apalis-eval_v1_0.dtb for V1.0 HW, imx6q-apalis-eval.dtb working with V1.1 and newer HW.
2014-12-10apalis/colibri imx6 dtb: define eMMC reset pinMax Krummenacher
Set the eMMC reset pin as GPIO input with 22k pullup. Do no longer rely on the pinmuxing from U-Boot.
2014-12-10apalis/colibri imx6 dtb: rename power-key to wake-up-keyMax Krummenacher
The key used for wakeup from suspend was named 'Power' and configured to send the KEY_POWER code. Currently this is misleading, would one add functionality to the kernel to actually turn off the system when KEY_POWER is received then this would lead to the wakeup event also generating a power down event later. Rename the key to 'Wakeup' and send the KEY_WAKEUP code to the input subsystem. If one really would use the key
2014-12-10apalis/colibri imx6 defconfig: remove unneeded displaysMax Krummenacher
These display can not directly be connected anyway. For MIPI CSI at least one display is needed.
2014-12-03apalis/colibri imx6 defconfig: remove E-ink driverMax Krummenacher
The CPU on the modules does not have the EPDC IP anyway.
2014-12-03pci-imx6.c: remove compiler warningMax Krummenacher
2014-12-03apalis/colibri imx6 dtb: apalis-imx6: V1.1 HW changesMax Krummenacher
- use UARTs in DTE mode (Pinout change from V1.1 HW)
2014-12-03mmc: Allow forward compatibility for eMMCRomain Izard
As stated by the eMMC 5.0 specification, a chip should not be rejected only because of the revision stated in the EXT_CSD_REV field of the EXT_CSD register. Remove the control on this value, the control of the CSD_STRUCTURE field should be sufficient to reject future incompatible changes. Signed-off-by: Romain Izard <romain.izard.pro@gmail.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> (cherry picked from commit 03a59437ef6b6ad7fb0165cb9b96c08d6bf057fc)
2014-12-03mmc: core: Update the ext-csd.rev check for eMMC5.1Yuvaraj Kumar C D
With the new eMMC5.1 spec, there is a new EXT_CSD register with the revision number(EXT_CSD_REV) 7. This patch updates the check for ext-csd.rev number as 7. Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com> Signed-off-by: Yuvaraj Kumar C D <yuvaraj.cd@samsung.com> Reviewed-by: Doug Anderson <dianders@chromium.org> Signed-off-by: Chris Ball <cjb@laptop.org> (cherry picked from commit 6636bad839d9936e73e48c4841eda83a58fcdb53)
2014-12-03apalis/colibri imx6 dtb: use the pcie endpoint resetMax Krummenacher
The Apalis iMX6 V1.1 HW allows the control of RESET_MOCI. This is now used to reset PCIe endpoint devices until after the PCIe switch has come out of reset.
2014-11-21pcie-imx6: add reset function for reseting downstream EPMax Krummenacher
With the following dtb node one can define a gpio to reset downstream endpoints. reset-ep-gpio = <...>; Currently the logic is 1 for reset asserted and 0 for reset deasserted. Some pcie switches require their downstream endpoints to be kept in reset for an additonal millisecond after their reset has been deasserted.
2014-10-30dtb: move trdx pinmux definitions into trdx filesColibri_iMX6_LinuxImageV2.3Beta4_20141113Apalis_iMX6_LinuxImageV2.3Beta3_20141031Max Krummenacher
The Freescale provided files imx6qdl.dtsi, imx6q.dtsi provide among other things pinmux definitions. We added missing definitions to these files, however that could become a merging nightmare in the future. Move our additions into apalis/colibri files and use names which likely do not collide with future upstream additions.
2014-10-28Apalis/Colibri iMX6: add deactivated RS485 settingMax Krummenacher
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