This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Configuration of 8 Bit LCD (8080) in Custom board

Hello TI,

           We have a custom board on which we are running 3.14 linux. The LCD used is PH128160T-066-L03Q. This works with 8-bit, 8080 mode.

Now I need to configure my DTS for LCD for this mode. Please let me know which all files I have to change. I changed the DTS as follows. I doubt about my panel setting in my DTS.

panel {
        compatible = "ti,tilcdc,panel";
        pinctrl-names = "default", "sleep";
        pinctrl-0 = <&lcd_pins_default>;
        pinctrl-1 = <&lcd_pins_sleep>;
        status = "okay";
        panel-info {
            ac-bias           = <255>;
            ac-bias-intrpt    = <0>;
            dma-burst-sz      = <16>;
            bpp               = <32>;
            fdd               = <0x80>;
            sync-edge         = <0>;
            sync-ctrl         = <1>;
            raster-order      = <0>;
            fifo-th           = <0>;
        };

lcd_pins_default: lcd_pins_default {
        pinctrl-single,pins = <
               0xe0 ( PIN_OUTPUT | MUX_MODE0 ) /* (U5) lcd_vsync.lcd_vsync */
                0xe4 ( PIN_OUTPUT | MUX_MODE0 ) /* (R5) lcd_hsync.lcd_hsync */
                0xa0 ( PIN_INPUT | MUX_MODE0 ) /* (R1) lcd_data0.lcd_data0 */
                0xa4 ( PIN_INPUT | MUX_MODE0 ) /* (R2) lcd_data1.lcd_data1 */
                0xa8 ( PIN_INPUT | MUX_MODE0 ) /* (R3) lcd_data2.lcd_data2 */
                0xac ( PIN_INPUT | MUX_MODE0 ) /* (R4) lcd_data3.lcd_data3 */
                0xb0 ( PIN_INPUT | MUX_MODE0 ) /* (T1) lcd_data4.lcd_data4 */
                0xb4 ( PIN_INPUT | MUX_MODE0 ) /* (T2) lcd_data5.lcd_data5 */
                0xb8 ( PIN_INPUT | MUX_MODE0 ) /* (T3) lcd_data6.lcd_data6 */
                0xbc ( PIN_INPUT | MUX_MODE0 ) /* (T4) lcd_data7.lcd_data7 */
                0xec ( PIN_OUTPUT | MUX_MODE0 ) /* (R6) lcd_ac_bias_en.lcd_ac_bias_en */
        >;
    };

    lcd_pins_sleep: lcd_pins_sleep {
        pinctrl-single,pins = <
               0xe0 (PIN_INPUT_PULLDOWN ) /* (U5) lcd_vsync.lcd_vsync */
               0xe4 (PIN_INPUT_PULLDOWN ) /* (R5) lcd_hsync.lcd_hsync */
               0xa0 (PIN_INPUT_PULLDOWN ) /* (R1) lcd_data0.lcd_data0 */
               0xa4 (PIN_INPUT_PULLDOWN ) /* (R2) lcd_data1.lcd_data1 */
               0xa8 (PIN_INPUT_PULLDOWN ) /* (R3) lcd_data2.lcd_data2 */
               0xac (PIN_INPUT_PULLDOWN ) /* (R4) lcd_data3.lcd_data3 */
               0xb0 (PIN_INPUT_PULLDOWN ) /* (T1) lcd_data4.lcd_data4 */
               0xb4 (PIN_INPUT_PULLDOWN ) /* (T2) lcd_data5.lcd_data5 */
               0xb8 (PIN_INPUT_PULLDOWN ) /* (T3) lcd_data6.lcd_data6 */
               0xbc (PIN_INPUT_PULLDOWN ) /* (T4) lcd_data7.lcd_data7 */
               0xec (PIN_INPUT_PULLDOWN ) /* (R6) lcd_ac_bias_en.lcd_ac_bias_en */
        >;
    };

Regards,

Sanju.