工具/软件:
我使用 AM335x 上的以下显示方式。 它使用 VOUT0-15、VOUT0_DE、VOUT0_HSYNC、VOUT0_VSYNC、VOUT0_PCLK。 我已经通过 PWM 使背光正常工作了... 暂时跳过触摸屏。
https://4dsystems.com.au/products/gen4-4dcape-43ct-clb/
这些引脚也位于 AM62x 上、我想实现它。 但我无法找到任何直接使用 DPI 的器件树叠加层示例。
我在 AM335x 上使用以下设备
&{/} { panel { status = "okay"; compatible = "ti,tilcdc,panel"; pinctrl-names = "default"; pinctrl-0 = <&bb_lcd_lcd_pins>; panel-info { ac-bias = <255>; ac-bias-intrpt = <0>; dma-burst-sz = <16>; bpp = <16>; fdd = <0x80>; sync-edge = <0>; sync-ctrl = <1>; raster-order = <0>; fifo-th = <0>; }; display-timings { native-mode = <&timing0>; /* www.newhavendisplay.com/app_notes/OTA5180A.pdf */ timing0: 480x272 { clock-frequency = <9200000>; hactive = <480>; vactive = <272>; hfront-porch = <8>; hback-porch = <47>; hsync-len = <41>; vback-porch = <2>; vfront-porch = <3>; vsync-len = <10>; hsync-active = <0>; vsync-active = <0>; de-active = <1>; pixelclk-active = <0>; }; }; }; }; &lcdc { status = "okay"; };
据我所知、AM62x 上不存在"ti、tildc"、因此我需要使用 ti、tidss?
TI、tildcdc 在此处进行了解释: https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/display/tilcdc/panel.txt?h=v6.14
我找不到 ti、tidss 的文档。 这是最接近我可以找到: web.git.kernel.org/.../ti,am65x-dss.yaml
以下是我现在的情况。
&dss { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_parallel_rgb>; status = "okay"; }; &dss_ports{ /* VP2 */ port@1 { reg = <1>; dpi_out: endpoint { remote-endpoint = <&panel_in>; }; }; };
有人知道一些很好的例子/参考来看看吗?
谢谢、
Robert