On 10/04/2023 20:20, Nikunj Kela wrote:Ok. My rationale on that is, if we allow smc-id which goes in r0/w0/x0 registers in smc/hvc call to be part of dtb, then we should allow parameters which go in r1/w1/x1 to r6/w6/x6 register to be part of dtb. If you have an alternative suggestion, I am all ears!
Currently, smc/hvc calls are made with smc-id only. The parameters areSince you sent v2 before our discussion finished, let me answer here:
all set to zeros. This patch defines two optional device tree bindings,
that can be used to pass parameters in smc/hvc calls.
This is useful when multiple scmi instances are used with common smc-id.
Signed-off-by: Nikunj Kela <quic_nkela@xxxxxxxxxxx>
this does not look like property for DT. Do not send new patches without
giving reviewers chance to respond.
Best regards,
Krzysztof