sgtl5000 failed to mount on i2c :error reading chip id -5

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

sgtl5000 failed to mount on i2c :error reading chip id -5

ソリューションへジャンプ
917件の閲覧回数
jackhua
Contributor II

I attempted to load sgtl5000 on i2c4 but failed, but the i2c bus is working normally. What is the general reason for this error

 

[ 5.294201] sgtl5000 4-000a: Error reading chip id -5
[ 5.301170] sgtl5000: probe of 4-000a failed with error -5
[ 5.315547] ioremap_prot(): 0x98600000 -> 0xffffffc80028d000
[ 5.324588] id:28->4352
[ 5.327562] id:28->12544
[ 5.330945] aic-dma 91000000.dma-controller: private_candidate: dma0chan0 busy
[ 5.331155] aic-dma 91000000.dma-controller: private_candidate: dma0chan1 busy
[ 5.331772] aic-dma 91000000.dma-controller: private_candidate: dma0chan0 busy
[ 5.331896] aic-dma 91000000.dma-controller: private_candidate: dma0chan1 busy
[ 5.332008] aic-dma 91000000.dma-controller: private_candidate: dma0chan2 busy
[ 5.338228] aic_sgtl5000-audio soundCard: Sound card register failed -517
[ 5.647763] aic_sgtl5000-audio soundCard: Sound card register failed -517
[ 6.008324] aic_sgtl5000-audio soundCard: Sound card register failed -517
[ 6.044257] clk: Disabling unused clocks
[ 6.050652] ALSA device list:
[ 6.054286] No soundcards found.

 

this is my dts:

&i2c4 {
status = "okay";
sgtl5000: sgtl5000@a {
compatible = "fsl,sgtl5000";
clocks = <&cmu CLK_I2S0>;
reg = <0x0a>;
};
};

タグ(4)
0 件の賞賛
返信
1 解決策
888件の閲覧回数
jackhua
Contributor II

This issue has been resolved now because we did not notice that SGTL5000 requires 8 sysmclks to communicate before establishing i2c communication

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
895件の閲覧回数
Dhruvit
NXP TechSupport
NXP TechSupport

Hi @jackhua,

I hope you are doing well.

Can you please mention which i.MX Processor is interfaced with sgtl5000?

Please also share the full device tree for further debugging.

Thanks & Regards,
Dhruvit Vasavada

0 件の賞賛
返信
889件の閲覧回数
jackhua
Contributor II

This issue has been resolved now because we did not notice that SGTL5000 requires 8 sysmclks to communicate before establishing i2c communication

0 件の賞賛
返信
914件の閲覧回数
jackhua
Contributor II
 
0 件の賞賛
返信