how to build TC358743 driver on i.MX8MM

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to build TC358743 driver on i.MX8MM

1,057 Views
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!

Tags (1)
0 Kudos
3 Replies

1,032 Views
art
NXP Employee
NXP Employee

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

Best Regards,
Artur

0 Kudos

1,027 Views
shengfazhang
Contributor II

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

0 Kudos

1,022 Views
art
NXP Employee
NXP Employee

No, no device tree modification seems to be required.

0 Kudos