Thread (40 messages) 40 messages, 8 authors, 2026-04-06

Re: [PATCH v20 06/10] power: reset: Add psci-reboot-mode driver

From: Bartosz Golaszewski <brgl@kernel.org>
Date: 2026-03-06 13:33:01
Also in: linux-arm-msm, linux-devicetree, linux-pm, lkml

On Thu, Mar 5, 2026 at 6:07 PM Shivendra Pratap
[off-list ref] wrote:
quoted
You should pass the address of this function in faux_device_ops instead of
calling it directly.
In last patch, we were using a probe function. As faux_device_create,
calls the probe from its internal operations, "of_node" can only be
assigned from inside of faux device probe.

As our primary requirement is to assign reboot-mode of_node to the faux
device, thought to make it this way. (As we did not want to assign it
inside the faux device probe).
TBH This sounds like a limitation of the faux device API. I'll Cc you
on a patch proposing to extend it with the ability of using a firmware
node to describe the device. If it works for you, you can integrate it
into your series and use it.

Bart
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help