From patchwork Sat Jun 22 12:46:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Hewitt X-Patchwork-Id: 807301 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E72E1C27C78 for ; Sat, 22 Jun 2024 12:51:49 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id A2DF2B65; Sat, 22 Jun 2024 14:51:37 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz A2DF2B65 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1719060707; bh=wguNbuw7FMvZL41k2nqi7sLsthh6o1r8emQiblZ3Bpo=; h=From:To:Subject:Date:In-Reply-To:References:List-Id:List-Archive: List-Help:List-Owner:List-Post:List-Subscribe:List-Unsubscribe: From; b=TX/FsYuYej08VMNdixu1AApbtOMxmuIvOooOlFCc54z0UtQIHpuqMKJk8ISHnvcsB OeHJ2vdT+tq4dcIGNHos48wY3RCnlbBvPeaq8s44joVSygG4ZfcQYnPZuYJXyZ+lWX KaI6PnW4UUnM4obEt7zRU8i7iZbsQsWccazrZhQk= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 7C672F8058C; Sat, 22 Jun 2024 14:50:44 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id A8F82F80604; Sat, 22 Jun 2024 14:50:44 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 11709F8023A; Sat, 22 Jun 2024 14:47:23 +0200 (CEST) Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id DF7A1F800ED for ; Sat, 22 Jun 2024 14:46:11 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz DF7A1F800ED Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=YmJ6M7PQ Received: by mail-ed1-x532.google.com with SMTP id 4fb4d7f45d1cf-57cb9efd8d1so6426981a12.0 for ; Sat, 22 Jun 2024 05:46:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719060370; x=1719665170; darn=alsa-project.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=5rYO/3H3r7dblkwk2TxcPuqguXSZncMIlUA/OhiIqjk=; b=YmJ6M7PQH9bWsANKWbCpDXU4pP760u/yhRfuzG99pGwFVb9XIPUNfcYpBQKqtUQnaB /nYnmhZXZlK3BCOENYOR3O7MI0ILCQXrbFrWDltsIVlKKRPq59NAtfqV2cZ2vE1ahMdm xtgjUR8JeTEJ7cjmyIJqR8iyM0yZOReXKtiyNinVjJ7G8uxWGtg38bVNC1+kPlmoCW3o lh6dzHDHTy/ZT+dV3MD4aaj/ptu7Zyuh5pCkLzry5VFhJY5b0nHjB/7Jk+kqgQynCsiC JS6738XvP1fJ1JbElN0q9mtX3pngiXlJO8Qw23HEH4cRiKupgcsxiQwCUqZL36eWf/VC dSTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719060370; x=1719665170; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5rYO/3H3r7dblkwk2TxcPuqguXSZncMIlUA/OhiIqjk=; b=mvkmOYi9PupTAYYJc25bEtaOmTFOMIDqLsIpbIl6r8VVIDbcG1RsSOuO7eKWm8NvGj WtXp0zo9ziKwOB2Vv208OTVoHkSeLP3Un9/Ol0H2adQ7iPfiMLUXsxu1PUp3YnhsCMcM 4UTr1D7PPhFyzq2IyVr21HN2/jTGXaeH5PKAMvMwcNWuY0fl6a9zo2yspwlbBSbeh1wX yIuAGBgluQsk+odjQy9yJSVC0hVAF832K0VdzETsVI7wZJujIzOQ0IMinRAqf7R22CyX VYN99lQ6SndAJrQB0L3Frmbj0w1lF1oVUEFklJEdvvxxRlJo+MC1XPTiBqJ12DKuPou0 EtIg== X-Forwarded-Encrypted: i=1; AJvYcCWoJwtK4izbuRAB2PO2UncUjD/avyxLub4wy243tM5p7xbWZJhOPHryVbFYtx0y7nZUpZmnp0NQvh7eled6+HeZMTXrshcUxO11LQk= X-Gm-Message-State: AOJu0YzoGbR+Qa+00r8t6pYLgqepeGMBC78t9lvDWzoidv8cqzaxdRkg 0j3I6Cv/C8COaA/cpYTH1SfVexXbIUxv//QAKdV4nuGnrYHQIZIa X-Google-Smtp-Source: AGHT+IHUkvCwDmjtM5u94ZjAM6ZoN/Z0BO1NdF6gcnasiwVqh9Sdu5ciPtX5KTt+zJH6KRyvNqGWUA== X-Received: by 2002:a50:d655:0:b0:57c:bec1:ff4b with SMTP id 4fb4d7f45d1cf-57d44c2daeemr866438a12.10.1719060370294; Sat, 22 Jun 2024 05:46:10 -0700 (PDT) Received: from toolbox.. ([87.200.95.144]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-57d31f33086sm2122853a12.61.2024.06.22.05.46.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 22 Jun 2024 05:46:10 -0700 (PDT) From: Christian Hewitt To: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shenghao Ding , Kevin Lu , Baojun Xu , Jaroslav Kysela , Takashi Iwai , linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org Subject: [PATCH 1/2] dt-bindings: sound: add ti,pcm5424 to pcm512x Date: Sat, 22 Jun 2024 12:46:02 +0000 Message-Id: <20240622124603.2606770-2-christianshewitt@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240622124603.2606770-1-christianshewitt@gmail.com> References: <20240622124603.2606770-1-christianshewitt@gmail.com> MIME-Version: 1.0 Message-ID-Hash: QASTQWX5GSYMDTD2QYOJGZYWXRG53JLJ X-Message-ID-Hash: QASTQWX5GSYMDTD2QYOJGZYWXRG53JLJ X-MailFrom: christianshewitt@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Add ti,pcm5424 to the list of pcm512x compatible chips Signed-off-by: Christian Hewitt --- Documentation/devicetree/bindings/sound/pcm512x.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/sound/pcm512x.txt b/Documentation/devicetree/bindings/sound/pcm512x.txt index 77006a4aec4a..47878a6df608 100644 --- a/Documentation/devicetree/bindings/sound/pcm512x.txt +++ b/Documentation/devicetree/bindings/sound/pcm512x.txt @@ -6,7 +6,7 @@ on the board). The TAS575x devices only support I2C. Required properties: - compatible : One of "ti,pcm5121", "ti,pcm5122", "ti,pcm5141", - "ti,pcm5142", "ti,tas5754" or "ti,tas5756" + "ti,pcm5142", "ti,pcm5242", "ti,tas5754" or "ti,tas5756" - reg : the I2C address of the device for I2C, the chip select number for SPI. From patchwork Sat Jun 22 12:46:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Hewitt X-Patchwork-Id: 806729 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 44993C27C53 for ; Sat, 22 Jun 2024 12:51:29 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 4BD08DF8; Sat, 22 Jun 2024 14:51:16 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 4BD08DF8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1719060686; bh=keK1XYJG51HSPMkUrZrJr9eY/iWHfg/MR+unKus+/qU=; h=From:To:Subject:Date:In-Reply-To:References:List-Id:List-Archive: List-Help:List-Owner:List-Post:List-Subscribe:List-Unsubscribe: From; b=k91BMivCeYuNtLD78IK/vZsKw3+mlFepXn8L3kn5t1wejf2DJMqiLSlxYkfCJ8Vx5 wtUYLNbpMdxw/w1UMCklhUg9DyQLJBkjmqAwoVVWjNE8jxwRhYgp12FjF6zj9k2JTD Ll0ZafdFkw4lRk3Q5PMmNXkBFOJ85O01Cefp3Guk= Received: by alsa1.perex.cz (Postfix, from userid 50401) id B3B58F8059F; Sat, 22 Jun 2024 14:50:44 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id BA2D6F805E3; Sat, 22 Jun 2024 14:50:43 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id C28A7F80266; Sat, 22 Jun 2024 14:46:23 +0200 (CEST) Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id ED9ABF80236 for ; Sat, 22 Jun 2024 14:46:13 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz ED9ABF80236 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=VyuDANQY Received: by mail-ed1-x52c.google.com with SMTP id 4fb4d7f45d1cf-57a30dbdb7fso3554895a12.3 for ; Sat, 22 Jun 2024 05:46:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719060373; x=1719665173; darn=alsa-project.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=Xtc3YQWwhEs2vXvOR2PH5mI51fSfcNplDTd0O8+xCVQ=; b=VyuDANQYIUHUecQV+rE17L82w5JCN2JDtk2ugk7LVw+S1qs4xHW9jHp0Vddtz4riSW RJy/Km0mAcDh55KhCFkyUAkhTkhMvVt9T81VhgvZrArbnZ1CePfO7hlNO1ki+wpQhsrT dyd8eIYE1Bqxl+QwHLsTe+AnVraWyp1Thr2Aucb+zLdoD5Dy0RuBtpr8b4MNZL2rG7Fu 4jsqZsmONifLgz2g42P0LhtFh0TPeUNVvnF+01t12y5zrRo8wK3ArTPsK9BULLC3015M o86EMSpl5L9ugjWOakIFEAx5sgqaAKKMuJZ/e7h3ch1nyyPdBiOLwONHJBy0NFrT4G3h unfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719060373; x=1719665173; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Xtc3YQWwhEs2vXvOR2PH5mI51fSfcNplDTd0O8+xCVQ=; b=d+y0XtHlXo681PNkkvEbBwLsP/VO5+zwhfhEZlMXIuqR3xNkCFwyelyrNtjjTysvXv wnGroM8Xa29u2jIan3Dz5MRsnz22tXwuM9CfV3JWycqftB7LJvO+xEVijpN7jg5zZGmL gzlLm9aIXUaFvs0NViLqwmJe1ddBO3Rp6lzemh+D8NiRvLS2FNlNy65mA5CO5tOu24t0 3hL+b3+6R02prR8OECPcp6VFqQ9ui6qjer3N+AX6zpTcqmNNErgFhMCTuTEEyaes/KXc 5d1vuyfSskRX6LBQwskPVq7Vys3cHHT4f3kHWAp4lkM2sdjSVXtX4699vmmAukd56bhU Mb8Q== X-Forwarded-Encrypted: i=1; AJvYcCUJgAq5m8v/OSw41hROhdCIzXbKZcH8fZKcJFtDUAFk97wfdbNrxa1YUGNtewte7v96pIjQ62BR+9r8btha2r/FltzW8FhJGgISQDg= X-Gm-Message-State: AOJu0YwuU5rYXJxRoleGvoOx9NfbLbP5XeDk25vEktd3WSmwVy7KGXbK TQU29ZB9UoM/z6Q1gTWkjcT6PfqrOVdSAOHNpGMauqm0QSGAklmK X-Google-Smtp-Source: AGHT+IFBzxDcxx1CE0ZViNgLB0t0MgmBfPXQf2y4zveVJIRjgSOlbuN6rI8Qp7AbWoS6dX8BDOzBdw== X-Received: by 2002:a50:d58e:0:b0:57c:7eb6:440a with SMTP id 4fb4d7f45d1cf-57d4a27397emr231724a12.3.1719060372830; Sat, 22 Jun 2024 05:46:12 -0700 (PDT) Received: from toolbox.. ([87.200.95.144]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-57d31f33086sm2122853a12.61.2024.06.22.05.46.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 22 Jun 2024 05:46:12 -0700 (PDT) From: Christian Hewitt To: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shenghao Ding , Kevin Lu , Baojun Xu , Jaroslav Kysela , Takashi Iwai , linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org Subject: [PATCH 2/2] ASoC: Add support for ti,pcm5242 to the pcm512x driver Date: Sat, 22 Jun 2024 12:46:03 +0000 Message-Id: <20240622124603.2606770-3-christianshewitt@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240622124603.2606770-1-christianshewitt@gmail.com> References: <20240622124603.2606770-1-christianshewitt@gmail.com> MIME-Version: 1.0 Message-ID-Hash: QMYFXDNBGJIQFMSZTQE3YK7AXF65ITXT X-Message-ID-Hash: QMYFXDNBGJIQFMSZTQE3YK7AXF65ITXT X-MailFrom: christianshewitt@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Add a compatible string to enable support for the ti,pcm5242 DAC chip in the pcm512x driver. Signed-off-by: Christian Hewitt --- sound/soc/codecs/pcm512x-i2c.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/soc/codecs/pcm512x-i2c.c b/sound/soc/codecs/pcm512x-i2c.c index 4be476a280e1..92bcf5179779 100644 --- a/sound/soc/codecs/pcm512x-i2c.c +++ b/sound/soc/codecs/pcm512x-i2c.c @@ -39,6 +39,7 @@ static const struct i2c_device_id pcm512x_i2c_id[] = { { "pcm5122", }, { "pcm5141", }, { "pcm5142", }, + { "pcm5242", }, { "tas5754", }, { "tas5756", }, { } @@ -51,6 +52,7 @@ static const struct of_device_id pcm512x_of_match[] = { { .compatible = "ti,pcm5122", }, { .compatible = "ti,pcm5141", }, { .compatible = "ti,pcm5142", }, + { .compatible = "ti,pcm5242", }, { .compatible = "ti,tas5754", }, { .compatible = "ti,tas5756", }, { }