On 9/22/22 17:33, Quentin Schulz wrote:
Hi Marek,
Hi,
[...]
+ /*
+ * Since gpio-hog is a U_BOOT_DRIVER and not
+ * a U_BOOT_CLASS, the DM core does not bind
+ * it and therefore it's up to this driver to
+ * set t
Hi Marek,
On 9/22/22 16:29, Marek Vasut wrote:
On 9/22/22 16:13, Quentin Schulz wrote:
[...]
@@ -1503,9 +1480,26 @@ static int gpio_post_bind(struct udevice *dev)
&child);
if (ret)
return ret;
+
+ /*
+
On 9/22/22 16:13, Quentin Schulz wrote:
[...]
@@ -1503,9 +1480,26 @@ static int gpio_post_bind(struct udevice *dev)
&child);
if (ret)
return ret;
+
+
From: Marek Vasut
The gpio_hog_probe_all() functionality can be perfectly well replaced by
DM_FLAG_PROBE_AFTER_BIND DM flag, which would trigger .probe() callback
of each GPIO hog driver instance after .bind() and thus configure the
hogged GPIO accordingly.
For SPL/TPL, the DM_FLAG_PRE_RELOC als
4 matches
Mail list logo