lkml.org 
[lkml]   [2020]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v6 3/5] Asoc:qcom:lpass-cpu:Update dts property read API
From
Date


On 22/09/2020 13:53, Rohit Kumar wrote:
>> That's very much specific to reg, it's not true of the use of names in
>> general - Rob mentions cases like interrupts for example.
>
Ofcourse using names suffix for clocks and interrupts has been justified!

I don't mind having dependency on reg-names as long as Rob is happy with
DT Bindings!

--srini


> I see that patch to support hdmi adds another reg-name along with
> "lpass-lpaif".
>
> So, platform_get_resource_byname() is better option.
>
> +       res = platform_get_resource_byname(pdev, IORESOURCE_MEM,
> "lpass-hdmiif");
>

\
 
 \ /
  Last update: 2020-09-22 15:58    [W:0.041 / U:0.496 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site