| Message ID | 20261203-work-v3-3-e8a96f1c44e8@amarulasolutions.com |
|---|---|
| State | New |
| Headers |
Return-Path:
<linux-amarula+bncBC273XXSQICBBK63YTMAMGQEDCVSVVI@amarulasolutions.com>
X-Original-To: linux-amarula@patchwork.amarulasolutions.com
Delivered-To: linux-amarula@patchwork.amarulasolutions.com
Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com
[209.85.128.71])
by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 95C6340D70
for <linux-amarula@patchwork.amarulasolutions.com>;
Thu, 3 Dec 2026 09:51:56 +0100 (CET)
Received: by mail-wm1-f71.google.com with SMTP id
5b1f17b1804b1-4ad3d35e899sf114037295e9.1
for <linux-amarula@patchwork.amarulasolutions.com>;
Thu, 03 Dec 2026 00:51:56 -0800 (PST)
ARC-Seal: i=2; a=rsa-sha256; t=1796287916; cv=pass;
d=google.com; s=arc-20260327;
b=p1+IijZqi8naFQA66bgVRFg6f0oHGXc/ypJ59pQkM1+Eaq2mj/pVQUd2wHjBFrKrDQ
hHBiaHiXwU2A4YCl9bzJ+aqYra5ht7vDl3lVTA9T7qJM3TgZZkCIn2J5mzJyjscA3lrr
UZ6FV++LMtkP/SE/RvuRcuyPKnd9JLz/DqKTjx7vk7Q2fG2qZ+qStrAU/ju8tJK6PFW/
y4LjOPj0wxZ9SlIoDokjrDajL0wXXxZZDreqJwYqaaS2KmrMlS0WaWTSTwIS2DLIsVC2
HPD5GFxK3s3hR+jkXxNcIeyhkXtGNikFRucVlmfTklUXBzPLKjQDx8RMxXptR/UPZTCe
2QuA==
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:in-reply-to:references:message-id
:content-transfer-encoding:mime-version:subject:date:from
:dkim-signature;
bh=p1sfUYvCs0nolmW0KQeEf6pK0fdBqlWTMG/gfKQKcGs=;
fh=3VoU0loYKpJtYmS/s27EDnJ7+MK8/MMmldGOsXrR/Wk=;
b=PKWbH2r9iwO8wri2yPX+MOOaoXXDBx+GRFxRtfootMnq1y4wuLWcLNDJxT6d3ex+2Q
iX1jdgpPqKuwl3fSnZuECh9clV+66rovCo32RjEW83whpOa6U/7YLImItk/hCdBADV2D
7HYTS/cDIK9SUDvcPfJXdtQTCGe6CmqO+QMBD34658flVNJMxjIJDccFnY+PGQF91WI5
L/heRd2Sd9KpXEkUabDaw4ZTB54IXSmlkdQ+ngS4o9QUo0sYWIICvD+wSZgQ7j+Y2oii
pB4WGnIKwnffHOTJGhR5co0Rf2sBroBHCGLpqV9IPOseBJKEtsYpl76iwqaSBqk0KnuM
z/rA==;
darn=patchwork.amarulasolutions.com
ARC-Authentication-Results: i=2; mx.google.com;
dkim=pass header.i=@amarulasolutions.com header.s=google
header.b=F2aEuQH9;
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=1796287916; x=1796892716;
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:in-reply-to:references:message-id
:content-transfer-encoding:content-type:mime-version:subject:date
:from:from:to:cc:subject:date:message-id:reply-to:content-type;
bh=p1sfUYvCs0nolmW0KQeEf6pK0fdBqlWTMG/gfKQKcGs=;
b=aFSzyiunH8JEEg9t/gvrUH9rUYRcf9bQR5Saa/LgbBTW0mvqjadyC/p3u/wP5ZKGSp
3nCJTUJeB+HkxTRcur5qXmoFE3sgNCKOUVCS3mvQZ5qgGnzWGi2kO7HkO5Lo8EdvpDOm
+zbA1pzLqzJJ14dsyEAwl5JmFE+Pwly3YFfFA=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1796287916; x=1796892716;
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
:in-reply-to:references:message-id:content-transfer-encoding
:content-type:mime-version:subject:date:from:x-gm-gg:x-beenthere
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to
:content-type;
bh=p1sfUYvCs0nolmW0KQeEf6pK0fdBqlWTMG/gfKQKcGs=;
b=eg2WEbEa7BjIYxpo5jJihyrTBV/hXEKi6M9isEm1lfhcF+dyDQxWnCmEedbBEWVPv1
E8YPfFKPbrskPaRm82E/jDlzXvU973n0kaYM72pMr2DAAcSHD8uuJkKeltlAMroN+c+L
aqZSGEcLppohZOAiOWkFiWsh9EOAeaxYEEkaDbOBdt23oOZDTKva/MD5ypw0aiOMyD2i
pGzWrzoeUbxOXyQnU39mbJjJsXnBr6k2fc3M8NiKhF1P9qcw2GM/uJpMDIIe4X45Mb1W
hMr/aJH0D+K8ui4wqT+cPZcsrjsOzcHo9qcr/F/unTSRsZKVGcZansGuPH34jHVO1glH
/eWA==
X-Forwarded-Encrypted: i=2;
AL+hErHG9Ye0SImYazR7VfJ6q4RIBFPsNIfMTDyoCSKpl9f3BfIf4Sr0FKJ4fre40b630pIcANO74n48cuf/yTvG@patchwork.amarulasolutions.com
X-Gm-Message-State: APuU4Z8C1J5tFfvoqANGtWm3W6EoJV1Hi8el4Vev+qplLKSgfWnGlFL5
8A8r/XDNl4fv/kDRcaEJye4n6fGueyUqIvObUNrQfzYApc5ws/LwK9LNK7ffpv10l0WFIw==
X-Received: by 2002:a05:600c:5246:b0:4bb:6de4:2f7c with SMTP id
5b1f17b1804b1-4bb8881c5bdmr854284575e9.20.1796287916223;
Thu, 03 Dec 2026 00:51:56 -0800 (PST)
X-BeenThere: linux-amarula@amarulasolutions.com;
h="ATskLde4L2JH27epUWMf7b2oQNfsKr6d/9UonyJwosurzOSs+A=="
Received: by 2002:a05:600c:4f0d:b0:49b:91c2:4f05 with SMTP id
5b1f17b1804b1-4bb8926265fls139438275e9.1.-pod-prod-03-eu; Thu, 03 Dec 2026
00:51:55 -0800 (PST)
X-Forwarded-Encrypted: i=2;
AL+hErEXwT/yN/fVcs3z9mrltgOak8QE+JCJhxqjQbo078xJENAkMMofRjuqabXhivnJz+qZRpShtpX8krfeztvQ@amarulasolutions.com
X-Received: by 2002:a05:600c:8709:b0:4bb:d24b:91da with SMTP id
5b1f17b1804b1-4bbd24b94dbmr128938715e9.33.1796287914607;
Thu, 03 Dec 2026 00:51:54 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; t=1796287914; cv=none;
d=google.com; s=arc-20260327;
b=a7MM8HVMfX94wpBH7eRaQyqcdG+yRIm3uam3D33xVqSctNcwVMa1O0cxZWiJhA5TnW
1De312jVbUcgIKLU3KQ2+67ZovftccMDx43Pt09j55Xg3ZbGgCHWpAJLbqb1ySMU/kYF
5Y18W9RLMhg5e53ggqZ1yQu8lE5sb/QshRnSVPqlzLvGBmhTssOa7TlNySYsPQaswfwY
wFVn6wqmqMecgD4+xMCicXD1fmbZpNFLSqDUDCG/h5d0iPFMOSZrrYCglQQn3cojd9wC
p7cDi+0UcvhMO/0L0jiJOuUumLawScKu4zvJu8VoJLMyuhSsZVipXdd7rQoJuSBoQDfy
n7iw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
s=arc-20260327;
h=cc:to:in-reply-to:references:message-id:content-transfer-encoding
:mime-version:subject:date:from:dkim-signature;
bh=1fOmzXn3u9zo0sna15AzAfOlCU75reFcJrhzZETswUk=;
fh=t7geycfSwNft9XTqSg7ZY94W+F1I6FIs+SY0GJVxIBw=;
b=YFAhhnAnnHkNsGED245muqiBT663USqVQddsA7Qhn7lZGPShEYgvpcfUpXrk2Px0Vd
MnELHnpLhlVaqvEnjNjHIKyc4hXWK0vRnfsmYqDul2igLe4wcY5sKFNXHvES+YBcuMrW
pBCLDcmGDkamLPYYyqhlxC8x6btQ+bDRMO9QvwAm0pbK7kDlYge8k7GU0DQXuz0XnKI9
Pv2nOnjsniOhFoTjyP8AntuX3HwV1TjfhfLfB5YAHH2mZxPGLaInVpL/36rOBhoAm1NB
d8QIb+L4IHKxs9A4pYWIZQgHdydDKyUQrr2ggjuHsSaQgZIo828xr+tQELyilkdEVb15
PXmA==;
dara=google.com
ARC-Authentication-Results: i=1; mx.google.com;
dkim=pass header.i=@amarulasolutions.com header.s=google
header.b=F2aEuQH9;
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-4bb88483a56sor70198545e9.12.2026.12.03.00.51.54
for <linux-amarula@amarulasolutions.com>
(Google Transport Security);
Thu, 03 Dec 2026 00:51:54 -0800 (PST)
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;
AL+hErEA5ouyeGsZhxlxQtT4HlW8u0f2IItAKXdL0vgY3Mukq/iBHRVuGEmts4Fgyr/J9VhqeeHM4QPePcssYvOx@amarulasolutions.com
X-Gm-Gg: AZFdTZdQ+8i9GMDjFR5WA1wOwnZ8wyZtSLVBFwvFnQtU2zsg0yzoV+bE6oudttXBMVD
MDhd2N/GilwbMrgfIoYftkrsE/oTV5sHHwQKN00Tv6OaT9UO4YSaq2gWQd/IUetWlDRrqh+xJRp
feBZjOsqZxvE/oWTmIWXINbbd4k8rhvwr3yGQxnJQJTQYXOSM8DvsDhdrNZqQWYQc1x+VCGqwu0
2oKSvLHQpj9aJOOvb08pqI/kMYEJc+nga4HNJu0+z+YOMXjRatGZ58mjADG6fEaHctkrEzmXEgC
GvKYcACi1gzdUCHZ5UzqoIbc96g8muPFLMBdIBIzpcdc5vXMKPh1qWTAStQC/F9S2Iw0zaZ5p/0
jGeFKB1pW9uQYEC3a13c/0+XxiK6uia+PS0Orl9YN1qSfqU7mMq6+DVun9XYVOgmIM8INVwrUT7
hKNIWy3poHC/wPGUof2J+rRaoLi6MAYe/DEw/4AdDVFcS3AcnJ4sDR9qNPawv62rRiocUst6mte
gTm/ILeFWavd1kecQ54BELa0hbd1ph/lgaIZb+cAzMcZepv3JZsfmLFJRDNa0pIBAolv8D3ziyh
JiiWY8UlNUKedDky/zVM/JyTtY5d9j5DLr+RV+1MEmb1/+p3BjwXR/kXLaquZkopYZeLwG9dFYc
1AaoaXPSjLds=
X-Received: by 2002:a05:600c:3ba5:b0:4b0:a307:46f8 with SMTP id
5b1f17b1804b1-4bb8880f29bmr928502315e9.10.1796287914240;
Thu, 03 Dec 2026 00:51:54 -0800 (PST)
Received: from localhost
(dynamic-2a00-1028-8382-0206-0000-0000-0000-0a68.ipv6.o2.cz.
[2a00:1028:8382:206::a68])
by smtp.gmail.com with ESMTPSA id
5b1f17b1804b1-4bbe0055483sm59493485e9.6.2026.12.03.00.51.53
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Thu, 03 Dec 2026 00:51:53 -0800 (PST)
From: =?utf-8?q?Roman_Smr=C5=BE?= <roman@amarulasolutions.com>
Date: Thu, 03 Dec 2026 09:51:30 +0100
Subject: [PATCH v3 3/5] ASoC: pcm179x: Add left-justified formats for
pcm1792a
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Message-Id: <20261203-work-v3-3-e8a96f1c44e8@amarulasolutions.com>
References: <20261203-work-v3-0-e8a96f1c44e8@amarulasolutions.com>
In-Reply-To: <20261203-work-v3-0-e8a96f1c44e8@amarulasolutions.com>
To: Peter Rosin <peda@lysator.liu.se>,
=?utf-8?q?Martin_Povi=C5=A1er?= <povik+lin@cutebit.org>,
Lars-Peter Clausen <lars@metafoo.de>,
=?utf-8?q?Nuno_S=C3=A1?= <nuno.sa@analog.com>,
Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>,
Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>, Shenghao Ding <shenghao-ding@ti.com>,
Kevin Lu <kevin-lu@ti.com>, Baojun Xu <baojun.xu@ti.com>,
Sen Wang <sen@ti.com>, Jaroslav Kysela <perex@perex.cz>,
Takashi Iwai <tiwai@suse.com>
Cc: asahi@lists.linux.dev, linux-sound@vger.kernel.org,
patches@opensource.cirrus.com, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-amarula@amarulasolutions.com,
=?utf-8?q?Roman_Smr=C5=BE?= <roman@amarulasolutions.com>
X-Mailer: b4 0.16.0
X-Original-Sender: roman@amarulasolutions.com
X-Original-Authentication-Results: mx.google.com; dkim=pass
header.i=@amarulasolutions.com header.s=google header.b=F2aEuQH9;
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: <linux-amarula.amarulasolutions.com>
X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com
X-Google-Group-Id: 476853432473
List-Post:
<https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/post>,
<mailto:linux-amarula@amarulasolutions.com>
List-Help:
<https://support.google.com/a/amarulasolutions.com/bin/topic.py?topic=25838>,
<mailto:linux-amarula+help@amarulasolutions.com>
List-Archive:
<https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/>
List-Unsubscribe:
<mailto:googlegroups-manage+476853432473+unsubscribe@googlegroups.com>,
<https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/subscribe>
|
| Series |
ASoC: pcm179x: Add support for pcm1795 and pcm1796
|
|
Commit Message
Roman Smrž
Dec. 3, 2026, 8:51 a.m. UTC
The left-justified format is supported per the datasheet, but was
missing in the table.
Signed-off-by: Roman Smrž <roman@amarulasolutions.com>
---
sound/soc/codecs/pcm179x.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/sound/soc/codecs/pcm179x.c b/sound/soc/codecs/pcm179x.c index 31083b438b0d..559ecaa32f59 100644 --- a/sound/soc/codecs/pcm179x.c +++ b/sound/soc/codecs/pcm179x.c @@ -75,6 +75,8 @@ static const struct pcm179x_fmt_table pcm1792a_fmt[] = { { SND_SOC_DAIFMT_RIGHT_J, 16, 0 }, { SND_SOC_DAIFMT_RIGHT_J, 24, 2 }, { SND_SOC_DAIFMT_RIGHT_J, 32, 2 }, + { SND_SOC_DAIFMT_LEFT_J, 24, 3 }, + { SND_SOC_DAIFMT_LEFT_J, 32, 3 }, { SND_SOC_DAIFMT_I2S, 16, 4 }, { SND_SOC_DAIFMT_I2S, 24, 5 }, { SND_SOC_DAIFMT_I2S, 32, 5 }, @@ -144,6 +146,7 @@ static int pcm179x_hw_params(struct snd_pcm_substream *substream, static const u64 pcm179x_selectable_formats = SND_SOC_POSSIBLE_DAIFMT_I2S | + SND_SOC_POSSIBLE_DAIFMT_LEFT_J | SND_SOC_POSSIBLE_DAIFMT_RIGHT_J; static const struct snd_soc_dai_ops pcm179x_dai_ops = {