Would it be possible to add a means to update 2 fields with one "parameter"?
Its most practical use would be to configure incoming interrupts with one "parameter".
Right now we have to provide 2 parameters:
Code: Select all
can0_interrupt = <&can0_pins>,"brcm,pins:0";
can0_interrupt2 = <&can0>,"interrupts:0";
with identical content to make it work, which seems a bit "stupid" from a user perspective...
maybe something like:
Code: Select all
parameter = <ref>,"def"[,<ref>,"def"]...
Also from my perspective it is a bit unclear if the parameters would be unique to the overlay or would be of "global" impact.
so:
Code: Select all
dtoverlay=mcp2515-spi0.0,oscillator=16000000,interrupt=25
dtoverlay=mcp2515-spi0.1,interrupt=26
would mean we set oscillator to identical values for both overlays or not and if interrupt would be set to 25/26 for the respective device. Or if I would need to prefix them like the "can0_oscillator" example above.