[RFC] reset: make reset controller driver initialize early

From: Dinh Nguyen
Date: Mon Sep 10 2018 - 15:59:52 EST


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