[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6siuxtimluikddn6seerbsyb2kkz6vncxfawleabotqcz4jy7e@ze53gesagjlb>
Date: Sun, 6 Oct 2024 23:34:52 +0300
From: Dmitry Baryshkov <dmitry.baryshkov@...aro.org>
To: Alexey Klimov <alexey.klimov@...aro.org>
Cc: linux-sound@...r.kernel.org, srinivas.kandagatla@...aro.org,
bgoswami@...cinc.com, lgirdwood@...il.com, broonie@...nel.org, robh@...nel.org,
krzk+dt@...nel.org, conor+dt@...nel.org, andersson@...nel.org,
konrad.dybcio@...aro.org, perex@...ex.cz, tiwai@...e.com, linux-arm-msm@...r.kernel.org,
alsa-devel@...a-project.org, devicetree@...r.kernel.org, elder@...aro.org,
krzysztof.kozlowski@...aro.org, caleb.connolly@...aro.org, linux-kernel@...r.kernel.org,
a39.skl@...il.com
Subject: Re: [PATCH v2 5/7] arm64: dts: qcom: sm4250: add LPASS LPI pin
controller
On Wed, Oct 02, 2024 at 03:20:13AM GMT, Alexey Klimov wrote:
> Add the Low Power Audio SubSystem Low Power Island (LPASS LPI)
> pin controller device node required for audio subsystem on
> Qualcomm QRB4210 RB2.
>
> Signed-off-by: Alexey Klimov <alexey.klimov@...aro.org>
> ---
> arch/arm64/boot/dts/qcom/sm4250.dtsi | 16 ++++++++++++++++
> 1 file changed, 16 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/sm4250.dtsi b/arch/arm64/boot/dts/qcom/sm4250.dtsi
> index c5add8f44fc0..37c0e963e739 100644
> --- a/arch/arm64/boot/dts/qcom/sm4250.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sm4250.dtsi
> @@ -3,6 +3,7 @@
> * Copyright (c) 2021, Iskren Chernev <iskren.chernev@...il.com>
> */
>
> +#include <dt-bindings/sound/qcom,q6dsp-lpass-ports.h>
> #include "sm6115.dtsi"
>
> &CPU0 {
> @@ -36,3 +37,18 @@ &CPU6 {
> &CPU7 {
> compatible = "qcom,kryo240";
> };
> +
> +&soc {
> + lpass_tlmm: pinctrl@...0000 {
Please add the node to sm6115.dtsi and override the compat string here.
> + compatible = "qcom,sm4250-lpass-lpi-pinctrl";
> + reg = <0x0 0xa7c0000 0x0 0x20000>,
> + <0x0 0xa950000 0x0 0x10000>;
Please pad address to 8 hex digits: reg = <0x0 0x0a7c0000 0x0 0x20000>
> +
> + clocks = <&q6afecc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>;
> + clock-names = "audio";
> +
> + gpio-controller;
> + #gpio-cells = <2>;
> + gpio-ranges = <&lpass_tlmm 0 0 26>;
> + };
> +};
> --
> 2.45.2
>
--
With best wishes
Dmitry
Powered by blists - more mailing lists