how to build TC358743 driver on i.MX8MM

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

how to build TC358743 driver on i.MX8MM

2,209 次查看
shengfazhang
Contributor II

Hi.

I want to build tc358743.ko on i.MX8MM. I found tc358743.c is in the path drivers/media/i2c/. So I add CONFIG_VIDEO_TC358743=m to i.MX8MM-linux-fs/lib/modules/build/arch/arm64/configs/defconfig, and rebuild. But it dose not work.

However, if I add CONFIG_DRM_TOSHIBA_TC358767=m to  i.MX8MM-linux-fs/lib/modules/build/arch/arm64/configs/defconfig, that will works and tc358767.ko was built!

So is there any other thing I need to do to build TC358743 driver.

Thanks!

标记 (1)
0 项奖励
回复
3 回复数

2,184 次查看
art
NXP Employee
NXP Employee

No, no other things should be done to successfully build the driver.

Best Regards,
Artur

0 项奖励
回复

2,179 次查看
shengfazhang
Contributor II

Ok, thanks! I have built the driver. But should I modify the device tree? And how?

0 项奖励
回复

2,174 次查看
art
NXP Employee
NXP Employee

No, no device tree modification seems to be required.

0 项奖励
回复