From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796412045; b=flftGANPNIQoUQOIW9ZgqsiW1UlGTRKXecTjShv4lFBlyg68Sa4/zXlCvJvFpuWftUeU R9ur3t+rZcBYlogjer5XIVKNdYbFZRHELNQkENOX6i8r1O+Px9GOTib93ur/254cslxpX ZTGfDWBfM3LfFB+UhXycq9AQ7P7LUFo+exXi3hFhECP+5reheziA5ncOvav6k1rfVRZOq 1nbLjOOAwKLmfcy3xY7STWY3qoh8PHqhQiGa6GXipWff/dRfMVXH+S8mw5B+RbhOCAY7m QsrBbHCxLYLQsKtMmQ6pDCfdU/6GnLQPZY+M1fNHR3kiuzl8dcXl8XkMtvREx+YuBjA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796412045; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=LT/+R6Yr9vE0/oslObBqZbeNbIoumvziH/Ll/RJU2fI=; b=2d4tWHwWvc/VAtBMCOY4Vx+MS+8TxJXvvY5+Hl/vkCQ7amu5tVQokzs3yiEamDxdP2AM Mo4yVLnqVDQP10VqnXnYo8xPe5ohSJjs5yMVj22XTIraewfJpU0Seruo7K65Nzqm590if zg3D8Pjaj7BtCf635xe2cDmVjSrguk8fut/8rviZ9A2lEw+CXTpcKmJhZMWZR58T2blOa O40aYj3UMuWJrVdoiYXBfIv/A1Boi4DU/bFiwf4aPI3OMO55pjXuE8ALwh7qUSgEkengu yer7pUFT3ZjgWmMOjQltA/Fn+wj4beGsypA95RWQOxphStaaiKkKik9qqZUUZtLCLbQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=dfvMMGfd; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3A3FC606A322; Fri, 4 Dec 2026 19:20:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=dfvMMGfd Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1F33A1F00936; Fri, 4 Dec 2026 19:20:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796412044; bh=LT/+R6Yr9vE0/oslObBqZbeNbIoumvziH/Ll/RJU2fI=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=dfvMMGfdXzdOMbYQAyi270t4Pd/gUnPoAvu4YSPw2HktCAjxzB8ydiO70sfpU4LAF YKun80U4YsVVgIITXMBnyVuS7cRUh2WW5qHFQgbcEQow8vSmdU7KZ7TuqkD2tlFag0 PC06YYkikv4Cx8/ytOUtatx20pVNIJ115kEnTfvLhhTdTQyWbLnfF4c9FaBZ/DV12S pzvlO9oXCojAf+7UW6HZL8Z6nHZQBZDzOCroMZkxPfC7dwoK12xtu8OB2YOq8dGHtS I1tPQLa4wjFrUyWiZ9nE8Fpaj51frZPY8v3kGRyg543U7LyX5qM5Ve+rH6fW/R951s sam6L5xkFYIgA== Date: Fri, 4 Dec 2026 13:20:41 -0600 From: Bjorn Andersson To: Mohammad Rafi Shaik Cc: Konrad Dybcio , Abel Vesa , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 v4 3/7] arm64: dts: qcom: shikra: Add soundwire and macro nodes Message-ID: References: <20261026-shikra_audio_dts-v4-v4-0-cfebe0809467@oss.qualcomm.com> <20261026-shikra_audio_dts-v4-v4-3-cfebe0809467@oss.qualcomm.com> X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20261026-shikra_audio_dts-v4-v4-3-cfebe0809467@oss.qualcomm.com> On Mon, Oct 26, 2026 at 05:14:31PM +0530, Mohammad Rafi Shaik wrote: > Add SoC-level SoundWire masters and LPASS RX/VA macro nodes, along with > DMIC and SWR pinctrl states required by the audio data path. > > Signed-off-by: Mohammad Rafi Shaik This still doens't pass dt-validate, dropping them from my queue. Resubmit once they can be merged. Thanks, Bjorn > --- > arch/arm64/boot/dts/qcom/shikra.dtsi | 172 +++++++++++++++++++++++++++++++++++ > 1 file changed, 172 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/shikra.dtsi b/arch/arm64/boot/dts/qcom/shikra.dtsi > index 67ad6c3e34db..f234dcdb9785 100644 > --- a/arch/arm64/boot/dts/qcom/shikra.dtsi > +++ b/arch/arm64/boot/dts/qcom/shikra.dtsi > @@ -1060,6 +1060,70 @@ sdc2_card_det_n: sd-card-det-n-state { > drive-strength = <2>; > bias-pull-up; > }; > + > + dmic01_default: dmic01-default-state { > + clk-pins { > + pins = "gpio96"; > + function = "dmic"; > + drive-strength = <8>; > + output-high; > + }; > + > + data-pins { > + pins = "gpio97"; > + function = "dmic"; > + drive-strength = <8>; > + bias-disable; > + }; > + }; > + > + dmic23_default: dmic23-default-state { > + clk-pins { > + pins = "gpio98"; > + function = "dmic"; > + drive-strength = <8>; > + output-high; > + }; > + > + data-pins { > + pins = "gpio99"; > + function = "dmic"; > + drive-strength = <8>; > + bias-disable; > + }; > + }; > + > + tx_swr_active: tx-swr-active-state { > + clk-pins { > + pins = "gpio105"; > + function = "swr0_tx"; > + drive-strength = <8>; > + bias-disable; > + }; > + > + data-pins { > + pins = "gpio106"; > + function = "swr0_tx"; > + drive-strength = <8>; > + bias-bus-hold; > + }; > + }; > + > + rx_swr_active: rx-swr-active-state { > + clk-pins { > + pins = "gpio107"; > + function = "swr0_rx"; > + drive-strength = <8>; > + bias-disable; > + }; > + > + data-pins { > + pins = "gpio108", "gpio109"; > + function = "swr0_rx"; > + drive-strength = <8>; > + bias-bus-hold; > + }; > + }; > }; > > pmu@c91000 { > @@ -4089,6 +4153,114 @@ qaif_cpu: audio@a000000 { > status = "disabled"; > }; > > + rxmacro: codec@a040000 { > + compatible = "qcom,shikra-lpass-rx-macro"; > + reg = <0x0 0x0a040000 0x0 0x1000>; > + > + clocks = <&audiocorecc AUDIO_CORE_CC_RX_MCLK_CLK>, > + <&audiocorecc AUDIO_CORE_CC_RX_MCLK_2X_CLK>, > + <&vamacro>; > + clock-names = "mclk", > + "npl", > + "fsgen"; > + > + #clock-cells = <0>; > + clock-output-names = "mclk"; > + #sound-dai-cells = <1>; > + > + status = "disabled"; > + }; > + > + swr0: soundwire@a060000 { > + compatible = "qcom,shikra-soundwire"; > + reg = <0x0 0x0a060000 0x0 0x10000>; > + > + interrupts = ; > + > + clocks = <&rxmacro>; > + clock-names = "iface"; > + label = "RX"; > + > + pinctrl-0 = <&rx_swr_active>; > + pinctrl-names = "default"; > + > + qcom,din-ports = <0>; > + qcom,dout-ports = <5>; > + > + resets = <&audiocore_csr AUDIO_CORE_CSR_RX_SWR_CGCR>; > + reset-names = "swr_audio_cgcr"; > + > + qcom,ports-sinterval-low = /bits/ 8 <0x03 0x1f 0x1f 0x07 0x00>; > + qcom,ports-offset1 = /bits/ 8 <0x00 0x00 0x0b 0x01 0x00>; > + qcom,ports-offset2 = /bits/ 8 <0x00 0x00 0x0b 0x00 0x00>; > + qcom,ports-hstart = /bits/ 8 <0xff 0x03 0xff 0xff 0xff>; > + qcom,ports-hstop = /bits/ 8 <0xff 0x06 0xff 0xff 0xff>; > + qcom,ports-word-length = /bits/ 8 <0x01 0x07 0x04 0xff 0xff>; > + qcom,ports-block-pack-mode = /bits/ 8 <0xff 0x00 0x01 0xff 0xff>; > + qcom,ports-block-group-count = /bits/ 8 <0xff 0xff 0xff 0xff 0x00>; > + qcom,ports-lane-control = /bits/ 8 <0x01 0x00 0x00 0x00 0x00>; > + > + #sound-dai-cells = <1>; > + #address-cells = <2>; > + #size-cells = <0>; > + > + status = "disabled"; > + }; > + > + vamacro: codec@a078000 { > + compatible = "qcom,shikra-lpass-va-macro"; > + reg = <0x0 0x0a078000 0x0 0x2000>; > + > + clocks = <&audiocorecc AUDIO_CORE_CC_TX_MCLK_CLK>, > + <&audiocorecc AUDIO_CORE_CC_TX_MCLK_2X_CLK>; > + clock-names = "mclk", > + "npl"; > + > + #clock-cells = <0>; > + clock-output-names = "fsgen"; > + #sound-dai-cells = <1>; > + > + status = "disabled"; > + }; > + > + swr1: soundwire@a080000 { > + compatible = "qcom,shikra-soundwire"; > + reg = <0x0 0x0a080000 0x0 0x10000>; > + > + interrupts = , > + ; > + interrupt-names = "core", "wakeup"; > + > + clocks = <&vamacro>; > + clock-names = "iface"; > + label = "VA_TX"; > + > + pinctrl-0 = <&tx_swr_active>; > + pinctrl-names = "default"; > + > + qcom,din-ports = <4>; > + qcom,dout-ports = <0>; > + > + resets = <&audiocore_csr AUDIO_CORE_CSR_TX_SWR_CGCR>; > + reset-names = "swr_audio_cgcr"; > + > + qcom,ports-sinterval-low = /bits/ 8 <0x01 0x03 0x03 0x03>; > + qcom,ports-offset1 = /bits/ 8 <0x00 0x01 0x01 0x01>; > + qcom,ports-offset2 = /bits/ 8 <0x00 0x00 0x00 0x00>; > + qcom,ports-hstart = /bits/ 8 <0xff 0xff 0xff 0xff>; > + qcom,ports-hstop = /bits/ 8 <0xff 0xff 0xff 0xff>; > + qcom,ports-word-length = /bits/ 8 <0xff 0xff 0xff 0xff>; > + qcom,ports-block-pack-mode = /bits/ 8 <0xff 0xff 0xff 0xff>; > + qcom,ports-block-group-count = /bits/ 8 <0xff 0xff 0xff 0xff>; > + qcom,ports-lane-control = /bits/ 8 <0x01 0x00 0x00 0x00>; > + > + #sound-dai-cells = <1>; > + #address-cells = <2>; > + #size-cells = <0>; > + > + status = "disabled"; > + }; > + > audiocorecc: clock-controller@a0a0000 { > compatible = "qcom,shikra-audiocorecc"; > reg = <0x0 0x0a0a0000 0x0 0x10000>; > > -- > 2.34.1 >