Re: [PATCH v4 27/37] interconnect: Relax requirement in of_icc_get_from_provider()
From: Dmitry Osipenko
Date: Wed Jul 01 2020 - 19:41:09 EST
01.07.2020 20:10, Georgi Djakov ÐÐÑÐÑ:
> Hi Dmitry,
>
> On 6/9/20 16:13, Dmitry Osipenko wrote:
>> From: Artur ÅwigoÅ <a.swigon@xxxxxxxxxxx>
>>
>> This patch relaxes the condition in of_icc_get_from_provider() so that it
>> is no longer required to set #interconnect-cells = <1> in the DT. In case
>> of the devfreq driver for exynos-bus, #interconnect-cells is always zero.
>>
>> Signed-off-by: Artur ÅwigoÅ <a.swigon@xxxxxxxxxxx>
>> [digetx@xxxxxxxxx: added cells_num checking for of_icc_xlate_onecell()]
>> Signed-off-by: Dmitry Osipenko <digetx@xxxxxxxxx>
>
> I have already applied the original patch by Artur, so please make the cells_num
> check a separate patch.
Okay, I'll update this patch! Thank you!