summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-07-30Revert "verdin-am62: dsi-to-lvds: add support for SLEEP_MOCI"toradex_ti-linux-6.1.yFrancesco Dolcini
This reverts commit 6ee6e128ac194042c5ad9ca219fc37813239f811. CTRL_SLEEP_MOCI# cannot be supported on TI AM62, we cannot drive the GPIO in deep sleep mode, disable the functionality therefore. Related-to: ELB-5548 Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
2024-07-30Revert "verdin-am62: dsi-to-hdmi: add support for SEEP_MOCI"Francesco Dolcini
This reverts commit 41d6af1681d8917336b0bcbbe2372709eed272da. CTRL_SLEEP_MOCI# cannot be supported on TI AM62, we cannot drive the GPIO in deep sleep mode, disable the functionality therefore. Related-to: ELB-5548 Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
2024-07-23aquila-am69: correct DSI to HDMI overlayParth Pancholi
Correct ddc-i2c-bus bus property, the property should be the i2c bus we read the EDID from, not a pinctrl. Related-to: ELB-5809 Signed-off-by: Parth Pancholi <parth.pancholi@toradex.com>
2024-07-10aquila-am69: correct CSI_2 ov5640 overlayParth Pancholi
Set right pinctrl nodes for CSI_2 camera as per the aquila am69 device tree. Correct the GPIO nodes accordingly. Related-to: ELB-5810 Signed-off-by: Parth Pancholi <parth.pancholi@toradex.com>
2024-06-07aquila-am69: add ov5640 camera overlaysParth Pancholi
Add OV5640 camera overlays for Aquila CSI_1 and CSI_2 interfaces. Related-to: ELB-5769 Signed-off-by: Parth Pancholi <parth.pancholi@toradex.com>
2024-06-07aquila-am69: add spidev overlaysParth Pancholi
Add Aquila AM69 SPI_1 and SPI_2 spidev overlays. Related-to: ELB-5769 Signed-off-by: Parth Pancholi <parth.pancholi@toradex.com>
2024-06-07aquila-am69: add DSI to 10inch LVDS panel overlayParth Pancholi
Add Aquila DSI to 10inch capacitive touch LVDS panel adapter overlay. Related-to: ELB-5769 Signed-off-by: Parth Pancholi <parth.pancholi@toradex.com>
2024-06-06aquila-am69: add DSI to HDMI overlayParth Pancholi
Add Aquila DSI to HDMI adapter overlay. Related-to: ELB-5769 Signed-off-by: Parth Pancholi <parth.pancholi@toradex.com>
2024-06-05branch wide: delete nxp downstream overlaysMax Krummenacher
Delete the overlay sources specific to modules based on NXP's SoCs from the downstream TI branch. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2024-06-05verdin-am62_panel-cap-touch-10inch-dsi_overlay: use rising edge irqMax Krummenacher
The touch controller generates a negative pulse of ~ 200us lenght. The falling edge is a bit slower and noisier due to the used level translation in HW. Change to trigger the interrupt on the rising edge to lower the possibilty of triggering two interrupts due to noise. Related-to: ELB-5747 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2024-05-01verdin-am62: dsi-to-lvds: add support for SLEEP_MOCIStefan Eichenberger
Add support for the SLEEP_MOCI signal to the dsi-to-lvds overlays, this allows the driver to turn off the the SLEEP_MOCI in suspend. Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
2024-05-01verdin-am62: dsi-to-hdmi: add support for SEEP_MOCIStefan Eichenberger
Add support for the SEEP_MOCI signal to the dsi-to-hdmi overlay, this allows the driver to turn off SLEEP_MOCI in suspend. Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
2024-02-16verdin-am62: do not disable dsi_bridgeFrancesco Dolcini
DSI bridge is disabled by default on the main DT file, remove not needed disabling from non-DSI overlays. Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
2024-01-24verdin-am62: riverdi: fix backlight pwm polarityMax Krummenacher
The Riverdi 10" Capacitive Touch display is brightest when the PWM duty cycle is at 100%, i.e. always 1. Thus keep the PWM polarity at normal. That way 0: backlight off, 1: backlight dark, 7: backlight bright. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2024-01-24verdin-am62: change riverdi 10.1 inch dsi panel timingsMax Krummenacher
With the current timings the series production display no longer sync on the provided signal. The display stays greyish. Riverdi proposed front/back-porch timing changes. With this the display work. Related-to: ELB-5389 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2024-01-09verdin-am62: add hmp overlayParth Pancholi
M4FSS and related mailbox changes are removed from main Verdin dtsi. Adding overlay to enable HMP (M4F) support in Linux. Related-to: ELB-5309 Signed-off-by: Parth Pancholi <parth.pancholi@toradex.com>
2023-12-24verdin-am62: fix native LVDS panel trailing spacesFrancesco Dolcini
Fix trailing spaces and not needed new lines. Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
2023-12-07verdin-am62: Add mallow lvds overlayJoao Paulo Goncalves
Add overlay for lvds display for mallow v1.1 using native lvds interface of verdin am62. Related-to: ELB-5218 Signed-off-by: Joao Paulo Goncalves <joao.goncalves@toradex.com>
2023-10-02verdin-am62: ov5640: follow kernel update to 6.1Max Krummenacher
The base device tree keeps the CSI-2 IP and PHY in the SoC disabled now. Set their status to okay. Tested with fdt_overlays=verdin-am62_dsi-to-hdmi_overlay.dtbo verdin-am62_ov5640_overlay.dtbo Related-to: ELB-5413 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-09-21verdin-am62: fix mezzanine lvds overlaysMax Krummenacher
The kernel device tree changed to by default enabling the DPI to DSI bridge and sets up the port linking between the DSS and the bridge. If the bridge is missing, then the DSS is will fail in probe and its output towards the native LVDS pins will also not work. Fix this by disabling the bridge node. This prevents having an overlay for native LVDS and for DSI applied concurrently. With the DSI to HDMI adapter the touch controller and the HDMI bridge use the same I2C address resulting in a not working touch. Related-to: ELB-5372 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-09-21verdin-am62: drop having a compatible set in an include fileMax Krummenacher
Having a top level compatible should be limited to the top level device tree file. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-09-20verdin-am62: add Riverdi 10.1 inch dsi panel overlayEmanuele Ghidoli
Add overlay for Riverdi 10.1 inch capacitive touch panel connected via DSI. It can be directly connected to Mallow carrier board and, using Verdin DSI display adapter, it can be connected to Dev and Dahlia carrier boards. Related-to: ELB-5363 Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
2023-09-13verdin-am62: clean-up dsi to hdmi overlayMarcel Ziswiler
- Get rid of spurious/unused labels. - Remove spurious newline. - Sort by labels. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2023-09-13verdin-am62: fix native lvds overlaysMarcel Ziswiler
Rather than referencing the root node and overriding its compatible, overlays should have their own root node with their compatible which may be checked for compatibility prior to being applied by a boot loader. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2023-05-02verdin-am62: add NAU8822 BTL overlaytoradex_ti-linux-5.10.y_bringupFrancesco Dolcini
Add NAU8822 BTL overlay. Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
2023-05-02verdin-am62: add DSI to HDMI overlayFrancesco Dolcini
Add Verdin DSI to HDMI adapter overlay. Related-to: ELB-5026 Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
2023-04-28verdin-am62: add dsi to 10inch lvds panel overlayMarcel Ziswiler
Add overlay for 10 inch capacitive touch panel connected via DSI to LVDS adapter. Related-to: ELB-5026 Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2023-04-13verdin-am62: add ov5640 camera overlayMax Krummenacher
Use media-ctl to set the format of the source node and gst-launch-1.0 to start and consume the video stream. media-ctl --set-v4l2 '"ov5640 4-003c":0 [fmt:UYVY8_1X16/640x480@1/30]' gst-launch-1.0 v4l2src device=/dev/video0 num-buffers=30 ! \ video/x-raw,width=640,height=480, format=YUY2 ! waylandsink sync=false [B media-ctl --set-v4l2 '"ov5640 4-003c":0 [fmt:UYVY8_1X16/720x480@1/30]' gst-launch-1.0 v4l2src device=/dev/video0 num-buffers=30 ! \ video/x-raw,width=720,height=480, format=YUY2 ! waylandsink sync=false media-ctl --set-v4l2 '"ov5640 4-003c":0 [fmt:UYVY8_1X16/1280x720@1/30]' gst-launch-1.0 v4l2src device=/dev/video0 num-buffers=30 ! \ video/x-raw,width=1280,height=720, format=YUY2 ! waylandsink sync=false media-ctl --set-v4l2 '"ov5640 4-003c":0 [fmt:UYVY8_1X16/1920x1080@1/15]' gst-launch-1.0 v4l2src device=/dev/video0 num-buffers=30 ! \ video/x-raw,width=1920,height=1080, format=YUY2 ! waylandsink sync=false media-ctl --set-v4l2 '"ov5640 4-003c":0 [fmt:UYVY8_1X16/2592x1944@1/15]' gst-launch-1.0 v4l2src device=/dev/video0 num-buffers=30 ! \ video/x-raw,width=2592,height=1944, format=YUY2 ! waylandsink sync=false root@verdin-am62-14917625:~# media-ctl --set-v4l2 '"ov5640 4-003c":0 [fmt:UYVY8_1X16/640x480@1/30]' root@verdin-am62-14917625:~# gst-launch-1.0 v4l2src device=/dev/video0 num-buffers=30 ! \ video/x-raw,width=640,height=480, format=YUY2 ! waylandsink sync=false -v Setting pipeline to PAUSED ... Pipeline is live and does not need PREROLL ... Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock /GstPipeline:pipeline0/GstV4l2Src:v4l2src0.GstPad:src: caps = video/x-raw, width=(int)640, height=(int)480, format=(string)YUY2, framerate=(fraction)120/1, interlace-mode=(string)progressive, colorimetry=(string)2:4:16:1 /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-raw, width=(int)640, height=(int)480, format=(string)YUY2, framerate=(fraction)120/1, interlace-mode=(string)progressive, colorimetry=(string)2:4:16:1 /GstPipeline:pipeline0/GstWaylandSink:waylandsink0.GstPad:sink: caps = video/x-raw, width=(int)640, height=(int)480, format=(string)YUY2, framerate=(fraction)120/1, interlace-mode=(string)progressive, colorimetry=(string)2:4:16:1 /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = video/x-raw, width=(int)640, height=(int)480, format=(string)YUY2, framerate=(fraction)120/1, interlace-mode=(string)progressive, colorimetry=(string)2:4:16:1 Redistribute latency... Got EOS from element "pipeline0". Execution ended after 0:00:01.011434424 Setting pipeline to NULL ... Freeing pipeline ... root@verdin-am62-14917625:~# Related-to: ELB-5082 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-04-11verdin-am62: add native lvds overlaysMarcel Ziswiler
Add overlays for native LVDS being MSP. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2023-03-07verdin-am62: add spidev overlayFrancesco Dolcini
Add spidev overlay for Verdin AM62. Related-to: ELB-5085 Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
2023-01-13verdin-imx8: add overlay to support nau8822 codec btlEmanuele Ghidoli
Add overlay to configure the two loudspeaker outputs as a single Bridge Tied Load output getting higher output power. Related-to: ELB-4489 Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
2022-10-05colibri-imx7: workaround for atmel-mxt connectorPhilippe Schenker
Settings for adapter are wrongly redefined in imx7-colibri-eval-v3.dtsi which leads to this overlay currently not working. As a workaround, do redefine these settings again in this overlay. Related-to: ELB-4830 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2022-10-04colibri-imx6: fix panel-cap-touch-10inch-lvds_overlayMarcel Ziswiler
The panel-cap-touch-10inch-lvds_overlay was inadvertently using the adapter rather than the connector for the atmel-mxt capacitive touch screen. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2022-10-03.gitignore: ignore build artifactsMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> (cherry picked from commit 4b262f28720e12214c92d2c90c94f711ece31448) Add also to the master branch Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-10-03apalis-imx6: move to one overlay per accessoryMax Krummenacher
Move the existing overlays to dtsi files and include them into one accessory dts. Provide data-mapping timings appropriately for each machine instead of the hardcoding and use a single overlay per SoC to avoid code duplication. Set the bus-format via toradex specific data-mapping property in the machine specifig overlay. Make sure the panel-dpi compatible is set correctly in the display specific overlay. While at it use new lines consistently and set sensible width and height dimension for a fullHD analog RGB monitor. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-10-03colibri-imx7: move to one overlay per accessoryAishwarya Kothari
Move the existing overlays to dtsi files and include them into one accessory dts. Provide data-mapping timings appropriately for each machine instead of the hardcoding and use a single overlay per SoC to avoid code duplication. Signed-off-by: Aishwarya Kothari <aishwarya.kothari@toradex.com>
2022-10-03colibri-imx6ull: move to one overlay per accessoryAishwarya Kothari
Move the existing overlays to dtsi files and include them into one accessory dts. Provide data-mapping timings appropriately for each machine instead of the hardcoding and use a single overlay per SoC to avoid code duplication. Signed-off-by: Aishwarya Kothari <aishwarya.kothari@toradex.com>
2022-10-03colibri-imx6: move to one overlay per accessoryAishwarya Kothari
Move the existing overlays to dtsi files and include them into one accessory dts. Provide data-mapping timings appropriately for each machine instead of the hardcoding and use a single overlay per SoC to avoid code duplication. Signed-off-by: Aishwarya Kothari <aishwarya.kothari@toradex.com>
2022-09-07apalis-imx6: add spidev overlayAishwarya Kothari
This overlay enables the spidev driver on the apalis imx6 spi interface. Related-to: ELB-4689 Signed-off-by: Aishwarya Kothari <aishwarya.kothari@toradex.com>
2022-09-07colibri-imx6: add spidev overlayAishwarya Kothari
This overlay enables spidev driver on the colibri imx6 spi interface. Related-to: ELB-4689 Signed-off-by: Aishwarya Kothari <aishwarya.kothari@toradex.com>
2022-09-07colibri-imx7: add spidev overlayAishwarya Kothari
This overlay enables the spidev driver on the colibri imx7 spi interface. Related-to: ELB-4689 Signed-off-by: Aishwarya Kothari <aishwarya.kothari@toradex.com>
2022-09-07colibri-imx6ull: add spidev overlayAishwarya Kothari
This overlay enables spidev driver on the colibri iMX6ULL spi interface. Related-to: ELB-4689 Signed-off-by: Aishwarya Kothari <aishwarya.kothari@toradex.com>
2022-08-30verdin-imx8mm: clean fix spidev overlayAishwarya Kothari
This commit corrects the indentation, adds a comment about the the compatible chipname used to bind the spidev driver and removes the redundant status variable. Fixes: d929016d ("verdin-imx8mm: add spidev overlay") Signed-off-by: Aishwarya Kothari <aishwarya.kothari@toradex.com>
2022-08-30verdin-imx8mp: clean fix spidev overlayAishwarya Kothari
This commit corrects the indentation, adds a comment about the the compatible chipname used to bind the spidev driver and removes the redundant status variable. Fixes: 9282bdc4 ("verdin-imx8mp: add spidev overlay") Related-to: ELB-4652 Signed-off-by: Aishwarya Kothari <aishwarya.kothari@toradex.com>
2022-08-26verdin-imx8mp: fix spidev overlayAishwarya Kothari
This commit suppresses compiler warnings about address-cells and size-cells properties missing in spidev block Fixes: 9282bdc4 ("verdin-imx8mp: add spidev overlay") Signed-off-by: Aishwarya Kothari <aishwarya.kothari@toradex.com>
2022-08-25verdin-imx8mm: fix spidev overlayAishwarya Kothari
This commit suppresses compiler warnings about address-cells and size-cells properties missing in spidev block Fixes: d929016d ("verdin-imx8mm: add spidev overlay") Signed-off-by: Aishwarya Kothari <aishwarya.kothari@toradex.com>
2022-08-23verdin-imx8mp: add spidev overlayAishwarya Kothari
This overlay enables spidev by default. Related-to: ELB-4652 Signed-off-by: Aishwarya Kothari <aishwarya.kothari@toradex.com>
2022-08-23verdin-imx8mm: add spidev overlayAishwarya Kothari
This overlay enables spidev by default. Related-to: ELB-4652 Signed-off-by: Aishwarya Kothari <aishwarya.kothari@toradex.com>
2022-05-05overlays: mxt-adapter: fix reset gpio polarityMarcel Ziswiler
Fix reset GPIO polarity in-line with the following upstream fix: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit?id=feedaacdadfc332e1a6e436f3adfbc67e244db47 Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2021-09-02imx6ull-emmc: add overlaysOleksii Bidnichenko
Add following overlays: - Parallel RGB support - Parallel RGB LVDS support - Atmel MXT TS for boards with Capacitive Touch Connector - Atmel MXT TS for Capacitive Touch Adapter - Toradex 7" resistive touchscreen ad7879 Related-to: ELB-4065 Related-to: ELB-4080 Signed-off-by: Oleksii Bidnichenko <oleksii.bidnichenko@toradex.com>