Searched refs:gc0308 (Results 1 – 3 of 3) sorted by relevance
426 struct gc0308 { struct450 static inline struct gc0308 *to_gc0308(struct v4l2_subdev *sd) in to_gc0308() argument452 return container_of(sd, struct gc0308, sd); in to_gc0308()770 struct gc0308 *gc0308 = dev_get_drvdata(dev); in gc0308_power_on() local773 ret = regulator_enable(gc0308->vdd); in gc0308_power_on()777 ret = clk_prepare_enable(gc0308->clk); in gc0308_power_on()781 gpiod_set_value_cansleep(gc0308->pwdn_gpio, 0); in gc0308_power_on()784 gpiod_set_value_cansleep(gc0308->reset_gpio, 1); in gc0308_power_on()786 gpiod_set_value_cansleep(gc0308->reset_gpio, 0); in gc0308_power_on()792 regulator_disable(gc0308->vdd); in gc0308_power_on()[all …]
239 compatible = "galaxycore,gc0308";
10844 F: Documentation/devicetree/bindings/media/i2c/galaxycore,gc0308.yaml10845 F: drivers/media/i2c/gc0308.c