mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
tpm: cr50: Use the correct GPIO binding
This device should use ready-gpios rather than ready-gpio. Fix it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
@@ -607,7 +607,7 @@ static int cr50_i2c_ofdata_to_platdata(struct udevice *dev)
|
||||
priv->irq = irq;
|
||||
priv->use_irq = true;
|
||||
} else {
|
||||
ret = gpio_request_by_name(dev, "ready-gpio", 0,
|
||||
ret = gpio_request_by_name(dev, "ready-gpios", 0,
|
||||
&priv->ready_gpio, GPIOD_IS_IN);
|
||||
if (ret) {
|
||||
log_warning("Cr50 does not have an ready GPIO/interrupt (err=%d)\n",
|
||||
|
Reference in New Issue
Block a user