Skip to content

Conversation

@ijulipan
Copy link

  • Added new FSIN GPIO to enable frame sync
  • Modified start/stop streaming with toggable FSIN GPIO

Comment on lines 906 to +909
isx031->reset_gpio = devm_gpiod_get_optional(&client->dev, "reset",
GPIOD_OUT_LOW);

isx031->fsin_gpio = devm_gpiod_get_optional(&client->dev, "fsin",
GPIOD_OUT_LOW);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In isx031_resume, maybe also need set fsin_gpio.

Copy link
Author

@ijulipan ijulipan Nov 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we tested this driver without adding in isx031_resume it was able to stream fine during our s3 and s4 PM stress test.

Copy link
Contributor

@hao-yao hao-yao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please rebase your commit onto the latest iotg_ipu6 branch and re-commit your changes, not back and forth.

/* Drive FSIN GPIO high to enable frame sync */
if (isx031->fsin_gpio){
gpiod_set_value_cansleep(isx031->fsin_gpio, 0);
usleep_range(300000, 500000);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need such a long time? And please use msleep when need >20ms sleeping.

isx031->reset_gpio = devm_gpiod_get_optional(&client->dev, "reset",
GPIOD_OUT_HIGH);
isx031->fsin_gpio = devm_gpiod_get_optional(&client->dev, "fsin",
GPIOD_OUT_LOW);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The frame_sync pin is low level effective?

@ijulipan ijulipan closed this by deleting the head repository Dec 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants