projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3bd9f3
)
mfd: rz-mtu3: Make reset optional
author
Cosmin Tanislav
<cosmin-gabriel.tanislav.xa@renesas.com>
Wed, 27 May 2026 14:56:06 +0000
(17:56 +0300)
committer
Lee Jones
<lee@kernel.org>
Wed, 17 Jun 2026 10:33:08 +0000
(11:33 +0100)
The Renesas RZ/T2H (R9A09G077) and RZ/N2H (R9A09G087) SoCs do not have a
reset line for the MTU3 block.
Prepare for them by making it optional.
Signed-off-by: Cosmin Tanislav <cosmin-gabriel.tanislav.xa@renesas.com>
Link:
https://patch.msgid.link/20260527145606.136536-5-cosmin-gabriel.tanislav.xa@renesas.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/rz-mtu3.c
patch
|
blob
|
history
diff --git
a/drivers/mfd/rz-mtu3.c
b/drivers/mfd/rz-mtu3.c
index
f64c748
..
3fa7dfe
100644
(file)
--- a/
drivers/mfd/rz-mtu3.c
+++ b/
drivers/mfd/rz-mtu3.c
@@
-331,7
+331,7
@@
static int rz_mtu3_probe(struct platform_device *pdev)
if (IS_ERR(priv->mmio))
return PTR_ERR(priv->mmio);
- rstc = devm_reset_control_get_exclusive_deasserted(dev, NULL);
+ rstc = devm_reset_control_get_
optional_
exclusive_deasserted(dev, NULL);
if (IS_ERR(rstc))
return PTR_ERR(rstc);