Other Parts Discussed in Thread: TMDSEVM572X
Tool/software: Linux
Hi,
I am having TMDSEVM572X with AM572x Evaluation Module with latest linux-processor sdk.
This time i am not connecting the camera, just want to check the pin status hardwarely. My question is can i set GPIO pin manually from driver side code?(ti-processor-sdk-linux-am57xx-evm-03.03.00.04/board-support/linux-4.4.41+gitAUTOINC+f9f6f0db2d-gf9f6f0db2d/drivers/media/i2c/mt9t11x.c)? e.g. i did following in "mt9t11x_probe()" function-
gpio_read = gpiod_get_raw_value(priv->bufen_gpio);
dev_err(&client->dev, "BUFEN_PREV %d", gpio_read);
gpiod_set_raw_value_cansleep(priv->bufen_gpio, 1);
gpio_read = gpiod_get_raw_value(priv->bufen_gpio);
dev_err(&client->dev, "BUFEN_AFTER %d", gpio_read);
It is reflecting my changes in log (dmesg |grep mt9t11x), as-
[ 7.867966] mt9t11x 4-003c: BUFEN_PREV 0
[ 7.871907] mt9t11x 4-003c: BUFEN_AFTER 1
but not able to get high at hardware pin level.
Thanks.