I have custom board connected to https://riverdi.com/product/sbc-rvt101hvdnwc00-b
I found display dts file for different hardware (toradex sbc) https://git.toradex.com/cgit/device-tre ... -2.2.x-imx
My hardware connections
GPIO22 - LCD PWR_DN
GPI0/1 LCD SDA/SCL
GPIO12 -LCD PWM
GPIO23 - TOUCH_INT
GPIO20 - TOUCH_RST
DSI1x - LCD DSI pins.
In 6.1 kernel config I activate such optionsHow to adapt dts file for CM4?
I found display dts file for different hardware (toradex sbc) https://git.toradex.com/cgit/device-tre ... -2.2.x-imx
Code:
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT/* * Copyright 2023 Toradex */// RVT101HVDWC00-B DSI display (10 inch) with a resolution of 1280x800 pixel.&panel_lvds {compatible = "panel-lvds";backlight = <&backlight>;data-mapping = "vesa-24";height-mm = <136>;width-mm = <217>;status = "okay";/* * These timings are hand-optimized and more stable then teorethical * In particular HBP+HS should be 88 (display datasheet) * Likely an higher value is needed due to dsi to lvds pipeline. */panel-timing {clock-frequency = <66300000 69300000 78900000>;de-active = <1>;hactive = <1280 1280 1280>;hback-porch = <64 64 64>;hfront-porch = <16 16 16>;hsync-active = <0>;hsync-len = <24 24 24>;pixelclk-active = <1>;vactive = <800 800 800>;vback-porch = <24 24 24>;vfront-porch = <8 8 8>;vsync-active = <0>;vsync-len = <8 8 8>;};port {panel_in_lvds_riv: endpoint {remote-endpoint = <&lvds_out_panel_riv>;};};};
GPIO22 - LCD PWR_DN
GPI0/1 LCD SDA/SCL
GPIO12 -LCD PWM
GPIO23 - TOUCH_INT
GPIO20 - TOUCH_RST
DSI1x - LCD DSI pins.
In 6.1 kernel config I activate such options
Code:
CONFIG_BACKLIGHT_PWM=yCONFIG_PWM=yCONFIG_PWM_SYSFS=yCONFIG_PWM_BCM2835=yCONFIG_DRM_TI_SN65DSI83=y
Statistics: Posted by Kuzma30 — Fri Mar 01, 2024 7:11 am