mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Luca Weiss <luca@z3ntu.xyz>
To: Bjorn Andersson <andersson@kernel.org>,
	Konrad Dybcio <konrad.dybcio@linaro.org>,
	Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Caleb Connolly <caleb.connolly@linaro.org>,
	Dylan Van Assche <me@dylanvanassche.be>,
	David Heidelberg <david@ixit.cz>
Cc: David Heidelberg <david@ixit.cz>,
	linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] arm64: dts: qcom: sdm845-oneplus-common: improve DAI node naming
Date: Fri, 29 Dec 2023 22:41:28 +0100	[thread overview]
Message-ID: <6001009.lOV4Wx5bFT@z3ntu.xyz> (raw)
In-Reply-To: <20231229200245.259689-1-david@ixit.cz>

On Freitag, 29. Dezember 2023 21:02:33 CET David Heidelberg wrote:
> Make it easier to understand what the reg in those nodes is by using the
> constants provided by qcom,q6dsp-lpass-ports.h.
> 
> Name nodes according to dt-binding expectations.
> 
> Fix for
> ```
> arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dtb: service@4: dais:
> Unevaluated properties are not allowed ('qi2s@22', 'qi2s@23' were
> unexpected) ```
> 
> Fixes: b7b734286856 ("arm64: dts: qcom: sdm845-oneplus-*: add audio
> devices") Signed-off-by: David Heidelberg <david@ixit.cz>
> ---
>  arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi
> b/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi index
> e821103d49c0..46e25c53829a 100644
> --- a/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi
> @@ -508,13 +508,13 @@ led-1 {
>  };
> 
>  &q6afedai {
> -	qi2s@22 {
> -		reg = <22>;
> +	dai@22 {
> +		reg = <QUATERNARY_MI2S_RX>;
>  		qcom,sd-lines = <1>;
>  	};
> 
> -	qi2s@23 {
> -		reg = <23>;
> +	dai@23 {
> +		reg = <QUATERNARY_MI2S_TX>;

I did the 'reg' part before, either I missed this file or it was added after I
made the patch.
https://lore.kernel.org/linux-arm-msm/20220603094710.64591-1-luca.weiss@fairphone.com/

But looks correct:

Reviewed-by: Luca Weiss <luca@z3ntu.xyz>


>  		qcom,sd-lines = <0>;
>  	};
>  };





  reply	other threads:[~2023-12-29 21:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-29 20:02 David Heidelberg
2023-12-29 21:41 ` Luca Weiss [this message]
2023-12-29 23:16   ` David Heidelberg
2024-01-28 17:45 ` Bjorn Andersson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6001009.lOV4Wx5bFT@z3ntu.xyz \
    --to=luca@z3ntu.xyz \
    --cc=andersson@kernel.org \
    --cc=caleb.connolly@linaro.org \
    --cc=conor+dt@kernel.org \
    --cc=david@ixit.cz \
    --cc=devicetree@vger.kernel.org \
    --cc=konrad.dybcio@linaro.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=me@dylanvanassche.be \
    --cc=robh+dt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®