[PATCH v1 08/11] video: renesas-r69328: fix reset gpio direction
Svyatoslav Ryhel
clamor95 at gmail.com
Wed Mar 12 19:15:20 CET 2025
The reset GPIO signal operates with a low-active logic. The driver
needs to be adjusted to correctly handle this.
Signed-off-by: Svyatoslav Ryhel <clamor95 at gmail.com>
---
drivers/video/renesas-r69328.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/video/renesas-r69328.c b/drivers/video/renesas-r69328.c
index 1147785c1e2..164285e3c8e 100644
--- a/drivers/video/renesas-r69328.c
+++ b/drivers/video/renesas-r69328.c
@@ -189,17 +189,17 @@ static int renesas_r69328_hw_init(struct udevice *dev)
}
mdelay(5);
- ret = dm_gpio_set_value(&priv->reset_gpio, 0);
+ ret = dm_gpio_set_value(&priv->reset_gpio, 1);
if (ret) {
- log_debug("%s: error changing reset-gpios (%d)\n",
+ log_debug("%s: error entering reset (%d)\n",
__func__, ret);
return ret;
}
mdelay(5);
- ret = dm_gpio_set_value(&priv->reset_gpio, 1);
+ ret = dm_gpio_set_value(&priv->reset_gpio, 0);
if (ret) {
- log_debug("%s: error changing reset-gpios (%d)\n",
+ log_debug("%s: error exiting reset (%d)\n",
__func__, ret);
return ret;
}
--
2.43.0
More information about the U-Boot
mailing list