[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6b80f060-cb96-1cf9-69bd-f56f7934747a@linaro.org>
Date: Tue, 22 Sep 2020 14:57:40 +0100
From: Srinivas Kandagatla <srinivas.kandagatla@...aro.org>
To: Rohit Kumar <rohitkr@...eaurora.org>,
Mark Brown <broonie@...nel.org>
Cc: Srinivasa Rao Mandadapu <srivasam@...eaurora.org>,
agross@...nel.org, bjorn.andersson@...aro.org, lgirdwood@...il.com,
robh+dt@...nel.org, plai@...eaurora.org, bgoswami@...eaurora.org,
perex@...ex.cz, tiwai@...e.com, linux-arm-msm@...r.kernel.org,
alsa-devel@...a-project.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
V Sujith Kumar Reddy <vsujithk@...eaurora.org>
Subject: Re: [PATCH v6 3/5] Asoc:qcom:lpass-cpu:Update dts property read API
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");
>
Powered by blists - more mailing lists