Thread (9 messages) flat view 9 messages, 2 authors, 2021-01-20

Re: [PATCH v3 2/3] reset: mchp: sparx5: add switch reset driver

From: Alexandre Belloni <alexandre.belloni@bootlin.com>
Date: 2021-01-19 20:41:46
Also in: lkml

On 19/01/2021 21:37:16+0100, Alexandre Belloni wrote:
On 14/01/2021 17:24:31+0100, Steen Hegelund wrote:
quoted
+static int sparx5_switch_reset(struct reset_controller_dev *rcdev,
+			       unsigned long id)
+{
+	struct mchp_reset_context *ctx =
+		container_of(rcdev, struct mchp_reset_context, rcdev);
+	u32 val;
+
I would ensure the reset only happens once here else I'm not sure how
you could do it from the individual drivers.
Ok, the core is taking care of that, nice.


-- 
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help