From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qt1-f175.google.com (mail-qt1-f175.google.com [209.85.160.175]) (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 AA182373C0B for ; Wed, 4 Mar 2026 19:58:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772654291; cv=none; b=sCHXztwfEhsA1k+DWYrBrolxiLXVKg2DF10o4yMiWCJ+wZe4Eq3YrqZ4Pa/QLhzBHTKdLVp8RJ3wuMktJSDNd35AQ+HGGsIJWlHbRDlTGaUGAenTKA4FI53LmtLek13wauaymeHPV1q+KgmALiBhfJGJP6d+0fMxGQmHLgE5tEM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772654291; c=relaxed/simple; bh=xR/y7Hyddrcb+jajnVZbm9d2DBLyODaE0s37WmmwLnw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=nTrYJc45ps0hLJgRDUU5hzKvZsKjgKF2XB9pjTXp3hZOkXpg7nzde/qftasg+jgC7PN86i6wjxBlsyur8IQ98EW7wp028n0uxtpw6m8ZCVyb+lpObB5d/B+p6N2/AkadXMXdZVdquPNO1O9JPC8hY8Lha0JoIDIORS9ZChIUQsM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=l1JnFAuH; arc=none smtp.client-ip=209.85.160.175 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="l1JnFAuH" Received: by mail-qt1-f175.google.com with SMTP id d75a77b69052e-5033387c80aso100748941cf.0 for ; Wed, 04 Mar 2026 11:58:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1772654289; x=1773259089; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=3CwB7WHiwTdv+oP9pKXzEf1IEdmHOUqyv08rivHB76s=; b=l1JnFAuHWS5v4w2NtUtAkqNRlhHdPVx6PwehyKMogcPBk5HtjnumWEvMLzIK5Wt59G kXURJqXX/Yt81r/stXC96rvPYdgCCTEzm21IA4AYd5CPaiClhPWfQYlJF+tZOn7c/ubr qBacl5/3WuqglD0QK4PZT/0jkFINLGkhU1URdUctWbyMYIgUjSgWGMwLC3hY6KK3KMs9 nZoCUPqyKOXIcUFziuwg0niLazPrtIV093jWEn8Xhuxlni7L4a3d5BzXeXD30JXctmX+ PaoncawvlS4oAygl+Q3IEtaUKMdmgG4/F9WQA/1k6R3+LYxRXduFiET7/qdH7hI5vNxd JebQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772654289; x=1773259089; h=content-transfer-encoding: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; bh=3CwB7WHiwTdv+oP9pKXzEf1IEdmHOUqyv08rivHB76s=; b=BV2O79ztniuWqEl6s82xfS3EqgdDU8SGxRYkT3xWB/xU0Fi5O2gXOdvCRLT9fy/Iku CeR6dvKfjQRPmd4lD3Stab52XXDFZBMuxWBw+Ujn9QeBZbjarVsbKFBYKTc9C7WNriK7 ysI2fhYE4ZMakEtZQelc1aSc4i5VwRqpwO5xCElnTO7Een+bd+5WOeINe7+ghulhhvIo Dhs7RaqVp4ZKX7TVD0J+3Ynr01Hl8EDSegrdaW5oZPb5b+V7I3l4gG1c2D3JcO140OeK ZZjj0xp/vOweqhI3ui3ho0Mbwu+3dRI+xtkw3l5DpTXptf003vllkjpHti2D+gzI6KV3 bkTw== X-Forwarded-Encrypted: i=1; AJvYcCXIPDRf7CMC69CiyqN5Vfe3T7pnQXh2WUcfAW/rX1QaS+TgCNozNihWgk6/ZD5JT6uJnYHO5a+c8SVk@vger.kernel.org X-Gm-Message-State: AOJu0YwPXuR2f/+HZ1moFXw5JV8BHscxRSG51Vjp4TpTiElQqHlaAEj6 TpauGzh4Qbj2SLtQZdqORTg5eaw4xHdqElJjUt3QVHQ+/LCUSmTOGgR8 X-Gm-Gg: ATEYQzx3e+y5I387P9XCMJp4RW+531eTFWbbw3ZOMpBKtNRF9yDvNdHO7f9Ji6JOXip rDtWROQw2499WhbMrAVilsuab1kTyJtgr9jW0DY+jzpjedvccuMTGVX9N0d3xvhETqS353HYfFy F9+/asgi/hS2DXECXIgoBC2lIvccdbMh2JndD1r3+5n7gMOLI8F6Y45bwV5AwlpnqgLbUw7goaq zhuB/LE5k3Wvhg0WWlP5T763y9o7a9zz8dRenEbEovCOoV+OEOIJwZ1lmXpvkNF9i1v+S4vfPIs fd78wKHdZra5wZHSZjrGjWBOqW603vTFSNNVLvknYabUvLm2aX6WJfk+auVgQMCIHdq+1maPIfx 5/LPtRNzfcsX7B7IrsHSKCM0WW7mZPPumpc8dCwQzgOZuF9LoVsjSte7sdQ3T3MSMF9fPL8nNbQ q3FXxRdGZ9lGOIEAJhELTqLLmpTA== X-Received: by 2002:ac8:7fc6:0:b0:501:7d6c:2d4e with SMTP id d75a77b69052e-508ceb652d0mr84601891cf.42.1772654288623; Wed, 04 Mar 2026 11:58:08 -0800 (PST) Received: from localhost ([184.144.58.243]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-899e53a0d04sm107589146d6.1.2026.03.04.11.58.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Mar 2026 11:58:08 -0800 (PST) From: Richard Acayan To: Srinivas Kandagatla , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jaroslav Kysela , Takashi Iwai , Konrad Dybcio , linux-arm-msm@vger.kernel.org, linux-sound@vger.kernel.org, devicetree@vger.kernel.org Cc: Nickolay Goppen , Wesley Cheng , Greg Kroah-Hartman , Johan Hovold , Kees Cook , Charles Keepax , Kuninori Morimoto , Richard Acayan Subject: [PATCH v2 02/11] ASoC: dt-bindings: qcom: q6dsp: add internal mi2s support Date: Wed, 4 Mar 2026 14:58:06 -0500 Message-ID: <20260304195815.52347-3-mailingradian@gmail.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260304195815.52347-1-mailingradian@gmail.com> References: <20260304195815.52347-1-mailingradian@gmail.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The internal MI2S ports are found on devices with the internal sound card for Snapdragon 660. Add support for them. Signed-off-by: Richard Acayan --- .../bindings/sound/qcom,q6dsp-lpass-ports.yaml | 5 ++++- include/dt-bindings/sound/qcom,q6dsp-lpass-ports.h | 14 ++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-ports.yaml b/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-ports.yaml index 08c618e7e428..751913894dd4 100644 --- a/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-ports.yaml +++ b/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-ports.yaml @@ -126,13 +126,16 @@ patternProperties: reg: contains: # MI2S DAI ID range PRIMARY_MI2S_RX - QUATERNARY_MI2S_TX and - # QUINARY_MI2S_RX - QUINARY_MI2S_TX + # QUINARY_MI2S_RX - QUINARY_MI2S_TX and + # INT0_MI2S_RX - INT6_MI2S_TX items: oneOf: - minimum: 16 maximum: 23 - minimum: 127 maximum: 128 + - minimum: 137 + maximum: 150 then: required: - qcom,sd-lines diff --git a/include/dt-bindings/sound/qcom,q6dsp-lpass-ports.h b/include/dt-bindings/sound/qcom,q6dsp-lpass-ports.h index 6d1ce7f5da51..6753f7bf004b 100644 --- a/include/dt-bindings/sound/qcom,q6dsp-lpass-ports.h +++ b/include/dt-bindings/sound/qcom,q6dsp-lpass-ports.h @@ -140,6 +140,20 @@ #define DISPLAY_PORT_RX_6 134 #define DISPLAY_PORT_RX_7 135 #define USB_RX 136 +#define INT0_MI2S_RX 137 +#define INT0_MI2S_TX 138 +#define INT1_MI2S_RX 139 +#define INT1_MI2S_TX 140 +#define INT2_MI2S_RX 141 +#define INT2_MI2S_TX 142 +#define INT3_MI2S_RX 143 +#define INT3_MI2S_TX 144 +#define INT4_MI2S_RX 145 +#define INT4_MI2S_TX 146 +#define INT5_MI2S_RX 147 +#define INT5_MI2S_TX 148 +#define INT6_MI2S_RX 149 +#define INT6_MI2S_TX 150 #define LPASS_CLK_ID_PRI_MI2S_IBIT 1 #define LPASS_CLK_ID_PRI_MI2S_EBIT 2 -- 2.53.0