diff options
author | Umang Jain <[email protected]> | 2024-08-30 11:41:52 +0530 |
---|---|---|
committer | Hans Verkuil <[email protected]> | 2024-08-31 09:40:44 +0200 |
commit | 99d30e2fdea4086be4e66e2deb10de854b547ab8 (patch) | |
tree | d25f75c12962ed8b6e2240ce25e25c7f5e33bf46 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 84ea28860974beef80886ac939f106ee4d674405 (diff) |
media: imx335: Fix reset-gpio handling
Rectify the logical value of reset-gpio so that it is set to
0 (disabled) during power-on and to 1 (enabled) during power-off.
Set the reset-gpio to GPIO_OUT_HIGH at initialization time to make
sure it starts off in reset. Also drop the "Set XCLR" comment which
is not-so-informative.
The existing usage of imx335 had reset-gpios polarity inverted
(GPIO_ACTIVE_HIGH) in their device-tree sources. With this patch
included, those DTS will not be able to stream imx335 anymore. The
reset-gpio polarity will need to be rectified in the device-tree
sources as shown in [1] example, in order to get imx335 functional
again (as it remains in reset prior to this fix).
Cc: [email protected]
Fixes: 45d19b5fb9ae ("media: i2c: Add imx335 camera sensor driver")
Reviewed-by: Laurent Pinchart <[email protected]>
Link: https://lore.kernel.org/linux-media/[email protected]/
Signed-off-by: Umang Jain <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions