From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) (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 A9DD74756BA for ; Fri, 16 Oct 2026 10:34:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792146861; cv=none; b=AN4zS1HKpe6MuCeYQgzM9LekGdVOzrkCCroIuv+Shcoo9q44aNMp+wM/QLynv8vA+UBdiNuWJSWopfy9C5j75YF+X6cyJlcR9ZCxdfbYRISXE1K1psOVNxFDe+Rf8fOaE72LMNb551aWosEsYWTMNSbSZLnjAFoQkXQ6LmVnPgQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792146861; c=relaxed/simple; bh=Lsm2KbIv18HV4RCeIQXLw9roJ3XTgsVSD2Ch+2dPVdA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=hFIi9QeWmaY8qHgh+HeGhgcGqm/hbafNTS5w1o7+hs5UN+Nyc8Wi7RAGxTO3bdiJGNqvlFQT6d1bEt5q/Nt4BgD/YkInESaQjg5jc3PnFYkqpMCtQEmZB0mChLR4FTycbTiuW3l73wLbdYVCq3Z2/yr6G4tDWltLRlgtMpS4S0Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com; spf=pass smtp.mailfrom=amarulasolutions.com; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b=l2IBIhns; arc=none smtp.client-ip=209.85.221.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=amarulasolutions.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="l2IBIhns" Received: by mail-wr1-f41.google.com with SMTP id ffacd0b85a97d-48dd33a7bd4so1764357f8f.3 for ; Fri, 16 Oct 2026 03:34:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1792146858; x=1792751658; darn=vger.kernel.org; h=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=PuytrU8KqiyHK1tk1s97o+LClKH4kGJgltp1buUdAgk=; b=l2IBIhnsEQXOcG1EaKLZG6TpOcSjNq0y1SPPxdVZbU8Skv9W59zhDKJCqocXYmMGb1 RpcqmrUpyRLAJCoGqkFil/1JTuk+L6DZQ2rsDxrkGOZvxwN3U2NpJhQy5sRoUq3PuV8o UrpUWKpVraeCGdcEmX4CLLMkDtxDTWppb3vG4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1792146858; x=1792751658; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=PuytrU8KqiyHK1tk1s97o+LClKH4kGJgltp1buUdAgk=; b=gyiwXgk0CeqSglTjGc+gPkgzaTiXGcs1ew13tQvNCM05jzYkBhtL/sHWgHweHHve8c yHOmM2zN4XXkEEMlW3OpwNnWvTjXVXDHrE+GKyoyIvr+A2BS0C08mnJnyor3t+wE+hbf VZ/sqIXwD9/FplHzZPLC1XWQtON7mQVYA5sRxsXfWY3sdh6/na7lR9JngqIhRnyvN5gT Z6oEqga8z26+UIRjgqOHDLdn7kl8cxHtW9rSwP5Xj1AbdEadZMo2ys7VtyBu8HLFkVDc bgq7vuGUMzrn2TbrDRkuIyAWdu+bwb6egaWmbeZiiGp5dvvAPad8Rpx2o6FK3QqVYGP/ eXEw== X-Forwarded-Encrypted: i=1; AKwUvBw1edRxdsv+LCRBy3sN6dMAljntTldFWIy1j758/BAUW1TjLZVGsaWVcst47orlSt+pYeESnLEFPrBk@vger.kernel.org X-Gm-Message-State: AFq9FYJQEHQFe9b54tQAOqiJ8StUoRebOBVKHPpHcZu1DIPh5e3Q3KPa pIljuq9WsOMibaAqCJPFeh4txgHbHtgccKpigovo3BZRDDv5j7MHaZip30nJO9qa7P0= X-Gm-Gg: AYBFou2ae7iXcYRsLcY8XyxhUMH0BlgeGaEeqS5U3q0JNL/4kWQPvcVUaFkOhuPsIGP UpUDQ0kb7LEhm9HK2bO+GMzC2bRAa5hqIdmSUfnGyUgkKegJbHB1z4ibe7Bhq3nHA3E/KXjUn7L spL3sNA4WKdxACUJ06eG4QQYEuYI7AIkC02HKYrrS06fyJZ5EKeUnmarCELBWKUMaQVVwZNUDkM 4OwT3j8iydmk/QcDQnLBkMvIVb6U/l6Tj41kffGHB28WIVxyn7dlqXmxUY4Oq9DcW4iVl3HvmGK F/BTYXiI+QCWE4phOl6o2aymB1q3xW/PKtctT9iI0Cx64Wi98/2e/6oCaCR4InikVwDzKAWcSII 1/kS/ZKdj4P8WQPs9xDl30HwTOLzz5Vp6p6k/9GgM33Y339o+Pe+69OBK6DFBK9MiAoAThazVqT woLfGidbl/TbqFZBXUKkOGdormFWGtoPRCL+plEFSYWlRvKohd/Bjo+QjcsftXDvbUV0H6IzDQx Hsn7nG5u3GrIdAHLUtRFbtQ3UGHYlpwHsWryB7djfktfS1QWJf77/Ol X-Received: by 2002:a05:6000:1868:b0:487:27f9:834 with SMTP id ffacd0b85a97d-48df014fbe2mr15102029f8f.41.1792146857960; Fri, 16 Oct 2026 03:34:17 -0700 (PDT) Received: from localhost (dynamic-2a00-1028-8382-0206-0000-0000-0000-0bc0.ipv6.o2.cz. [2a00:1028:8382:206::bc0]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-48dfd510d60sm4024272f8f.58.2026.10.16.03.34.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Oct 2026 03:34:17 -0700 (PDT) From: =?utf-8?q?Roman_Smr=C5=BE?= Date: Fri, 16 Oct 2026 12:33:56 +0200 Subject: [PATCH v2 3/5] ASoC: pcm179x: Add left-justified formats for pcm1792a Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20261016-work-v2-3-9340b9555fbb@amarulasolutions.com> References: <20261016-work-v2-0-9340b9555fbb@amarulasolutions.com> In-Reply-To: <20261016-work-v2-0-9340b9555fbb@amarulasolutions.com> To: Peter Rosin , =?utf-8?q?Martin_Povi=C5=A1er?= , Lars-Peter Clausen , =?utf-8?q?Nuno_S=C3=A1?= , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shenghao Ding , Kevin Lu , Baojun Xu , Sen Wang , Jaroslav Kysela , Takashi Iwai 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?= X-Mailer: b4 0.16.0 The left-justified format is supported per the datasheet, but was missing in the table. Signed-off-by: Roman Smrž --- 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 61b87dab3266..fae5de318b6e 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 = { -- 2.55.0