From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from ahti.lucaweiss.eu (ahti.lucaweiss.eu [128.199.32.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B51E414A85; Fri, 29 Dec 2023 21:41:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=z3ntu.xyz Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=z3ntu.xyz Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=z3ntu.xyz header.i=@z3ntu.xyz header.b="IvI/93aV" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=z3ntu.xyz; s=s1; t=1703886088; bh=xLta2et/RCU0Zo2v7ZHpE3DZ9Yskf/Y+2hhuLWPw8Ew=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=IvI/93aV6sGg+QjpqN/k8TxpIC7p57mFS8443iWsaFkmjUeJHZ2L+Ka/m8YRG/4Ac OlkN3kS3Fjfn65XaagnwE1Okf1ncqJcDPq4CYU4fJtP6VryPeDdR56n/Bg4rgD05Jl cEfrjhb6ci4bvQV0IeAR4kzDgRgRkTyVyKcInIFY= From: Luca Weiss To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Caleb Connolly , Dylan Van Assche , David Heidelberg Cc: David Heidelberg , 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 Message-ID: <6001009.lOV4Wx5bFT@z3ntu.xyz> In-Reply-To: <20231229200245.259689-1-david@ixit.cz> References: <20231229200245.259689-1-david@ixit.cz> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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 > --- > 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 = ; > qcom,sd-lines = <1>; > }; > > - qi2s@23 { > - reg = <23>; > + dai@23 { > + reg = ; 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 > qcom,sd-lines = <0>; > }; > };