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.

TIC6638K2K升级到linux4.9内核后,HyperLink外设默认为使能了,正常的默认应该不使能



问题描述:

我的设备之前是使用SDK3.0,最近我把所有的环境都升级到了SDK4.0。其中内核升级到了4.9,设备树中修改了一些设置,但是没有修改uio和hyperlink相关的设置。现在问题是,当我运行程序时,发现在我还没有配置hyperlink时,hyperlink外设就已经使能了(通过CSL库函数检测的)。

请教:

linux中有哪些驱动与hyperlink相关呢?

  • 你看下设备树下对hyperlink的配置呢?

    uio_hyperlink0: hyperlink0 { compatible = "ti,uio-module-drv";

    mem = <0x21400000 0x00000100 0x40000000 0x10000000 0x0231a000 0x00002000>; clocks = <&clkhyperlink0>;
    interrupts = <0 387 0x101>;
    label = "hyperlink0";
    cfg-params
    { ti,serdes_refclk_khz = <312500>;
    ti,serdes_maxserrate_khz = <6250000>;
    ti,serdes_lanerate = "half";
    ti,serdes_numlanes = <4>;
    ti,serdes_c1 = <4 4 4 4>;
    ti,serdes_c2 = <0 0 0 0>;
    ti,serdes_cm = <0 0 0 0>;
    ti,serdes_tx_att = <12 12 12 12>;
    ti,serdes_tx_vreg = <4 4 4 4>;
    ti,serdes_rx_att = <11 11 11 11>;
    ti,serdes_rx_boost = <3 3 3 3>; }; };