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:
ac3fd01
)
spi: rzv2h-rspi: make resets optional
author
Cosmin Tanislav
<cosmin-gabriel.tanislav.xa@renesas.com>
Wed, 19 Nov 2025 16:14:22 +0000
(18:14 +0200)
committer
Mark Brown
<broonie@kernel.org>
Mon, 24 Nov 2025 14:10:39 +0000
(14:10 +0000)
The Renesas RZ/T2H (R9A09G077) and RZ/N2H (R9A09G087) SoCs don't have
reset lines for the SPI peripheral, make them optional to prepare for
adding support for them.
Signed-off-by: Cosmin Tanislav <cosmin-gabriel.tanislav.xa@renesas.com>
Link:
https://patch.msgid.link/20251119161434.595677-2-cosmin-gabriel.tanislav.xa@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-rzv2h-rspi.c
patch
|
blob
|
history
diff --git
a/drivers/spi/spi-rzv2h-rspi.c
b/drivers/spi/spi-rzv2h-rspi.c
index
dcc431b
..
09b9362
100644
(file)
--- a/
drivers/spi/spi-rzv2h-rspi.c
+++ b/
drivers/spi/spi-rzv2h-rspi.c
@@
-384,8
+384,8
@@
static int rzv2h_rspi_probe(struct platform_device *pdev)
rspi->resets[0].id = "presetn";
rspi->resets[1].id = "tresetn";
- ret = devm_reset_control_bulk_get_exclusive(dev, RSPI_RESET_NUM,
- rspi->resets);
+ ret = devm_reset_control_bulk_get_
optional_
exclusive(dev, RSPI_RESET_NUM,
+
rspi->resets);
if (ret)
return dev_err_probe(dev, ret, "cannot get resets\n");