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.

[参考译文] SK-AM62:UART IRQ 问题

Guru**** 2482225 points


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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1448217/sk-am62-uart-irq-issue

器件型号:SK-AM62

工具与软件:

您好!

我已经编写了一个使用8250内核结构的定制 UART 驱动程序。 如果我尝试从器件写入、我可以在终端看到以下日志  

omap_i2c 200000.i2c:控制器超时  

tps6598x 0-003f:tps6598x_interrupt:无法读取事件

UART 的 DTS 如下所示  

MAIN_UART1{
状态="正常";
pinctrl-names ="默认值";
pinctrl-0 =<&MAIN_UART1_PINS_DEFAULT>;
interrupts-extended =<&G gic500 GIC_SPI 179 IRQ_TYPE_LEVEL_HIGH>、
<&MAIN_pmx0 0x01ac>;/*(D14) UART1_RXD PADCONFIG114 */
};

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

    尊敬的 Chetana:

    [报价 userid="363524" url="~/support/processors-group/processors/f/processors-forum/1448217/sk-am62-uart-irq-issue "]我使用8250内核结构编写了一个定制 UART 驱动程序。

    您是否意味着自己有8250 UART 驱动程序、不使用8250_omap.c? 我们不支持自定义驱动程序开发。

    [报价 userid="363524" url="~/support/processors-group/processors/f/processors-forum/1448217/sk-am62-uart-irq-issue "]

    如果我尝试从器件写入、我可以在终端看到以下日志  

    omap_i2c 200000.i2c:控制器超时  

    tps6598x 0-003f:tps6598x_interrupt:无法读取事件

    [报价]

    驱动程序现在很可能在繁忙循环中运行并拥抱 CPU。

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

    您好、Bin、

    感谢您对故障日志的思考。 此外、 驱动程序正常工作所需的模块是 pm_runtime_enable()还是任何其他电源管理请求?

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

    您的内核驱动程序可能没有运行时 PM 支持。