Re: [PATCH 3/3] ARM: dts: exynos: Add watchdog amd Security SubSystem to Exynos5410

From: Krzysztof Kozlowski
Date: Thu Jun 02 2016 - 02:18:38 EST


On 06/01/2016 05:16 PM, Javier Martinez Canillas wrote:
> Hello Krzysztof,
>
> On 06/01/2016 05:45 AM, Krzysztof Kozlowski wrote:
>> Move watchdog and Security SubSystem nodes from exynos5420.dtsi to file
>> shared with Exynos5410 and configure the clocks on the latter.
>>
>> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@xxxxxxxxxxx>
>> ---
>
> [snip]
>
>>
>> +&sss {
>> + clocks = <&clock CLK_SSS>;
>> + clock-names = "secss";
>> +};
>> +
>
> [snip]
>
>>
>> +&watchdog {
>> + clocks = <&clock CLK_WDT>;
>> + clock-names = "watchdog";
>> + samsung,syscon-phandle = <&pmu_system_controller>;
>> +};
>> +
>
> Since you used the same ID than Exynos5420 for the SSS and WDT clocks,
> I wonder if the clock and clock-names shouldn't be just defined in the
> shared exynos54xx.dtsi as is the case for the interrupts that are also
> the same?
>
> The patch looks good to me though, so whatever you decide:
>
> Reviewed-by: Javier Martinez Canillas <javier@xxxxxxxxxxxxxxx>

Thanks for review and comments.

The 'clock' property cannot be moved - there is no clock phandle and the
clock IDs are not included in 54xx.

Best regards,
Krzysztof