Re: [PATCHv4] reset: socfpga: add an early reset driver for SoCFPGA

2018-11-15 Thread Dinh Nguyen
On 11/15/18 9:34 AM, Philipp Zabel wrote: > Hi Dinh, > > On Tue, 2018-11-13 at 12:50 -0600, Dinh Nguyen wrote: >> @@ -120,7 +120,8 @@ static const struct reset_simple_devdata >> reset_simple_active_low = { >> }; >> >> static const struct of_device_id reset_simple_dt_ids[] = { >> -{

Re: [PATCHv4] reset: socfpga: add an early reset driver for SoCFPGA

2018-11-15 Thread Dinh Nguyen
On 11/15/18 9:34 AM, Philipp Zabel wrote: > Hi Dinh, > > On Tue, 2018-11-13 at 12:50 -0600, Dinh Nguyen wrote: >> @@ -120,7 +120,8 @@ static const struct reset_simple_devdata >> reset_simple_active_low = { >> }; >> >> static const struct of_device_id reset_simple_dt_ids[] = { >> -{

Re: [PATCHv4] reset: socfpga: add an early reset driver for SoCFPGA

2018-11-15 Thread Philipp Zabel
Hi Dinh, On Tue, 2018-11-13 at 12:50 -0600, Dinh Nguyen wrote: > @@ -120,7 +120,8 @@ static const struct reset_simple_devdata > reset_simple_active_low = { > }; > > static const struct of_device_id reset_simple_dt_ids[] = { > - { .compatible = "altr,rst-mgr", .data = _simple_socfpga }, >

Re: [PATCHv4] reset: socfpga: add an early reset driver for SoCFPGA

2018-11-15 Thread Philipp Zabel
Hi Dinh, On Tue, 2018-11-13 at 12:50 -0600, Dinh Nguyen wrote: > @@ -120,7 +120,8 @@ static const struct reset_simple_devdata > reset_simple_active_low = { > }; > > static const struct of_device_id reset_simple_dt_ids[] = { > - { .compatible = "altr,rst-mgr", .data = _simple_socfpga }, >

[PATCHv4] reset: socfpga: add an early reset driver for SoCFPGA

2018-11-13 Thread Dinh Nguyen
Create a separate reset driver that uses the reset operations in reset-simple. The reset driver for the SoCFPGA platform needs to register early in order to be able bring online timers that needed early in the kernel bootup. We do not need this early reset driver for Stratix10, because on arm64,

[PATCHv4] reset: socfpga: add an early reset driver for SoCFPGA

2018-11-13 Thread Dinh Nguyen
Create a separate reset driver that uses the reset operations in reset-simple. The reset driver for the SoCFPGA platform needs to register early in order to be able bring online timers that needed early in the kernel bootup. We do not need this early reset driver for Stratix10, because on arm64,