reset: make reset controller driver initialize early
Hi Philipp,
I need to make the reset controller on the SoCFPGA platform initialize early. I have one solution which is similar to what reset-sunxi is doing, making the "altr,rst-mgr" initialize early in a separate reset-socfpga.c but using the reset-simple operations.
I'm guessing SoCFPGA may not be the only platform that needs the reset driver early, would it make sense to have a solution in reset-simple that is capable of an early init?
Dinh
Hi Dinh,
Quoted 4 lines · Dinh Nguyen
Hi Philipp,
I need to make the reset controller on the SoCFPGA platform initialize early.
What does early mean in this context?
Quoted 3 lines
I have one solution which is similar to what reset-sunxi is doing, making the "altr,rst-mgr" initialize early in a separate
reset-socfpga.cbut using the reset-simple operations.
That's what I would have gone for as well.
Quoted 3 lines
I'm guessing SoCFPGA may not be the only platform that needs the reset driver early, would it make sense to have a solution in reset-simple that is capable of an early init?
I suppose you could share sunxi_reset_init if you pass it a struct reset_simple_devdata as an argument.
regards
Philipp
Quoted 1 line · Philipp Zabel
Hi Dinh,
Hi all,
Quoted 7 lines · Dinh Nguyen
Quoted 4 lines
Hi Philipp,
I need to make the reset controller on the SoCFPGA platform initialize early.
What does early mean in this context?
Means before timer, since timer needs to be un-reset by Linux before it can be used.
Quoted 16 lines
Quoted 3 lines
I have one solution which is similar to what reset-sunxi is doing, making the "altr,rst-mgr" initialize early in a separate
reset-socfpga.cbut using the reset-simple operations.That's what I would have gone for as well.
Quoted 3 lines
I'm guessing SoCFPGA may not be the only platform that needs the reset driver early, would it make sense to have a solution in reset-simple that is capable of an early init?
I suppose you could share
sunxi_reset_initif you pass it a structreset_simple_devdataas an argument.regards
Philipp
Signature · 2 lines
Best regards, Marek Vasut