Age | Commit message (Collapse) | Author |
|
|
|
|
|
CONFIG_SATA_AHCI=m
This allows to use PCIe cards with a SATA interface.
|
|
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)
|
|
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>
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
The input channel is currently fixed to A_IN2_3 on the ACM's connector X5.
|
|
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.
|
|
(cherry picked from commit f3ce4f51a39f0eb6727166cbdba3e92b37f237e8)
|
|
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.
|
|
|
|
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
|
|
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.
|
|
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)
|
|
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)
|
|
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)
|
|
Updated to match patch sent to mainline.
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
(cherry picked from commit b6a502e0748578efc2ba55c8c8c9a59c760b0f70)
|
|
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
(cherry picked from commit df3d987038f53c8a76f28b3e6b374d0cc7941fed)
|
|
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
(cherry picked from commit 750009656f7c56a19339864c137566611157f6ba)
|
|
This reverts commit 3d64385594ab68f6818fac19e40e8a587790f8cf.
Pull from mainline was naive and requires additional precursor work.
(cherry picked from commit 74cfed78c018c768a6026aef0781b8429276efcc)
|
|
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)
|
|
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)
|
|
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
|
|
Pull out pins used as GPIOs which can also be used for flexcan to ease using
them for can.
|
|
remove entries caused by copy/paste error
|
|
pr_debug("vgaarb: this pci device is not a vga device\n");
|
|
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.
|
|
FusionF10A: 1024x600, used with external parallel to LVDS converter
FusionF07A: 800x480
EDT-VGA: 640x480
EDT-480x272: 480x272
|
|
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
|
|
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.
|
|
Set the eMMC reset pin as GPIO input with 22k pullup. Do no longer rely on
the pinmuxing from U-Boot.
|
|
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
|
|
These display can not directly be connected anyway.
For MIPI CSI at least one display is needed.
|
|
The CPU on the modules does not have the EPDC IP anyway.
|
|
|
|
- use UARTs in DTE mode (Pinout change from V1.1 HW)
|
|
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)
|
|
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)
|
|
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.
|
|
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.
|
|
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.
|
|
|
|
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
|