Re: [PATCH v2] reset-socfpga: Fix nr_resets property

2017-02-16 Thread Philipp Zabel
On Wed, 2017-02-15 at 19:10 +0100, Rojhalat Ibrahim wrote: > The SoC-FPGA reset controller driver defines NR_BANKS as 4 and uses that > define > for two unrelated purposes. It is used > 1. as an increment for reset line banks which are 32-bit registers with 4-byte > aligned addresses. > 2. as the

[PATCH v2] reset-socfpga: Fix nr_resets property

2017-02-15 Thread Rojhalat Ibrahim
The SoC-FPGA reset controller driver defines NR_BANKS as 4 and uses that define for two unrelated purposes. It is used 1. as an increment for reset line banks which are 32-bit registers with 4-byte aligned addresses. 2. as the total number of reset line banks which together with the number of reset