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.

[参考译文] AM62L-DSI:SK-AM62P-LP:MIPI EVSE-DEV-EVM 是否支持比率 90?

Guru**** 2942630 points

Other Parts Discussed in Thread: AM62P, AM62L

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1656417/am62l-evse-dev-evm-sk-am62p-lp-does-mipi-dsi-support-roration-90

器件型号: AM62L-AM62L- EVSE-DEV-EVM
主题中讨论的其他器件: AM62PAM62L

尊敬的专家:

  我已将 MIPI DSI OLED 面板连接到 AM62P EVM 板、并且已经正确显示。 但是、我们需要在横向模式下使用它、这需要 90 度旋转。 我已经在设备树中配置了此项、但它似乎不起作用。 请帮帮我。

DSI 配置如下:

  面板@0{
    reg =<0>;
    compatible =“visionox、sd3106“;
    pinctrl-names =“default“;
    pinctrl-0 =<&main_dsi0_pins_default>;

    //背光=<&VCC_3V3_SYS>;
    //电源=<&VCC_3V3_sys>;
    //VCI-SUPPLY =<&VCC_3V3_SYS>;
    //VDDIO-SUPPLY =<&VCC_3V3_SYS>;
    ENABLE-GPIO =<&MAIN_GPIO0 41 GPIO_ACTIVE_HIGH>;
    TE-GPIOs =<&MAIN_GPIO0 33 GPIO_PULL_UP>;
    旋转=<90>;

    端口{
      panel_in:端点{
        远程端点=<&dsi0_out>;
      };
    };
  };
   
在驱动程序文件的 sd3106_probe 函数中、我使用 of_drm_get_panel_direction 从器件树中检索值:

  Err = of_drm_get_panel_oriation (dev->of_node、&ili->oriation);
  如果 (err < 0){
    dev_err (dev、“%POF:无法获取方向%d\n“、dev->of_node、err);
    返回错误;
  }
   
我需要做什么来实现旋转?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Vincent:
    MIPI-DSI 只是一种协议、不能自行旋转图像。

    如果您询问是否可以使用硬件利用 SoC 的显示控制器旋转相同的图形、但这是不受支持的。
    您需要 使用用户空间应用程序本身来旋转帧。

    不确定您为何提到 2 个 SoC AM62L 和 AM62P、但如果您使用 AM62P、您也可以利用 GPU 进行旋转。