Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp835539lqo; Fri, 17 May 2024 03:06:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXimWCrqtbahO1cwuAvLnkVqwHtnkBFnt9GH8K0GPSzykFF3HCxNfkQBevcEP9AjqzHwkSGOoKPckyq87ShwhyksGaBaWckuGNbEopvHA== X-Google-Smtp-Source: AGHT+IGmyNbTqBHPvnym/E/NeJi2UMB5Dvce2tbEtqjDCAHB9T2V913SrZgv48Ersyqql7Zs7N+B X-Received: by 2002:a17:902:b20f:b0:1e3:c5d1:2324 with SMTP id d9443c01a7336-1ef43e294d7mr213354675ad.32.1715940369338; Fri, 17 May 2024 03:06:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715940369; cv=pass; d=google.com; s=arc-20160816; b=VvuhqTtRnzBKpYlirbt/g7lLPHRFMV0AttZ0qcGp9ydDO28/Hr47xQrNjnX04o6Yul BuAKf12pFny2wZUiIma41OPByWy0YhwjklP3LMzwCF0B+iXvh/ejmg8BwKqdTgD6+N40 p/pLM+4zb4wf3IsI1tps483JMX18Cd6yW/6L/fW3u7OYog9aw1hMhgckK6z0oUYuCSv7 Dy4sblSChFP47fFNNKKnhxZ6NDf8Oy+63R2xeLGPcRrnNKbREyMZx4RtME5Gm4r6fGQZ GS6Wak8ghiYjiXJwL376cGZCy7LgycVnlIgFc27mX2GgKWfm5O7cQ+yvONFBe+fRZ3ig noKQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-id:precedence:message-id:date :subject:to:from; bh=nbg2aKAnF3LnE0KrVINEjxxU5DuyJ9+ORc+OU46yoWs=; fh=GPNlrx+KEFkEzYtXZ6NEdM3tzm0co+FAcNkYSnNdsYQ=; b=pPodewM18L8ignfcd0qeFVPC7b/eSXcZ95uId155cDJ43Yxq34CjkIgod5FnlCocGw kleNcv4en2jOADRZiDsW5YrNKU8KZIqodiptOSJ5lHsPjSNp8h6Y8yztdJbNPkI9LU9Y H6UjcvBZy7exCBPlKSgOKvIne1Qu/7v5yVlKNbKS8wmRZ2jH9mI1FNiU2onlzTw9NqSS aN3p/VgSuUWhvzxbYtsWhaj86Zo3WUOC1u8i9sTvZtWrSEP8Cbg3GahKfhBV9kjK3VBw 1Ndm2FdViNpvOXrbL8DrXbEmh19Y1os3HAj9HSuGi1HXmYU601zaJJXvMz3xAp0gTyRs vvVw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel+bounces-181974-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181974-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d9443c01a7336-1ef0c03a02esi33601795ad.387.2024.05.17.03.06.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 May 2024 03:06:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-181974-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel+bounces-181974-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181974-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 25F1DB214E0 for ; Fri, 17 May 2024 10:05:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CB85436137; Fri, 17 May 2024 10:05:42 +0000 (UTC) Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CEEAC2D051; Fri, 17 May 2024 10:05:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=92.121.34.13 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715940342; cv=none; b=kcdWGQPcc+inP+fhJaYDQtvd5H4zonj5wKjOCvRAKm6xM6jFs4AWxlweQbgRVURAYTJQC/ozhohVlOIDbK5hZq7l2k02oo+ijqTu9OPhaQr4J976OubRY70xAwT18aXNCCS0KbRPcEA45mQbEAsxJsfDZYYK4LD3KHN3yfUsOu4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715940342; c=relaxed/simple; bh=pEs/JKZaxSvaPBCNOuyYTemDq6eGWIXQge9sqbJNRo0=; h=From:To:Subject:Date:Message-Id; b=gGpy/3OacgDonT6zJUdRC7rDZlzNdIY7esskh6oAKX/hDMCOeaa+GyZpPu7CWerG/PBtEG8sevzEaqym325T2Hx55ihT/a2fygMqOGnGoaqjLVMQZwrqKlbuMsdlrSO1T7+yZT8DSXx1D8wQzLKesx36NYEayHrhqNCPR2wWGeI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; arc=none smtp.client-ip=92.121.34.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 67BEE1A0EAB; Fri, 17 May 2024 12:05:33 +0200 (CEST) Received: from aprdc01srsp001v.ap-rdc01.nxp.com (aprdc01srsp001v.ap-rdc01.nxp.com [165.114.16.16]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 1C72F1A04A4; Fri, 17 May 2024 12:05:33 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id 71255181D0FF; Fri, 17 May 2024 18:05:31 +0800 (+08) From: Shengjiu Wang To: lgirdwood@gmail.com, broonie@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, shengjiu.wang@gmail.com, linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Xiubo.Lee@gmail.com, festevam@gmail.com, nicoleotsuka@gmail.com, perex@perex.cz, tiwai@suse.com, alsa-devel@alsa-project.org, linuxppc-dev@lists.ozlabs.org Subject: [PATCH 0/2] ASoC: fsl_mqs: Add i.MX95 platform support Date: Fri, 17 May 2024 17:45:44 +0800 Message-Id: <1715939146-13031-1-git-send-email-shengjiu.wang@nxp.com> X-Mailer: git-send-email 2.7.4 X-Virus-Scanned: ClamAV using ClamSMTP Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: In order to support the MQS module on i.MX95, a new property "fsl,mqs-ctrl" needs to be added, as there are two MQS instances on the i.MX95 platform, the definition of bit positions in the control register is different. This new property is to distinguish these two instances. Without this property, the difference of platforms except the i.MX95 was handled by the driver itself. But this new property can also be used for previous platforms. The MQS only has one control register, the register may be in General Purpose Register memory space, or MQS its own memory space, or controlled by System Manager. The bit position in the register may be different for each platform, there are four parts (bits for module enablement, bits for reset, bits for oversampling ratio, bits for divider ratio). This new property includes all these things. Shengjiu Wang (2): ASoC: dt-bindings: fsl,mqs: Add i.MX95 platform support ASoC: fsl_mqs: Add i.MX95 platform support .../devicetree/bindings/sound/fsl,mqs.yaml | 17 +++ sound/soc/fsl/fsl_mqs.c | 106 ++++++++++++++---- 2 files changed, 103 insertions(+), 20 deletions(-) -- 2.34.1