HI all.

Can any budy tell me about anything i miss out above LCD configuration 
because my LCD is not working 

we are interfacing LCD with beagle bone black 


LCD D0 to D15 --------------------------------LCD0 to LCD15
LCD pin 14 /RESET-----------------------P9.25
LCD pin 15 /CS---------------------------P9.28
LCD pin 16 SCL---------------------------P9.31 SPI1_SCLK
LCD pin 17 SDI---------------------------P9.29 SPI1_D0
LCD pin 42 IHS(Horizontal sync)--------P9.19 LCD_HSYNC
LCD pin 43 IVS (Vertical Sync)----------P9.27 LCD_VSYNC
LCD pin 44 CLK (Clock )------------------P9.28 LCD_PCLK
LCD pin 58 DEN (Data Enable)-----------P9.30 LCD_DE

according to that i modified with dts dile for 320x270 
(BB-BONE-LCD4-01-00A0.dts)
before loading cape root@arm:~# ls -al /dev/fb0

ls: cannot access /dev/fb0: No such file or directory


root@arm:/lib/firmware# echo BB-BONE-LCD4-01 
/sys/devices/bone_capemgr.9/slots
BB-BONE-LCD4-01 /sys/devices/bone_capemgr.9/slots
root@arm:/lib/firmware# echo BB-BONE-LCD4-01 > 
/sys/devices/bone_capemgr.9/slots 
[  417.963692] bone-capemgr bone_capemgr.9: part_number 'BB-BONE-LCD4-01', 
version 'N/A'
[  417.973613] bone-capemgr bone_capemgr.9: slot #10: generic override
[  417.980410] bone-capemgr bone_capemgr.9: bone: Using override eeprom 
data at slot 10
[  417.988688] bone-capemgr bone_capemgr.9: slot #10: 'Override Board 
Name,00A0,Override Manuf,BB-BONE-LCD4-01'
[  417.999689] bone-capemgr bone_capemgr.9: slot #10: Requesting part 
number/version based 'BB-BONE-LCD4-01-00A0.dtbo
[  418.010780] bone-capemgr bone_capemgr.9: slot #10: Requesting firmware 
'BB-BONE-LCD4-01-00A0.dtbo' for board-name 'Override Board Name', ve'
[  418.028877] bone-capemgr bone_capemgr.9: slot #10: dtbo 
'BB-BONE-LCD4-01-00A0.dtbo' loaded; converting to live tree
[  418.042336] bone-capemgr bone_capemgr.9: slot #10: #3 overlays
[  418.077546] panel panel.13: panel: No power control GPIO
[  418.092471] platform 4830e000.fb: alias fck already exists
[  418.110701] tilcdc 4830e000.fb: No power control GPIO
[  418.125745] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[  418.132909] [drm] No driver support for vblank timestamp query.
[  418.170366] Console: switching to colour frame buffer device 120x45
[  418.188024] tilcdc 4830e000.fb: fb0:  frame buffer device
[  418.193847] tilcdc 4830e000.fb: registered panic notifier
[  418.220768] [drm] Initialized tilcdc 1.0.0 20121205 on minor 0
[  418.236512] bone-capemgr bone_capemgr.9: slot #10: Applied #3 overlays.
root@arm:/lib/firmware# [  418.312437] tilcdc 4830e000.fb: timeout waiting 
for framedone


root@arm:/lib/firmware# ls -al /dev/fb0 
crw-rw---T 1 root video 29, 0 Feb 13 11:42 /dev/fb0
root@arm:/lib/firmware# 
root@arm:/lib/firmware# dmesg | grep fb
[    0.000000]        .bss : 0xc0881900 - 0xc08fb040   ( 486 kB)
[    0.035582] Setting up static identity map for 0x8049fb38 - 0x8049fb84
[    1.959228] davinci_mdio 4a101000.mdio: detected phy mask fffffffb
[  418.092471] platform 4830e000.fb: alias fck already exists
[  418.110701] tilcdc 4830e000.fb: No power control GPIO
[  418.188024] tilcdc 4830e000.fb: fb0:  frame buffer device
[  418.193847] tilcdc 4830e000.fb: registered panic notifier
[  418.312437] tilcdc 4830e000.fb: timeout waiting for framedone
[  620.038984] tilcdc 4830e000.fb: timeout waiting for framedone

LCD Backlight is only not getting data but when i check with fbset is not 
update according to the configuration 
root@arm:/lib/firmware# fbset

mode "480x272"
    geometry 480 272 480 272 16
    timings 0 0 0 0 0 0 0
    accel true
    rgba 5/11,6/5,5/0,0/0
endmode


Dts file as follows :- 

/dts-v1/;

