[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <amnwwaoais7hpaoqb5zkkj6cd7aliufmeuwkhdrkyfc53ej6ut@yggpe53i2cvk>
Date: Sat, 5 Jul 2025 15:16:00 +0300
From: Dmitry Baryshkov <dmitry.baryshkov@....qualcomm.com>
To: Prasad Kumpatla <quic_pkumpatl@...cinc.com>
Cc: Bjorn Andersson <andersson@...nel.org>,
Linus Walleij <linus.walleij@...aro.org>,
Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Srinivas Kandagatla <srini@...nel.org>,
Liam Girdwood <lgirdwood@...il.com>, Mark Brown <broonie@...nel.org>,
Konrad Dybcio <konradybcio@...nel.org>,
cros-qcom-dts-watchers@...omium.org, linux-arm-msm@...r.kernel.org,
linux-gpio@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-sound@...r.kernel.org,
kernel@....qualcomm.com, Mohammad Rafi Shaik <quic_mohs@...cinc.com>,
Konrad Dybcio <konrad.dybcio@....qualcomm.com>
Subject: Re: [PATCH v4 1/8] arm64: dts: qcom: qcs6490-audioreach: Add gpr node
On Wed, Jun 25, 2025 at 12:20:39PM +0530, Prasad Kumpatla wrote:
>
>
> On 6/18/2025 2:15 AM, Bjorn Andersson wrote:
> > On Tue, May 27, 2025 at 04:42:20PM +0530, Prasad Kumpatla wrote:
> > > From: Mohammad Rafi Shaik <quic_mohs@...cinc.com>
> > >
> > > Add GPR(Generic Pack router) node along with
> > > APM(Audio Process Manager) and PRM(Proxy resource
> > > Manager) audio services.
> > >
> >
> > This should talk about the choice of adding a new "-audioreach.dtsi"
> > file, and should cover why it wouldn't make more sense to add the
> > opposite of this change in sc7180-trogdor.dtsi.
>
> Ack
>
> >
> > > Signed-off-by: Mohammad Rafi Shaik <quic_mohs@...cinc.com>
> > > Co-developed-by: Prasad Kumpatla <quic_pkumpatl@...cinc.com>
> > > Signed-off-by: Prasad Kumpatla <quic_pkumpatl@...cinc.com>
> > > Reviewed-by: Konrad Dybcio <konrad.dybcio@....qualcomm.com>
> > > ---
> > > .../boot/dts/qcom/qcs6490-audioreach.dtsi | 53 +++++++++++++++++++
> > > arch/arm64/boot/dts/qcom/sc7280.dtsi | 2 +-
> > > 2 files changed, 54 insertions(+), 1 deletion(-)
> > > create mode 100644 arch/arm64/boot/dts/qcom/qcs6490-audioreach.dtsi
> > >
> > > diff --git a/arch/arm64/boot/dts/qcom/qcs6490-audioreach.dtsi b/arch/arm64/boot/dts/qcom/qcs6490-audioreach.dtsi
> > > new file mode 100644
> > > index 000000000000..29d4a6a2db26
> > > --- /dev/null
> > > +++ b/arch/arm64/boot/dts/qcom/qcs6490-audioreach.dtsi
> > > @@ -0,0 +1,53 @@
> > > +// SPDX-License-Identifier: GPL-2.0-only
> >
> > We can be more permissive than that, please use BSD-3-Clause.
>
> Ack
>
> >
> > > +/*
> > > + * qcs6490 device tree source for Audioreach Solution.
> > > + * This file will handle the common audio device tree nodes.
> >
> > "Common audio device tree nodes", but not those audio device tree nodes
> > that are already specified in sc7180.dtsi...
>
> Ack
>
> >
> > > + *
> > > + * Copyright (c) 2025 Qualcomm Innovation Center, Inc. All rights reserved.
> > > + */
> > > +
> > > +#include <dt-bindings/clock/qcom,lpass-sc7280.h>
> > > +#include <dt-bindings/soc/qcom,gpr.h>
> > > +#include <dt-bindings/sound/qcom,q6afe.h>
> > > +#include <dt-bindings/sound/qcom,q6dsp-lpass-ports.h>
> > > +
> > > +&remoteproc_adsp_glink {
> > > + /delete-node/ apr;
> > > +
> > > + gpr {
> >
> > Glink only consider available (status = "okay") nodes, so if there's a
> > even spread across AudioReach and not, we could even move this to
> > sc7180.dtsi and mark both status = "disabled", and have the appropriate
> > one enabled for each board.
>
> I am trying to add apr and gpr both the nodes under glink-edge, but yaml not
> allowing to add both the nodes.
>
> Facing yaml errors, it's accepting apr (or) gpr only one subnode.
It should be fine to add both nodes as disabled and select corresponding
nodes only when it is actually implemented by the platform.
>
> Please find the error logs for reference.
>
--
With best wishes
Dmitry
Powered by blists - more mailing lists