Searched refs:gc0308 (Results 1 – 3 of 3) sorted by relevance
427 struct gc0308 { struct451 static inline struct gc0308 *to_gc0308(struct v4l2_subdev *sd) in to_gc0308() argument453 return container_of(sd, struct gc0308, sd); in to_gc0308()771 struct gc0308 *gc0308 = dev_get_drvdata(dev); in gc0308_power_on() local774 ret = regulator_enable(gc0308->vdd); in gc0308_power_on()778 ret = clk_prepare_enable(gc0308->clk); in gc0308_power_on()782 gpiod_set_value_cansleep(gc0308->pwdn_gpio, 0); in gc0308_power_on()785 gpiod_set_value_cansleep(gc0308->reset_gpio, 1); in gc0308_power_on()787 gpiod_set_value_cansleep(gc0308->reset_gpio, 0); in gc0308_power_on()793 regulator_disable(gc0308->vdd); in gc0308_power_on()[all …]
239 compatible = "galaxycore,gc0308";
10424 F: Documentation/devicetree/bindings/media/i2c/galaxycore,gc0308.yaml10425 F: drivers/media/i2c/gc0308.c