/ {
    compatible = "ti,beaglebone", "ti,beaglebone-black";
    part-number = "BB-BONE-LCD4-01";
    version = "00A0";
    exclusive-use = "P8.45", "P8.46", "P8.43", "P8.44", "P8.41", "P8.42", 
"P8.39", "P8.40", "P8.37", "P8.38", "P8.36", "P8.34", "P8.35", "P8.33", 
"P8.31", "P8.32", "P8.27", "P8.29", "P8.28", "P8.30", "P9.16", "P9.14", 
"gpio1_19", "gpio1_18", "lcd", "tps-bl";

    fragment@0 {
        target = <0xdeadbeef>;

        __overlay__ {

            pinmux_bone_lcd4_cape_led_00A0_pins {
                pinctrl-single,pins = <0x48 0x7>;
                linux,phandle = <0x1>;
                phandle = <0x1>;
            };

            pinmux_bone_lcd4_cape_lcd_pins {
                pinctrl-single,pins = <0xa0 0x8 0xa4 0x8 0xa8 0x8 0xac 0x8 
0xb0 0x8 0xb4 0x8 0xb8 0x8 0xbc 0x8 0xc0 0x8 0xc4 0x8 0xc8 0x8 0xcc 0x8 
0xd0 0x8 0xd4 0x8 0xd8 0x8 0xdc 0x8 0xe0 0x0 0xe4 0x0 0xe8 0x0 0xec 0x0 
0x4c 0x27>;
                linux,phandle = <0x2>;
                phandle = <0x2>;
            };
        };
    };

    fragment@1 {
        target = <0xdeadbeef>;

        __overlay__ {

            backlight {
                compatible = "not-tps65217-backlight";
                isel = <0x1>;
                fdim = <0xc8>;
                brightness = <0x64>;
                tps = <0xdeadbeef>;
            };
        };
    };

    fragment@2 {
        target = <0xdeadbeef>;

        __overlay__ {
            #address-cells = <0x1>;
            #size-cells = <0x1>;

            tscadc {
                compatible = "ti,ti-tscadc";
                reg = <0x44e0d000 0x1000>;
                interrupt-parent = <0xdeadbeef>;
                interrupts = <0x10>;
                ti,hwmods = "adc_tsc";
                status = "okay";

                tsc {
                    ti,wires = <0x4>;
                    ti,x-plate-resistance = <0xc8>;
                    ti,coordinate-readouts = <0x5>;
                    ti,wire-config = <0x0 0x11 0x22 0x33>;
                };

                adc {
                    ti,adc-channels = <0x4 0x5 0x6 0x7>;
                };
            };

            gpio-leds-cape-lcd4 {
                compatible = "gpio-leds";
                pinctrl-names = "default";
                pinctrl-0 = <0x1>;

                lcd4-led0 {
                    label = "lcd4:green:usr0";
                    gpios = <0xdeadbeef 0x12 0x0>;
                    linux,default-trigger = "heartbeat";
                    default-state = "off";
                };
            };

            panel {
                compatible = "tilcdc,panel";
                pinctrl-names = "default";
                pinctrl-0 = <0x2>;

                panel-info {
                    ac-bias = <0xff>;
                    ac-bias-intrpt = <0x0>;
                    dma-burst-sz = <0x10>;
                    bpp = <0x18>;
                    fdd = <0x80>;
                    tft-alt-mode = <0x0>;
                    stn-565-mode = <0x0>;
                    mono-8bit-mode = <0x0>;
                    sync-edge = <0x0>;
                    sync-ctrl = <0x1>;
                    raster-order = <0x0>;
                    fifo-th = <0x0>;
                };

                display-timings {
                    native-mode = <0x3>;

                    320x240 {
                        hactive = <320>;
                        vactive = <240>;
                        hback-porch = <38>;
                        hfront-porch = <20>;
                        hsync-len = <30>;
                        vback-porch = <15>;
                        vfront-porch = <12>;
                        vsync-len = <3>;
                        clock-frequency = <6400000>;
                        hsync-active = <1>;
                        vsync-active = <1>;
                        linux,phandle = <0x3>;
                        phandle = <0x3>;
                    };
                };
            };

            fb {
                compatible = "ti,am33xx-tilcdc";
                reg = <0x4830e000 0x1000>;
                interrupt-parent = <0xdeadbeef>;
                interrupts = <0x24>;
                ti,hwmods = "lcdc";
            };
        };
    };

    __symbols__ {
        bone_lcd4_cape_led_00A0_pins = 
"/fragment@0/__overlay__/pinmux_bone_lcd4_cape_led_00A0_pins";
        bone_lcd4_cape_lcd_pins = 
"/fragment@0/__overlay__/pinmux_bone_lcd4_cape_lcd_pins";
        timing0 = "/fragment@2/__overlay__/panel/display-timings/480x272";
    };

    __fixups__ {
        am33xx_pinmux = "/fragment@0:target:0";
        tps = "/fragment@1:target:0", 
"/fragment@1/__overlay__/backlight:tps:0";
        ocp = "/fragment@2:target:0";
        intc = "/fragment@2/__overlay__/tscadc:interrupt-parent:0", 
"/fragment@2/__overlay__/fb:interrupt-parent:0";
        gpio2 = 
"/fragment@2/__overlay__/gpio-leds-cape-lcd4/lcd4-led0:gpios:0";
    };

    __local_fixups__ {
        fixup = "/fragment@2/__overlay__/gpio-leds-cape-lcd4:pinctrl-0:0", 
"/fragment@2/__overlay__/panel:pinctrl-0:0", 
"/fragment@2/__overlay__/panel/display-timings:native-mode:0";
    };
};






-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to