Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp670815lqo; Fri, 10 May 2024 10:58:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUvL3X19FI4Ocvfl4xKKnKdOUnRqCfvXcwAQTm76VlNAlbGxNKR1nnYWcdlamgk/ULjwr7h8ldIaPgHirzDWiLk44dhHUr18df68qk4uQ== X-Google-Smtp-Source: AGHT+IFr9VDxJrEswRXGUN9/nmW+WuABvZPGutJiW3BBIT4hA8ENlg78Vuu9PpblowS6+G3octDG X-Received: by 2002:a05:6a20:d70b:b0:1af:b48e:8742 with SMTP id adf61e73a8af0-1afde201c72mr3782943637.49.1715363926695; Fri, 10 May 2024 10:58:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715363926; cv=pass; d=google.com; s=arc-20160816; b=bDNL+7ONuLHT0mRrZTSckKiyihcHV5rubLxIuzOlmapDdXmGsr+iVZkSusQ4fKHqC8 /p5Pvagd+gre6ncaGBF1E+n0GGSjJ2GbB4F8nXyeXUiOt3HaMeQhmrCyyh8kjmD8X3Nl i6E4ajehMxSolPc4fypuWvEDt+IO20Dq44mndhl26dua/mLloFybgQl2PV7yXJH9eZxO X4VMSqNs3PrTikPN/Zonz3YVQJqNAadT8mHjwo+B+25LVoGrUPTor4c5w/yKc8+VwjEk y4BT/GYurzJTgiPN73m/cmWKBZ2fmnU5WG1GtFHhOalPgCMN5wK+OHZNeu0yPAH3pvdl +OXQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=BXCAYOzW1kXWnEuZ/9Q/Y2a8adBdw5ihjWlLUmIWrWE=; fh=IzlvnFRdhD/5A6rjT5b+67o+2+K4ufGMxKtHnrexpm8=; b=zzBRGq283vsXwrHJSoTMLWL0a5e90oCXWsUaDLJEGYRcZnGj4Fwn0p6p7I6i9uVH7z a2K7mfprjVQBCNS9dc5vCftWhLoZSg3Xsyk/2PKVb/hCR9MsexTBP0C6/8cOivvhSX4W flHVS9gpCbH1Rc790tt0Wbyy+sVGMFb8VTlwbc9GCtQ/Nnr17+PVlIcqFD2rY2MMK6+Q nJYxoWGFyefT+NyL1HquAx3z2NNIkPk5hDrrQM+Z6oc4TXHSkCCUWkOj31Zi4+6Onfmg RB9UwAj5Vp2svoomcU0rCWXVZD0LYLKPUyaKdwnoJ6ARw3cVBLeMFHM1sIDTSn5j5qu2 1JRQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uRYYs+JB; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-176076-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176076-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-6340b2a0bf1si4247674a12.189.2024.05.10.10.58.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 10:58:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-176076-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uRYYs+JB; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-176076-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176076-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 47165289B18 for ; Fri, 10 May 2024 17:58:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 078BD1F954; Fri, 10 May 2024 17:58:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="uRYYs+JB" Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) (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 6E47D18C1A for ; Fri, 10 May 2024 17:58:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715363921; cv=none; b=XrkYKdg4oU8LmkomYOsbwD3zVszL2F/D7pMJi38KkBQxfX0bjNsm6dqvgxINVlGuIWQKakGHwy2DEkBrFiPjl0N0lakWEpwjfw5umRUVjAaiSRsW+/dEY45Pst6zWOkag4z4eFuIYLRPqatHPGVDY6uZjqu2yd23LfqC1aTuea4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715363921; c=relaxed/simple; bh=XEetVV5LzjZUd07Qjndu3ZsIUuE/RU2UUw/4u9G5G2Y=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=tyAc/ZwX1Vg4zwRZussBXyxnNCv5joIsK2Sk/BiNYt2HEBjbAlRrSKs4UAaO3DvsGUd9+xQ3R6kW6gvSqxtaMBBJuKvzVZObj3ZrSK1UUyPmjNLo/hqEKDP59AHBeh3wirDn1G1ataYMf0g3Rhx+7NYJqerQQnJrTxGX20hzI8M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=uRYYs+JB; arc=none smtp.client-ip=209.85.128.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-41b782405d5so22889025e9.2 for ; Fri, 10 May 2024 10:58:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1715363918; x=1715968718; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=BXCAYOzW1kXWnEuZ/9Q/Y2a8adBdw5ihjWlLUmIWrWE=; b=uRYYs+JBJ5J1weAxFuQU4CFdym9guQ4wDUqtEnH2qkzHjV6wQ3OHzONcsyG4RlokcG KsY1IDITmbyzJ2TDlNULH74xPWTx7qGup9lSdBxQGM1glNvsk9WmHiI2CBtX4OksvSea HEVYxceX5BxBEez7RnHMhOCiZRXfLR+Xo7F/s29T8/yTO5nC6JEFT2IRv4MtxpUE1ktl du/eIug1/eiW/xxg2pyof3Xl2kMe8o2Ng8XX2DBXX8ndBlJOpCAML3FBDMNv5bGZ7hhi bFOFNZYAEgV0la+xrLUB09SrGOZRfhgDDz/ae3YCYuQ1Eqw+ijMvDkxo+fC3w9yKEfWJ d3Hw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715363918; x=1715968718; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=BXCAYOzW1kXWnEuZ/9Q/Y2a8adBdw5ihjWlLUmIWrWE=; b=kStT6Opa81nHEKfNCa7Qw7dQjxf5ffyFR8FE3W+bjFOPslyL1NiNHUXfSblbY1cVr1 ldRsGro1AQ7cyEUGYUhZc/6+KU1CWNxKiNtUeKBTIFimhhTB8xQm8ptxWJaXZy4Gq2hd sHe2DrqxI+lXai54/gERQNi2ZwpkA3Pqc0wBpfmDREhsCcrlJcDNViL/wcZyeZlvqiNQ 7JWPETiwh15jHV7mqv+vFl4Mumcp2Ts2zsBTI24wPxuzRodTTpKuACOYB6uUICUt2EDm ZDDQ5MKMRvWF/UWL2ytemeYl409EeFKneg2rtldvc4hCEIGbbza5OMI2Ed+uHcoTLPgP 5bOg== X-Forwarded-Encrypted: i=1; AJvYcCUOQ8dsNh3srfAD3fIbCBms1SbstwY493x6khqCrkmEYxBLWZ0zjp2eXle1gTM+DAytsATa2xSSdBoImcmW8vVM88AQe+cyNCSzBiuc X-Gm-Message-State: AOJu0YwpB5GBa6evzTChF4NAS84JWQpVYX56R81F016doEj2EJ9QNqOe U15Tfi8Rda0syR1Ahq/pMQRNxEq24JRDGOzzPyWv3q8F5CLmCL09TU7k+lbVULM= X-Received: by 2002:a05:600c:2042:b0:41c:8754:8793 with SMTP id 5b1f17b1804b1-41fead790ecmr27551705e9.41.1715363917705; Fri, 10 May 2024 10:58:37 -0700 (PDT) Received: from localhost.localdomain ([5.133.47.210]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4200a8e6846sm11046755e9.15.2024.05.10.10.58.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 10:58:37 -0700 (PDT) From: srinivas.kandagatla@linaro.org To: broonie@kernel.org Cc: perex@perex.cz, tiwai@suse.com, alsa-devel@alsa-project.org, lgirdwood@gmail.com, linux-kernel@vger.kernel.org, krzysztof.kozlowski@linaro.org, neil.armstrong@linaro.org, Srinivas Kandagatla Subject: [PATCH 0/2] ASoC: codecs: lpass: add support for v2.6 rx macro Date: Fri, 10 May 2024 18:58:33 +0100 Message-Id: <20240510175835.286775-1-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Srinivas Kandagatla This patchset adds support to reading codec version and also adds support for v2.6 codec version in rx macro. LPASS 2.6 has changes in some of the rx block which are required to get headset functional correctly. Tested this on X13s and x1e80100 crd. Thanks, Srini Srinivas Kandagatla (2): ASoC: codecs: lpass-macro: add helpers to get codec version ASoC: codec: lpass-rx-macro: add suppor for 2.6 codec version sound/soc/codecs/lpass-macro-common.c | 14 + sound/soc/codecs/lpass-macro-common.h | 35 ++ sound/soc/codecs/lpass-rx-macro.c | 565 +++++++++++++++++++------- sound/soc/codecs/lpass-va-macro.c | 29 ++ 4 files changed, 488 insertions(+), 155 deletions(-) -- 2.25.1