Re: [PATCH 1/3] arm64: dts: stratix10: use "altr,stratix10-rst-mgr" binding

From: Dinh Nguyen
Date: Thu Nov 15 2018 - 09:35:46 EST




On 11/15/18 3:33 AM, Philipp Zabel wrote:
> Hi Dinh,
>
> On Mon, 2018-11-05 at 14:05 -0600, Dinh Nguyen wrote:
>> From: Dinh Nguyen <dinh.nguyen@xxxxxxxxx>
>>
>> The standard reset-simple driver the uses the "altr,rst-mgr" binding is
>> not getting initialized early enough in the boot process, so timers
>> that the kernel needs are still left in reset. Thus an early
>> reset driver was created. This early reset driver is only for the
>> SoCFPGA 32-bit platform.
>>
>> The Stratix10 platform does not need any of the timers that in reset to
>> boot, thus we don't need to early reset driver. Therefore, use the
>> "altr,stratix10-rst-mgr" binding for the reset-simple platform driver on
>> the Stratix10 platform.
>>
>> Also remove the "altr,modrst-offset" property because the driver no
>> longer needs it.
>>
>> Signed-off-by: Dinh Nguyen <dinguyen@xxxxxxxxxx>
>> ---
>> arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi | 3 +--
>> 1 file changed, 1 insertion(+), 2 deletions(-)
>>
>> diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
>> index 8253a1a9e985..5f0b18ae5007 100644
>> --- a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
>> +++ b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
>> @@ -308,9 +308,8 @@
>>
>> rst: rstmgr@ffd11000 {
>> #reset-cells = <1>;
>> - compatible = "altr,rst-mgr";
>> + compatible = "altr,stratix10-rst-mgr", "altr,rst-mgr";
>> reg = <0xffd11000 0x1000>;
>> - altr,modrst-offset = <0x20>;
>> };
>>
>> spi0: spi@ffda4000 {
>
> Do you want me to pick this up as well, or just patches 2 and 3?
>

I'll take this patch through arm-soc to avoid conflicts. Can you please
pick up 2 and 3?

Thanks,
Dinh