From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qv1-f49.google.com (mail-qv1-f49.google.com [209.85.219.49]) (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 0B7DC3B4417 for ; Tue, 9 Jun 2026 16:23:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781022183; cv=none; b=tpZutn2u2wdP8CuDehpDx0+OS6xVeh2p93/j/BiDsvXPIQz3mLxwJ1Y5kklRQlh4lD7kdWSxu7vQnzWhHDAlvYLfxTE14KN2WiaKsCEmjO7Qe/YAzIIv3rCpnwpoQVvRU5nbo2aUxURSCeFO3UUxeLZ4GhOftR/1YiZsDFzrDBc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781022183; c=relaxed/simple; bh=AeGIWM01cEy8wx/Ywn2gwtkQshceFsOvLf1UYfjPakY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=KtwUtm2lWKVt4mHM1JAdy58bHLZ2wN4rmsJiijcSswcWyaPVY6BGbAEZ+GNPajIEU48OwAPmGLbgBnn42Cb+2YOOxVsihiKvahxWazG1XzFwvi92tWQIB95TqWdrth2aY4xEsyX/ZKSf77+WkjdkS1K+xeNq5Rjv3uEPFtXMHBI= 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=Br91IK60; arc=none smtp.client-ip=209.85.219.49 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="Br91IK60" Received: by mail-qv1-f49.google.com with SMTP id 6a1803df08f44-8cebfb15413so60022546d6.0 for ; Tue, 09 Jun 2026 09:23:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1781022181; x=1781626981; 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=PxrmblCHxPYTYWGagnmJNDYlhKvZUH0GTSCNjpfZ6R0=; b=Br91IK608+GqEQoaoKY35QhRcHF9oKwR/zI1nPuvC4xN+6EMzmfveNQT/Y1sien6FT 4SO94tO6sn4W3BC/RMWktikd93LQEUYu8ydXnAxb/xcpQDXCaHNKaHu0B1ZzYoOFraap MyMfxJMy/P0y1TGi4DQqqtR7FdskSoPFktwZszwPUrwBHn3K0USy3707q8J21Lve08hg 54q5xH380Tt6QfxV4eLyJY0ssXJFnNoOf/nlDixsQjCo99+/BUODGdtBjW78y/80ROui y8mb8cPeTYox3eI6RR9X8b7WSnXds4+1qcWEJNz4P9YNxLe82lrggDA7+EKDsraJtsSK r1qg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781022181; x=1781626981; 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=PxrmblCHxPYTYWGagnmJNDYlhKvZUH0GTSCNjpfZ6R0=; b=PdHWMy1efRyKnM6r0uKdOPVayjTnQLK2RUD4/avXZ+kry+vI3hUD3ODkAk8vw6Dmlo JFJYCOG0FSU7wSLjapFdCRCYQCTYhYV1fYfDtfQwk9wJ70mbL5nsSGZDhd6xHmP+0/1t GMV7KpulViWb5TA+ImvToGIDptz0qt9vb4BXx0qZIGqWHYe/ugCorLj3gjmvBbPKbovU uz4/LYi/89gALZMW2qs5e+E1uT+XhOuGUuBTCeZ2BHW6vC0G2DdfrEjOSQLMGJl/IpSN AFkHVjoCtFJi7FQ8fZXoDkC6EKEmFboaEjRYKne4BGElNleRWIqENbfq9xEtfpAfPmtC IejQ== X-Forwarded-Encrypted: i=1; AFNElJ91e6UQmJCazh0ve+Nx/WzV2TChN3TNQu+YX1XvE/z8eaqd+dGxnDjMExbcjWMHJ2d+fgD0eua0jWyjfMCo@vger.kernel.org X-Gm-Message-State: AOJu0YwE8oQS0+5lADTisxPeFqmZuhenw1Vmumd0dHw2bAEGdVM9IQHR 2MBvpn2wV+kcoxUmX+l4UEvd7rQROz9uJbid+rfqoMJ7LbRTQdlRD4Vm X-Gm-Gg: Acq92OG23+LE51J9kl0BOTC85395R+3nidWT2UgQ4w+4WLlPnVH1eNzM6giPF0D2n9I p8NarcK0QNyXK8fk+G8XnLjWebWT4znOU3iqvhXYiPSkfRdu8neS4dXODCLublv2przjrrMj5U9 +zTy0kTH6kT+SAPjkcTjk/HddGsQisBYizIhJIneu4sOOiLuRzi5kogN0KWDSyCi+2CwwWdGNox umvIoKnfQxul/TqjpRzXt5M/JPipY4q8QCfaXo5qBWYOdc6bx9pzzF9P9zqjAkoXrMRJhiHhQk4 +nkHWWZsgoXvZSFnT8/o9fCobFFEIq7KbORxDkTtxGc//0nYJLw4I/97XuQC4DcYMcqs9Cx6saG pcJRe7UCZZI6gRGjJ8KRxbthpSxLkD13YS46jR2BVYXS592VbYTKYiZOcQMcfMqPUpYU1A52347 DVV6ymy0vY0TDUrL/DhZnF1Mx0okrtYicXS5UuqZ7B737mqpHQ X-Received: by 2002:a0c:f146:0:20b0:8cc:f074:95e with SMTP id 6a1803df08f44-8cee61337camr273970516d6.30.1781022180931; Tue, 09 Jun 2026 09:23:00 -0700 (PDT) Received: from localhost ([142.181.163.192]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-8ceccdc91cesm205664046d6.19.2026.06.09.09.22.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jun 2026 09:23:00 -0700 (PDT) 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 , Adam Skladowski , Vladimir Lypak , Dmitry Baryshkov , Mohammad Rafi Shaik , Johan Hovold , Kees Cook , Charles Keepax , Kuninori Morimoto , Richard Acayan Subject: [PATCH v5 02/15] ASoC: dt-bindings: qcom: q6dsp: add support for lpi mi2s ports 5-6 Date: Tue, 9 Jun 2026 12:22:42 -0400 Message-ID: <20260609162255.31074-3-mailingradian@gmail.com> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260609162255.31074-1-mailingradian@gmail.com> References: <20260609162255.31074-1-mailingradian@gmail.com> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit There are 7 internal MI2S ports per direction found on devices with the internal sound card for Snapdragon 660. This is similar to the LPI MI2S ports, and the LPI MI2S bindings can be reused for internal MI2S. Extend the bindings for LPI MI2S ports to accommodate the internal MI2S ports. Signed-off-by: Richard Acayan --- .../devicetree/bindings/sound/qcom,q6dsp-lpass-ports.yaml | 4 ++-- include/dt-bindings/sound/qcom,q6dsp-lpass-ports.h | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-ports.yaml b/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-ports.yaml index 2b27d6c8f58f..3b03e2acd67e 100644 --- a/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-ports.yaml +++ b/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-ports.yaml @@ -127,7 +127,7 @@ patternProperties: contains: # MI2S DAI ID range PRIMARY_MI2S_RX - QUATERNARY_MI2S_TX and # QUINARY_MI2S_RX - QUINARY_MI2S_TX and - # LPI_MI2S_RX_0 - SENARY_MI2S_TX + # LPI_MI2S_RX_0 - LPI_MI2S_TX_6 items: oneOf: - minimum: 16 @@ -135,7 +135,7 @@ patternProperties: - minimum: 127 maximum: 128 - minimum: 137 - maximum: 148 + maximum: 152 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 45850f2d4342..f0a6899b6523 100644 --- a/include/dt-bindings/sound/qcom,q6dsp-lpass-ports.h +++ b/include/dt-bindings/sound/qcom,q6dsp-lpass-ports.h @@ -152,6 +152,10 @@ #define LPI_MI2S_TX_4 146 #define SENARY_MI2S_RX 147 #define SENARY_MI2S_TX 148 +#define LPI_MI2S_RX_5 149 +#define LPI_MI2S_TX_5 150 +#define LPI_MI2S_RX_6 151 +#define LPI_MI2S_TX_6 152 #define LPASS_CLK_ID_PRI_MI2S_IBIT 1 #define LPASS_CLK_ID_PRI_MI2S_EBIT 2 -- 2.54.0