Hello,
I want to control CAM0_MCLK pin of MIPI CSI interface as reset pin, so for that what do I need to do in dts file and how to control it from driver?
I tried to control by modifying dts:
#define CAM0_RST TEGRA_GPIO(S, 0)
.
.
.
reset-gpios = <&gpio CAM0_RST GPIO_ACTIVE_HIGH>;
.
.
.
and this how I try to control pin in driver
priv_pdata->reset_gpio=of_get_named_gpio(np, "reset-gpios", 0);
gpio_set_value_cansleep(pw->reset_gpio, 1);
follwing the same procedure for PWDN pin worked fine, but not for CLK why?