From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.221.49 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796130758; b=pwY2S9rRK8lexaJFAaEcbzdfzxojWy6n30kwVY8DIyz9QgcxCSCyGKC6J0VySARrhZwo YYFa7ydVtw3Hqql3cvw6n5UW+E8j30cIkE5Gg3xVO5rDXIbqX+BoqFF5BfEZD3rwT8Fds WtzMHUZm93Y88zBylCc6ZODSPeGeHhJFVynXanzSAGQYM6DqlR0wIjXmb5DLS94XZXspN t1ywQ4jejw2Q+BfgVuw5ALVpHI/hwM1EWHY3DliWR2OiQutIdt366daTobmmVkuBPi5f5 4zORykOJ5xLrm11VvTerTbsWwzmVy0iJSO3aON/bZab61qZTGhc9Gul6lxNbVpz+3kw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796130758; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: From:To:Cc:Subject:Date:Message-ID:X-Mailer:In-Reply-To:References: MIME-Version:Content-Type; bh=886zc6Hyw36LqYZmwNICWoXDOL2SJ+Hf6uUcI+fzHf0=; b=jCHSdUL+aaeSSTkr8ZvwKX6wdgFyJCYLRZnWI2DV5cwAFc6IuskPjDgpYv1TV0m5xReD l1I5jOsaZxuqjMZSriMwIr10sEg97qV24rnT3r3CmRGQPYFXvAnuC1pgY0Cua8fnRD1YX rJsn7zjcY/ldk7tVy+DuSrAV8lpH6ytXK9XWM2ZAeBXG91Eh5/vqevpUu+fkqYaUH+/zr DT7zFdCw/UZlLrkkByG0naAg3rdyP5BCNU15MkbXCb9YBwJWntknE20SPJtjCpNr5WsN5 aC5/1Tlbmx3UhjqVUzDo8MXI36d20M5wP5lkwaxMK0Vmp3spZt5JvFRWsVB0qe+hX8g== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=arduino.cc; spf=pass smtp.mailfrom=arduino.cc; dkim=pass header.d=arduino.cc header.i=@arduino.cc header.a=rsa-sha256 header.s=google header.b=Ni+VvWGG; arc=none smtp.remote-ip=209.85.221.49 Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E9934606A695 for ; Tue, 1 Dec 2026 13:12:37 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org E9934606A695 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=arduino.cc Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arduino.cc Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=arduino.cc header.i=@arduino.cc header.a=rsa-sha256 header.s=google header.b=Ni+VvWGG Received: by mail-wr1-f49.google.com with SMTP id ffacd0b85a97d-48e09aa5264so6862032f8f.2 for ; Tue, 01 Dec 2026 05:12:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arduino.cc; s=google; t=1796130756; x=1796735556; darn=vger.kernel.org; h=content-type:mime-version:references:in-reply-to:message-id:date :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to :content-type; bh=886zc6Hyw36LqYZmwNICWoXDOL2SJ+Hf6uUcI+fzHf0=; b=Ni+VvWGGcI6Pd/71hfJVPwXxMCKmuDYQ4SsoUpCdWQI+Q5TyzezrjNSaVytUvqBeSg MJHs7MqibFBnKXzSi56iHIYKK2eGSD1ehHPoDck0nOroQZQda5GHqAGoQRRmYRM4O2y5 Cpd128WxArAiX/MlgzPVSrkrOhlGFWuYVJjlY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796130756; x=1796735556; h=content-type:mime-version:references:in-reply-to:message-id:date :subject:cc:to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to:content-type; bh=886zc6Hyw36LqYZmwNICWoXDOL2SJ+Hf6uUcI+fzHf0=; b=Q/odxo7s6RJgvwvbP5+GH7hQDP9nMqKTDS37Fhn+BFFqABa8Z2b27BI5bh4cSek6gF Wqw+CXvZV5Ld3lFpphTFDbu3Q52nBpkQcfaseGx0VcC8qL8e2sUiZgc7Rx2IkpU3JPJ1 1/s9IayWzFETlAAGYxw5+2EQpUGm4cz1+m7g0M32V7FyviEf7G39R7KwZAcE1WmKseuG aNrFhiABILWz957HimFWSrnBRMTUJTO9x5haI01IYa4R/3yC98l2LYex5UZY0igJtq02 jaV1DPhf/z1XZw8Z3lLgYF2zyPdehzLbQMl58W4ajFdGbcYaNWsBm9J/Gg+CNKQP/ezn 7G+g== X-Forwarded-Encrypted: i=1; AL+hErFSiPj9U4Yes9WbAShY8unq6MEr+mC6d9iiAqrKiA63sTh4NgEByYk2XzonYBgTzHiKusSNYdQwBFRon00=@vger.kernel.org X-Gm-Message-State: APuU4Z9rcB0I/lsnPOwsoct4lh3c/+/y93kJncUH0oiCvetFOPyZR8yy 80oq2tBIPtmM8/v1Ql2Ed33I8yUf5rE9ATxO+O9jvuXeObtcs3BvruUqlj5TusWjnZ/RUhqose4 2HjXsLnPV+aBXd17MISwRiEIVnZ1vIQCM3s4pzW4t7DstmHfM36KJXheWZ6c= X-Gm-Gg: AZFdTZfiE2lb6qkPOTa0Yqozc7NzE8B8UhqBQhfTmzkjLoC4OjdG6kG43wq2Kw8li80 2wK7p3e5s0rI07sj7oyyZ/fYK1nDMHBoEinder9Vyv5QQhTu9HfSAFOKBKEhojNRGZPucbcSOwV 7wVIymX8VyrTG4HXfLGc6toqwBuiLxAf+x+1m8BeDqZ/XkqZf6ybucMkFn1+TP0TCgtreESmj8U ffu1spJ0ScAUCaKf+Cb8tHt5+7XtUb2+pVW53GuVaRhlMrklczw8vnK7IDRtiHzvdnWkhVmp7b0 o+S9YSM82p+jWqRwWuoMB4DvnqZ6ClBmbq/2Y2j9IlGOX2kTb1V44kBW+ahF+Abp0bT/pMnria+ eHjU2dCVBr8OO0PTT0Ji1E+AI4I48KMO2nNKgitwBXkDI5XD8GzkSMMef84MRYCgYDnDC7afRCI tzDPgx+cFLzoxan+QG1t2bYb16a+8xlADPl4ZTabuGytDxq/cHcTdDsFIgU7gJmB7bK5J82pAS8 z+i+s4poAf4d5J/GvAx8OtG8dpJrbs3nAsVeLA6M6IV5V10D8cjKsTDJp1YFFm+3crc2Iha/8Iu fFe4pTBKY0otl8+8SRQWzS6bcRDQC+LcbFPKxc6beiNDv34JXFK13NUW+vFVlA== X-Received: by 2002:adf:e010:0:20b0:492:b221:ac38 with SMTP id ffacd0b85a97d-4abb2ce4bb5mr54483631f8f.26.1796130756317; Tue, 01 Dec 2026 05:12:36 -0800 (PST) Received: from riccardo-work (public.toolboxoffice.it. [213.215.163.27]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab6c61e53asm77939587f8f.59.2026.12.01.05.12.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Dec 2026 05:12:36 -0800 (PST) From: Riccardo Mereu To: Bjorn Andersson , Konrad Dybcio , Abel Vesa , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-sound@vger.kernel.org, linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Riccardo Mereu Subject: [PATCH 6/6] arm64: dts: qcom: qrb2210-arduino-imola: add DP audio playback Date: Tue, 1 Dec 2026 14:12:09 +0100 Message-ID: <20261201131212.161224-7-r.mereu.kernel@arduino.cc> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261201131212.161224-1-r.mereu.kernel@arduino.cc> References: <20261201131212.161224-1-r.mereu.kernel@arduino.cc> X-Mailing-List: linux-kernel@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" From: Riccardo Mereu The UNO Q drives DisplayPort over its USB-C port through an ANX7625 bridge. The bridge takes audio on an I2S input wired to the LPASS Secondary MI2S interface, data on SD0. Describe that path: make the ANX7625 a DAI provider, give Secondary MI2S its data line, select the LPI I2S2 pins, and add a DP playback link to the sound card. The ANX7625 takes standard I2S with its channel length fixed to 32 bits, so the link sets a 32-bit cpu slot width. The link name matches the one used on RB1, and a MultiMedia4 frontend is added because the qcm2290 UCM configuration plays HDMI/DP audio on it. The DSI lanes also go to a panel connector. A panel there takes DSI0 away from the ANX7625, which then does not register its DAI, and the whole sound card fails to probe. Label the DP link and build the DTB with symbols, so that a panel overlay can disable the link. Signed-off-by: Riccardo Mereu --- arch/arm64/boot/dts/qcom/Makefile | 1 + .../boot/dts/qcom/qrb2210-arduino-imola.dts | 43 +++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile index 19310879349d..21248c7525c9 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -277,6 +277,7 @@ qcs9100-ride-r3-el2-dtbs := qcs9100-ride-r3.dtb lemans-el2.dtbo dtb-$(CONFIG_ARCH_QCOM) += qcs9100-ride-el2.dtb dtb-$(CONFIG_ARCH_QCOM) += qcs9100-ride-r3-el2.dtb dtb-$(CONFIG_ARCH_QCOM) += qdu1000-idp.dtb +DTC_FLAGS_qrb2210-arduino-imola := -@ dtb-$(CONFIG_ARCH_QCOM) += qrb2210-arduino-imola.dtb dtb-$(CONFIG_ARCH_QCOM) += qrb2210-rb1.dtb diff --git a/arch/arm64/boot/dts/qcom/qrb2210-arduino-imola.dts b/arch/arm64/boot/dts/qcom/qrb2210-arduino-imola.dts index e99d2a56dc28..0754f3271496 100644 --- a/arch/arm64/boot/dts/qcom/qrb2210-arduino-imola.dts +++ b/arch/arm64/boot/dts/qcom/qrb2210-arduino-imola.dts @@ -112,6 +112,8 @@ multi-led { sound { compatible = "qcom,qrb2210-sndcard"; + pinctrl-0 = <&lpi_i2s2_active>; + pinctrl-names = "default"; model = "Arduino-Imola-HPH-LOUT"; audio-routing = "IN1_HPHL", "HPHL_OUT", "IN2_HPHR", "HPHR_OUT", @@ -133,6 +135,23 @@ platform { }; }; + dp_audio_link: hdmi-i2s-dai-link { + link-name = "HDMI/I2S Playback"; + + codec { + sound-dai = <&anx7625 0>; + }; + + cpu { + sound-dai = <&q6afedai SECONDARY_MI2S_RX>; + dai-tdm-slot-width = <32>; + }; + + platform { + sound-dai = <&q6routing>; + }; + }; + hph-capture-dai-link { link-name = "Headphones Capture"; @@ -204,6 +223,14 @@ cpu { sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA3>; }; }; + + mm4-dai-link { + link-name = "MultiMedia4"; + + cpu { + sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA4>; + }; + }; }; vreg_anx_30: regulator-anx-30 { @@ -256,6 +283,7 @@ anx7625: encoder@58 { vdd10-supply = <&pm4125_l11>; vdd18-supply = <&pm4125_l15>; vdd33-supply = <&vreg_anx_30>; + #sound-dai-cells = <1>; analogix,audio-enable; analogix,lane0-swing = /bits/ 8 <0x14 0x54 0x64 0x74>; analogix,lane1-swing = /bits/ 8 <0x14 0x54 0x64 0x74>; @@ -337,6 +365,21 @@ &pm4125_vbus { status = "okay"; }; +/* Secondary MI2S uses SD0 for audio on the ANX7625 DP bridge */ +&q6afedai { + dai@18 { + reg = ; + qcom,sd-lines = <0>; + }; +}; + +/* The qcm2290 UCM plays DP audio on MultiMedia4 */ +&q6asmdai { + dai@3 { + reg = ; + }; +}; + &qupv3_id_0 { status = "okay"; }; -- 2.56.1 -- Privacy and Confidentiality Notice: This email and all attachments are confidential and for the designated recipient(s) only. They may also be privileged. If you are not the intended recipient or among the intended recipients, you may not use, read, retransmit, disseminate, store/copy the information in any medium or take any action in reliance upon it. Please notify the sender that you have received it in error and immediately delete the entire communication, including any attachments.