mbox series

[v2,0/2] media: imx335: Fix reset-gpio handling

Message ID 20240729110437.199428-1-umang.jain@ideasonboard.com (mailing list archive)
Headers show
Series media: imx335: Fix reset-gpio handling | expand

Message

Umang Jain July 29, 2024, 11:04 a.m. UTC
These couple of patches intends to fix the reset-gpio handling
for imx335 driver.

Patch 1/2 mentions reset-gpio polarity in DT binding example.
It is ACTIVE_LOW according to the data sheet.

Patch 2/2 fixes the logical value of reset-gpio during
power-on/power-off sequence.

--
Changes in v2:
- Also include reset-gpio polarity, mention in DT binding
- Add Fixes tag in 2/2
- Set the reset line to high during init time in 2/2

Link to v1:
https://lore.kernel.org/linux-media/tyo5etjwsfznuk6vzwqmcphbu4pz4lskrg3fjieojq5qc3mg6s@6jbwavmapwmf/T/#m189ccfa77ddceda6c3b29be3306f1a27ed0934d6

Umang Jain (2):
  dt-bindings: imx335: Mention reset-gpio polarity
  media: imx335: Fix reset-gpio handling

 .../devicetree/bindings/media/i2c/sony,imx335.yaml        | 2 ++
 drivers/media/i2c/imx335.c                                | 8 ++++----
 2 files changed, 6 insertions(+), 4 deletions(-)