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.

Linux/DRA756: Disabling HDMI/LCD on android SDK

Part Number: DRA756


Tool/software: Linux

Hi All,

We have brought up Android 6M1.3 on J6 EVM(Rev H). [Kernel: 4.4.45 commit id:862436d ] [u-boot: 2016.05 commit id: 850ffc0]

By default it supports HDMI and LCD(OSD) both.

As we can understand ,both displays are duplicated. If we try to disable HDMI using DISPC registers, LCD stops working as well.

Can you please provide us your valuable inputs/code changes required for configuring only one of them as user's choice.

Thanks and Regards,

Tonu Zalpure

  • Hi Tonu,

    I have forwarded your question to DSS expert.

    Regards,
    Yordan
  • Hi,

    If you want to use only HDMI, please use dra7-evm.dtb. This dtb disables LCD completely.

    If you want to LCD only, you need to add the following at the end of the device tree dra7-evm-lcd-osd101t2045.dts.

    &hdmi {
    status = "disabled";
    };

    recompile the device tree and flash it. This should only have LCD enabled.

    regards,
    venkat
  • Hi Venkat,

    Thanks for your inputs.

    **If you want to use only HDMI, please use dra7-evm.dtb. This dtb disables LCD completely.
    >> This does not work, and we keep getting error messages.

    init: Starting service 'netd'...
    [ 282.695152] init: Starting service 'media'...
    [ 282.700048] init: Starting service 'zygote'...
    [ 291.746694] init: Service 'surfaceflinger' (pid 5591) killed by signal 11
    [ 291.753882] init: Service 'surfaceflinger' (pid 5591) killing any children in process group
    [ 291.937854] init: Service 'zygote' is being killed...
    [ 292.011403] init: Service 'zygote' (pid 5605) killed by signal 9
    [ 292.154506] init: Service 'zygote' (pid 5605) killing any children in process group
    [ 292.301515] init: write_file: Unable to open '/sys/android_power/request_state': No such file or directory
    [ 292.503470] init: write_file: Unable to write to '/sys/power/state': Invalid argument
    [ 292.650617] init: Service 'media' is being killed...
    [ 292.744731] init: Service 'netd' is being killed...
    [ 292.750076] init: Service 'media' (pid 5604) killed by signal 9
    [ 292.944324] init: Service 'media' (pid 5604) killing any children in process group
    [ 293.124798] init: Service 'netd' (pid 5603) killed by signal 9
    [ 293.130693] init: Service 'netd' (pid 5603) killing any children in process group
    [ 293.354849] init: Untracked pid 5723 killed by signal 9


    **If you want to LCD only, you need to add the following at the end of the device tree dra7-evm-lcd-osd101t2045.dts
    >>This worked.

    Thanks and Regards,
    Tonu Zalpure
  • Hello Tonu Zalpure,

    For HDMI only, you need to set few additional properties. Please refer to the HDMI section in the 6AM1.3 application note for command reference.

    Thanks,

    Gowtham

  • Hi Venkat,Gowtham

    Thanks for your support.
    That works for me.

    Regards,
    Tonu