From patchwork Fri Oct 2 09:49:29 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Roman_Smr=C5=BE?= X-Patchwork-Id: 4855 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 916F73F0B7 for ; Fri, 2 Oct 2026 11:49:47 +0200 (CEST) Received: by mail-wm1-f70.google.com with SMTP id 5b1f17b1804b1-4a02607c21dsf9780585e9.0 for ; Fri, 02 Oct 2026 02:49:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1790934587; cv=pass; d=google.com; s=arc-20260327; b=rl8Ot8wy2ZkSrgR9+eah5sd+ZCdw5t5zJF/wYMde2zo7u9SvJCcy59MgTaD6ek+lDT X1ZoA58gmNQoxGd37Q3+GzzaxcG0ApoWQKaClm73Z7YGWJ+azOvUpWzaPGch7nxcg6BQ kOJgCuf60WNJLTvHioYSvTtKYtJVCTAsrQNsRioFQV+YoR1iafx5XlMIHALF8T/SyKi7 KqI4ibT4NHmjs3oRYefINpZADXj6H1IOlJSShgsb81Ccd7eWT8w7mF2gWy9e1sTmzaNn N4G0I5Jx/V4LWR5DOynq7Y5ek7kyXyzMBFzd849CtmLMbjJ4GSKFCZ9/rUwnbc9aeidF 0Niw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:cc:to:content-transfer-encoding :mime-version:message-id:date:subject:from:dkim-signature; bh=7HTZquqBqvtg7MW9znwYI2wYwXxraFuwJ0kty0b5+x0=; fh=dmjSKKoDEiyiuYgvLaGg+HOjiKYZnZvAwDxGWgwJ22k=; b=Pvp+IC2n2FvnSz3kGn2dD/2K1B3Y8Pl3MD4VjyuKX7f8Wc27SLGry+YmkEied74qvh TfI/GbTQvut6LWxkOjLi+1Bq+vhgBXmG5EObsOM+6jYZf8RdSiOC2OlLpq5N4GwpZX0R sojGkj45WTc+2sqdfRo5U5V1s7ATCIAVSVrBnyJgnh1jYxuhGKhnfeYo/v/jZrfsUUvw CZiTrnat0XzAeVoiEpGWkCV/vDQozBxpcoibILQNKmWxF9m3QvkZ8BE0yrMk6jRhZ25/ ozRXx0mC5PzMse7SnRbEhrnpQSE+GLhF8Yi//oBjfGDdcihyTwHOqxCaaytp3KNoOaKW 8tyw==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Sj9YxXsi; spf=pass (google.com: domain of roman@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=roman@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=neutral header.i=@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1790934587; x=1791539387; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:cc:to:content-transfer-encoding:content-type :mime-version:message-id:date:subject:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=7HTZquqBqvtg7MW9znwYI2wYwXxraFuwJ0kty0b5+x0=; b=Qc1D8u9sfxs4Zo7DtKhunjkP/l8eR02j4o3ol1ElxTkwTBmaZ+nLq/hlQN7gYj1xJx +jlAsoeb+kQePc7pZvlVTDOUZ3qJf+AH0GDVMclPg9sdmhEKnPgQad+f/T0LX/CUZOI/ a2kDVR/UGVgFt3PuzyQv4Oyz4STxQPjh+erqs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1790934587; x=1791539387; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:cc:to :content-transfer-encoding:content-type:mime-version:message-id:date :subject:from:x-gm-gg:x-beenthere:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to:content-type; bh=7HTZquqBqvtg7MW9znwYI2wYwXxraFuwJ0kty0b5+x0=; b=0oF6O54qelbqZHZklG/v9MGwbkAOrzkGbbRSO7nm4/zpn35VgVWc3QX5HEPTt90i0w xzHpNj/NHXYYqJ8zBHI4miiDd+BdHCT1BjS5KMHzFVPzF7v26s5rPRNDysYlCPWxkxWA xZQHmJVj1+Xj6fPHU2R98wiDNrt5wpYnyvlfR8cHVUCq549JZnq85FikNIbMFPI5+8P9 CBBl6hWwTPtYOleLJ5SdKnkz/f7f4OK+tpCepjCmqaWlYYOYzZcM0ttRFTCyWNRPImRa QN12FMS3PlCTN+itndCgFN1T9cI44C6TS2wgU34O41S08wk+nbjY4P+SRasUYAcDLgx+ xGUg== X-Forwarded-Encrypted: i=2; AKwUvBzKFGQTB1x0jPuzroV6wXlxSm3HR5IB5HpOdkeXg+TkGvKJ+NqeOZlI2+GGXj5A8ml3/n0yocoNAPw6H+ir@patchwork.amarulasolutions.com X-Gm-Message-State: AFuF++n4QNc99rdBYpgkQjRbmGlYWpm7pBQJh4SMEVqIyTWpNrT37GGy 8/Bvu8t4Vm8MKiwKzHtZMZff3spuuco4RzJ8C4knhahdCthb8bmWZ6IgKBk6NzbGdQUP62H8syB 19w== X-Received: by 2002:a05:600d:238a:b0:4a0:18bc:3b94 with SMTP id 5b1f17b1804b1-4a02755fc4emr22925555e9.18.1790934587043; Fri, 02 Oct 2026 02:49:47 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com; h="ATskLddODyRAJJyazJb7McLmOvESzacKIamK4qpdQUsiKUGCVw==" Received: by 2002:a05:600c:19c6:b0:49f:ee7e:2b7f with SMTP id 5b1f17b1804b1-4a028516161ls5992435e9.0.-pod-prod-03-eu; Fri, 02 Oct 2026 02:49:45 -0700 (PDT) X-Forwarded-Encrypted: i=2; AKwUvBynUWGK3g8Tu84F09i2i9hOZ/tSFyjimAnWKMUhqUDjM9DRNQL1400ijLTWD5ekhnfQHNDe4v5sU0RgXWti@amarulasolutions.com X-Received: by 2002:a05:600c:3510:b0:499:9240:9a1c with SMTP id 5b1f17b1804b1-4a027559c6fmr42915265e9.15.1790934585387; Fri, 02 Oct 2026 02:49:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1790934585; cv=none; d=google.com; s=arc-20260327; b=PzR6fUWhQYJgiVnUBB0azcwYT9ZrOl7ZNf+KyEGjXg/i4dUmHVIydDscZTX2N1PCvZ +F1hph9RpF+lkG9hk2w60eUz6wQlq+ElZxQ6lIOYzzVYoQE98gq0nBTGrmhTP66o558G mvlAFo6hl1oPrd1Kb5EMdVKuDkkk88btX3hNgBxf5bbn61XXMuPIKeLttpWM1HH86dx0 S7ZOq0rz5na1B6IobBZqqeztLFsGuaZZb5hift691tvQjHqs6uicIVvghTKnelnH3dLm MVF+2Mi5HoeXx2vonWbC67Uyafraejmc7bugTpGo267A5OgXuZdL5A6i88zzeFwJrTyJ kMlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:dkim-signature; bh=17hXUf/wpq+x73auKkD+LetKx3d+qKZ9hCfZeZlNHuU=; fh=9QCBENFFdqVo/fJktFGwEZJteHnomkkchnjjWV6C2kg=; b=j9onA5P2ht+prpar2MfuRwnCdBYxcLFSEUzj6m+k97HvrZUqH5z1tVf8oQsZReSiMb lSMM9CIco1jPinBRxTgmC7zCAf8qpdVoYNS0yZ3X14W/Z77RSEYi4Iim+RJOFA7L2Z8h +h2ccja3Fotatx7S3muN2n4vCGl7R3NXbAbHnlTk1cAU5ssi/PQLIPWPoxdLH/1Umlye WPHoZDlfi0/a+RJhiyxi4tTyhWFszivg772n+sGilAKsfkVS1HsrH4GWkS2w5LDteaB+ nAqdNYDU7w/9CZ05H1HlX4qAHhaL4h+BccRGogfvRlfkMgRWvkXJqfIrUVq1OKBclQcF w8Cw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Sj9YxXsi; spf=pass (google.com: domain of roman@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=roman@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=neutral header.i=@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id 5b1f17b1804b1-4a0280d8a3csor1814055e9.14.2026.10.02.02.49.45 for (Google Transport Security); Fri, 02 Oct 2026 02:49:45 -0700 (PDT) Received-SPF: pass (google.com: domain of roman@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Forwarded-Encrypted: i=1; AKwUvBws2e6Qb2JJ0ymjGGmMQZ93MV51lgFD58oHOrq0YE5I3sHyDJWdI+pAi7KrKZmLDks0KvEqzwNRp7RHgq6p@amarulasolutions.com X-Gm-Gg: AYBFou0D0qpWhSHltYtHb5Hpi0KG+lSSfNrnHJ+hI+eheNDYvHx3lMaLNttW5BOArJW vlrlM5evNNOIaN6XY0Q/m8uTA+nBthEq0HtJ/romQsKoPK5WV5J6x9WnlfDa9h/Vk1kPnyUHAoO RbSU+vPPdCAcbQisjlAeQdPZEbtDvhj/1mVbGA40gdxcA8geWsjCUQBpbj+b008JW5dby9Mx6Ut 7GPgMfPvCMam8hsJUnWgdjt+N2rj4ZZ/Pf31OK5q7Xt/ePOrFgDIF8rYgbwk8C/CYQDoMXDT3Ju fUimKWh8Vhld8dfskWm7aQfLZuGQzYpH6ajfbmGM2Nj1dr21Rxud3Mqt/9ZxpL98KMtip1LjvZq H094hcVZXHIbE66tAR9idZ3oB1OQdCPYy7WqFrVvA1Y3CkzGgKpYlE7ZiFkpdFMZU/Z2GFqr6D6 +6uJXeS4S81jhPPStInM/Hz59RBiHNhxVsSU2MPEWYXQJx0uGsogdbUZqyU6aXRpqnlHO3TrK8v Lg= X-Received: by 2002:a05:600c:3144:b0:4a0:1c0e:b2a8 with SMTP id 5b1f17b1804b1-4a0275780d3mr35684945e9.28.1790934584855; Fri, 02 Oct 2026 02:49:44 -0700 (PDT) Received: from localhost ([93.90.163.238]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4a0280c8bb0sm73051165e9.11.2026.10.02.02.49.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Oct 2026 02:49:44 -0700 (PDT) From: =?utf-8?q?Roman_Smr=C5=BE?= Subject: [PATCH 0/5] ASoC: pcm179x: Add support for pcm1795 and pcm1796 Date: Fri, 02 Oct 2026 11:49:29 +0200 Message-Id: <20261002-work-v1-0-f0e53bc7331f@amarulasolutions.com> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAAAAAAAC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIzNDAwMj3fL8omxdcwPTNCODJDMDIwsTJaDSgqLUtMwKsDHRsRB+cWlSVmp yCUivUm0tALTQLfVoAAAA X-Change-ID: 20261002-work-705f20b60284 To: =?utf-8?q?Martin_Povi=C5=A1er?= , Lars-Peter Clausen , =?utf-8?q?Nuno_S=C3=A1?= , Peter Rosin , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shenghao Ding , Kevin Lu , Baojun Xu , Sen Wang , Jaroslav Kysela , Takashi Iwai Cc: patches@opensource.cirrus.com, linux-sound@vger.kernel.org, asahi@lists.linux.dev, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?q?Roman_Smr=C5=BE?= , linux-amarula@amarulasolutions.com, Michael Trimarchi X-Mailer: b4 0.15.2 X-Original-Sender: roman@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Sj9YxXsi; spf=pass (google.com: domain of roman@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=roman@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=neutral header.i=@amarulasolutions.com Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , This adds support for the PCM1795 and the PCM1796 to the pcm179x driver. The PCM1795 is register compatible with the PCM1792A, but it encodes two of the register 18 FMT[2:0] values differently, so the format encoding is described with a per-codec table instead of the width switches. Only the PCM1795 has real 32-bit formats; on the PCM1792A and the PCM1796 a 32-bit container keeps the 24-bit code, as it always has. Left-justified, which the driver accepted but never programmed, is added on the way. This series is based on a work done in 2016 by my collegue: https://lore.kernel.org/all/20160311232856.GC27257@panicking/ Signed-off-by: Roman Smrž --- Michael Trimarchi (2): ASoC: dt-bindings: Add ti,pcm1795 and ti,pcm1796 ASoC: pcm179x: Add support for pcm1975 Roman Smrž (3): ASoC: pcm179x: Refactor regmap value lookup ASoC: pcm179x: Add left-justified formats for pcm1792a ASoC: pcm179x: Add pcm1796 as compatible with pcm1792a .../devicetree/bindings/sound/trivial-codec.yaml | 2 + sound/soc/codecs/pcm179x-i2c.c | 2 + sound/soc/codecs/pcm179x-spi.c | 2 + sound/soc/codecs/pcm179x.c | 116 +++++++++++++++------ sound/soc/codecs/pcm179x.h | 12 ++- 5 files changed, 101 insertions(+), 33 deletions(-) --- base-commit: ce1e0223d8ad4211275c82a17ed6d43ab81e13d9 change-id: 20261002-work-705f20b60284 Best regards, -- Roman Smrž To unsubscribe from this group and stop receiving emails from it, send an email to linux-amarula+unsubscribe@amarulasolutions.com.