Guest Posted August 10, 2023 Posted August 10, 2023 Hello, please help me. I have been doing research these past five days on how I can create a dts file for the Levetop LT7686. This LCD has no D/C or RS pin, which means this LCD is 9-bit SPI TFT LCD. Any clue? I tried with this dts file: /dts-v1/; /plugin/; / { compatible = "rockchip,rk3588"; fragment@0 { target = <&spi4>; __overlay__ { status = "okay"; #address-cells = <1>; #size-cells = <0>; cs-gpios = <&gpio1 52 0>; panel@0{ status = "okay"; compatible = "sitronix,st7789v"; reg = <0x00>; spi-max-frequency = <16000000>; txbuflen = <32768>; rotate = <90>; bgr = <0>; fps = <30>; buswidth = <8> reset-gpios = <&gpio0 29 1>; debug = <0>; init = <0x05 0xca 0x07 0x8a 0x09 0x8a 0x06 0x66 0x08 0x64 0x0a 0x64 ... /* more init codes */>; }; }; }; }; The dmesg output reminds me that I didn't set 'dc-gpios' and then fails the spi device registration, sometimes it says chipselect 1 is already in use. Does anyone have any ideas? Thanks in advance! 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.