Age | Commit message (Collapse) | Author |
|
scl-gpios should be (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN) since
commit d2d0ad2aec4a ("i2c: imx: use open drain for recovery GPIO")
Fix on-boot warning:
"enforced open drain please flag it properly in DT/ACPI DSDT/board file"
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Disable CAAM SM Test which is a Keystore Test/Example meant for
development. This gets rid of lots of messages in the kernel log.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Enable deprecated/obsolete ARMv8 instructions emulation. This allows
to run ARMv6 binaries (e.g. Raspberry Pi) on ARMv8 machines.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
The driver got converted to a I2C device, DDC/EDID and HPD handling is added.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Also delete the no longer needed hardcoded timings.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
While at it remove commented out fragments.
While at it remove double execution of MIPI RX soft reset.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
If the ddc-i2c-bus property exists, that bus is used to read EDID from an
attached monitor and set the list of available modes.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Commit "680eee23d001 imx-hdp.c: fix default resolution" changed the default
resolution to 1080p.
The same mode timings were used to detect a 4k mode and then reconfigure for
HDMI2.0 SCDC. Rework the code to correctly detect a 4k mode.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
- Remove Lontium V1.0 board settings
- Disable RGB display
- Add eval.dtsi
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
And remove unnecessary enabled hardware
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
This commit only creates fsl-imx8qxp-colibri-eval-v3.dtsi and moves
code.
It does not change code.
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
This commit hooks the panel directly onto adma_lcdif and leaves out
lcd_display as it is not compatible with mxsfb-drm.
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Move display and camera related enables out of SoM level into carrier
board level.
Those settings belong to carrier board as only the carrier board knows
wich connectors it has and therefore what it needs enabled.
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
This commit adds proper sleep state muxing, needed for carrier boards
that have a vmmc switch in there so we can prevent backfeeding.
Disabling write protection as this pin is not routed.
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Remove ext_io from pinmuxing of the extcon_usbc_det. It is not used
and actually misleading.
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
And give the SoM level its naming.
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
This patch also puts some comments.
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Make sure that the bus_flags parsed from the display timings are
passed to the connector display info.
Signed-off-by: Stefan Agner <stefan@agner.ch>
(cherry picked from commit 77d2c3b42a84a32b5ae7bbad173a72dc9398d939)
|
|
The mxsfb-drm exposes a display parallel interface.
Use the DPI instead Unknown connector.
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
If one used display timings in devicetree the display_flags like
pixelclk-active have not been applied.
This commit fixes that and puts some nice debug messages so one can
see from where those timings are applied.
This fixes commit f397f60efbb24c2906cd95f443607b2642b49b24
"video: fbdev: mxsfb: allow setting display timings via kernel
command line"
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
(cherry picked from commit 17652e758b1236c49d2e1d336d81a832452b7c53)
|
|
If I2C bus for DDC is not defined, assume the connector
is always connected.
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
The setup LCDIF -> LCD Panel supports both LCD panels on parallel
display connectors and VGA monitor. Use this setup by default.
Keep ability to switch to dumb-vga-dac driver.
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
The LVDS panel driver has almost everything which is required to
describe a simple parallel RGB panel (also known as DPI, Display
Pixel Interface).
Signed-off-by: Stefan Agner <stefan@agner.ch>
|
|
There is not needed to use imx-parallel-display to connect
simple LCD panel to LCDIF output interface.
Remove imx-parallel-display, so panel starts working well.
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
To enable "zero cross detect" for ADC/HP, change
HP_ZCD_EN/ADC_ZCD_EN bits only instead of writing the whole
CHIP_ANA_CTRL register.
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
Reviewed-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Reviewed-by: Igor Opaniuk <igor.opaniuk@toradex.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
|
|
This control mute/unmute the ADC input of SGTL5000
using its CHIP_ANA_CTRL register.
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
Reviewed-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Reviewed-by: Igor Opaniuk <igor.opaniuk@toradex.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
|
|
SGTL5000_SMALL_POP is a bit mask, not a value. Usage of
correct definition makes device probing code more clear.
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
Reviewed-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Reviewed-by: Igor Opaniuk <igor.opaniuk@toradex.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
|
|
VAG power control is improved to fit the manual [1]. This patch fixes as
minimum one bug: if customer muxes Headphone to Line-In right after boot,
the VAG power remains off that leads to poor sound quality from line-in.
I.e. after boot:
- Connect sound source to Line-In jack;
- Connect headphone to HP jack;
- Run following commands:
$ amixer set 'Headphone' 80%
$ amixer set 'Headphone Mux' LINE_IN
Change VAG power on/off control according to the following algorithm:
- turn VAG power ON on the 1st incoming event.
- keep it ON if there is any active VAG consumer (ADC/DAC/HP/Line-In).
- turn VAG power OFF when there is the latest consumer's pre-down event
come.
- always delay after VAG power OFF to avoid pop.
- delay after VAG power ON if the initiative consumer is Line-In, this
prevents pop during line-in muxing.
According to the data sheet [1], to avoid any pops/clicks,
the outputs should be muted during input/output
routing changes.
[1] https://www.nxp.com/docs/en/data-sheet/SGTL5000.pdf
Cc: stable@vger.kernel.org
Fixes: 9b34e6cc3bc2 ("ASoC: Add Freescale SGTL5000 codec support")
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
Reviewed-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
|
|
Fix commit '46a30aca7f5c MLK-20052 L2 Cache TEE/Linux shared mutex' when
CONFIG_OPTEE is not defined. Compiler warning:
| arch/arm/mm/cache-l2x0.c:151:12: warning: ‘l2c_set_mutex’ defined but not used [-Wunused-function]
fns.set_mutex and l2c_set_mutex() are guarded by CONFIG_OPTEE.
On top of that the function pointer is tested for NULL before calling.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
iMX8 manages clocks with system controller (sc) using RPC.
Using RPC procedures from interrupt context leads kernel
crash.
Remove enabling/disabling clock in interrupt handler.
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
The mxsfb driver doesn't have a real consumer. This leads the power
domains of eLCDIF to off right after device probing.
It is required to get the reference counter to prevent this behavior.
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Usdhc1 had wrong stuff in it due to the merge request. Fix that
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
In order for the otg ports, that these modules support, it is needed
that dr_mode is on otg. Switch to use that feature.
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|