Received: by 2002:a05:7412:a9a3:b0:f9:327e:43ab with SMTP id o35csp67597rdh; Mon, 18 Dec 2023 04:44:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IHHeFrys5BWMG1aAXwTrrdu1BAS93nl79ItwEVdGUDoi4lQlqRK8TOlG7Saw9y5I25ARvat X-Received: by 2002:ad4:53c2:0:b0:67a:3506:afdf with SMTP id k2-20020ad453c2000000b0067a3506afdfmr11593225qvv.61.1702903493611; Mon, 18 Dec 2023 04:44:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702903493; cv=none; d=google.com; s=arc-20160816; b=VItrpU83kMWe48StYOsr6VJrDbnntUlg8x9+wXSnAveWAeb//9aPewFGsEthGpKTX8 rO8MWRSreqDmI4mjP8AcKRvb/nuQnxxwr4qoQRRFH1TYbpiHvwdL8etHv/7rwB56IzDB s+vn21OdcDY9pGB1u+0/e4dp4IA1v7JDWZSsRU6b+uD5o+6vuwPeoTwv0Quv1JZZFFcW EJIu3EfyXOs/SUYYn7Az8NboKroZeF+aBnEoyiZzFz0IRd+n8OvqFSEgc+47hiSuaKX8 LqUuUJh66NbFtRaDDJ7+mepBl4Zqb60REU+hJurMxb2QKeM4aw7XWbAaDj90nqrm1JDz zonQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature:dkim-filter; bh=qDza+013LR5YLHqPM6YnPsoEtdDkLVQiJ4ZqxAAikIw=; fh=tQDBYMLxw9pGRS61bl22/5Nh3Impw3/NQWSQ0aEjqug=; b=LpItuk0z834ZKWqnHjY2UHD8cw+fR47VnGVxfZyyNUqcwjhzCT5cy5SXgTHZ4N5j97 r/DyYCXqxoeOj4zAKVKKp4ivxnyxJRlAddKtqAL2IeC/ejcxD18pyS3+vwJMPPp8T2E3 c8t2wOF1691NhgcMz7QBgJSCRiX5uSNYmDlF2EYtP7c0smjb/1bpOxedtdRi6nXigd8b kZdnFGwtWKhG4XEC+IIEb+T/V81sw8XReumF+SRVlvCaj3q6h5ioTwEA4CtNvfavcUff 1y98lg103ZUsojKyw93q49YRbRiJBAzpYO+BwkJPjqvPcB3RtH6EyuY2EZqBHfsT/8/h 4kbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@savoirfairelinux.com header.s=DFC430D2-D198-11EC-948E-34200CB392D2 header.b=Rt8zNJB3; spf=pass (google.com: domain of linux-kernel+bounces-3595-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3595-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id u3-20020a0cdd03000000b0067f2b2b2468si4816761qvk.116.2023.12.18.04.44.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 04:44:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-3595-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@savoirfairelinux.com header.s=DFC430D2-D198-11EC-948E-34200CB392D2 header.b=Rt8zNJB3; spf=pass (google.com: domain of linux-kernel+bounces-3595-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3595-linux.lists.archive=gmail.com@vger.kernel.org" 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 5E79A1C23E0E for ; Mon, 18 Dec 2023 12:44:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9ACAA7EFA1; Mon, 18 Dec 2023 12:43:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=savoirfairelinux.com header.i=@savoirfairelinux.com header.b="Rt8zNJB3" X-Original-To: linux-kernel@vger.kernel.org Received: from mail.savoirfairelinux.com (mail.savoirfairelinux.com [208.88.110.44]) (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 88CE583F43; Mon, 18 Dec 2023 12:43:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=savoirfairelinux.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=savoirfairelinux.com Received: from localhost (localhost [127.0.0.1]) by mail.savoirfairelinux.com (Postfix) with ESMTP id B51119C4171; Mon, 18 Dec 2023 07:43:11 -0500 (EST) Received: from mail.savoirfairelinux.com ([127.0.0.1]) by localhost (mail.savoirfairelinux.com [127.0.0.1]) (amavis, port 10032) with ESMTP id jamzEq0JDc2f; Mon, 18 Dec 2023 07:43:11 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by mail.savoirfairelinux.com (Postfix) with ESMTP id 292149C416C; Mon, 18 Dec 2023 07:43:11 -0500 (EST) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.savoirfairelinux.com 292149C416C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=savoirfairelinux.com; s=DFC430D2-D198-11EC-948E-34200CB392D2; t=1702903391; bh=qDza+013LR5YLHqPM6YnPsoEtdDkLVQiJ4ZqxAAikIw=; h=From:To:Date:Message-Id:MIME-Version; b=Rt8zNJB3q/wN5XxFj9z7eAirDix+Bc5AbPs9An14Ol0WQq8AgH3em0oBBtTYMaTBH 0PqmUIenabz5PoekbB4o8h02REzLzfr7yUZ0Hb32pjm+zll2hEUU/yMLcjIMA94nVs YVM2OtUFCfJXvaCW6Ws/EHsBjRdazG5gX71T/rWsLWAIIsGcqbuTYmuWydtyNdFASg NBy53cI6MtB40/ISKJeBy4WpHKn5VncZOHeI+6SxTvQvWQRK7jh7EIu0qWirtM4ENl 8n4bXUTqvZThYnCqxjt+aYr89RI6WQ7L0lHW7IW4XhjlGrmAcLXM7rwnk+YDfijfls A4+lBcew9THNw== X-Virus-Scanned: amavis at mail.savoirfairelinux.com Received: from mail.savoirfairelinux.com ([127.0.0.1]) by localhost (mail.savoirfairelinux.com [127.0.0.1]) (amavis, port 10026) with ESMTP id U-2a40zU7fG6; Mon, 18 Dec 2023 07:43:11 -0500 (EST) Received: from gerard.rennes.sfl (unknown [192.168.216.3]) by mail.savoirfairelinux.com (Postfix) with ESMTPSA id 24E7A9C4169; Mon, 18 Dec 2023 07:43:09 -0500 (EST) From: Elinor Montmasson To: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shengjiu Wang , Xiubo Li , Fabio Estevam , Nicolin Chen , Jaroslav Kysela , Takashi Iwai Cc: linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, linuxppc-dev@lists.ozlabs.org, Elinor Montmasson , Philip-Dylan Subject: [PATCHv3 RESEND 07/10] ASoC: fsl-asoc-card: add dts property "cpu-slot-num" Date: Mon, 18 Dec 2023 13:40:55 +0100 Message-Id: <20231218124058.2047167-8-elinor.montmasson@savoirfairelinux.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231218124058.2047167-1-elinor.montmasson@savoirfairelinux.com> References: <20231218124058.2047167-1-elinor.montmasson@savoirfairelinux.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Add new optional dts property "cpu-slot-num", which allows setting a custom number of TDM slots for the CPU DAI when using the generic codec. Signed-off-by: Elinor Montmasson Co-authored-by: Philip-Dylan Gleonec --- sound/soc/fsl/fsl-asoc-card.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/fsl/fsl-asoc-card.c b/sound/soc/fsl/fsl-asoc-card.= c index 012c8d3666aa..6f6cc8bd3acd 100644 --- a/sound/soc/fsl/fsl-asoc-card.c +++ b/sound/soc/fsl/fsl-asoc-card.c @@ -746,6 +746,7 @@ static int fsl_asoc_card_probe(struct platform_device= *pdev) priv->dai_link[2].num_codecs =3D 2; priv->dai_fmt |=3D SND_SOC_DAIFMT_CBP_CFP; of_property_read_u32(np, "cpu-slot-width", &priv->cpu_priv.slot_width)= ; + of_property_read_u32(np, "cpu-slot-num", &priv->cpu_priv.slot_num); } else { dev_err(&pdev->dev, "unknown Device Tree compatible\n"); ret =3D -EINVAL; --=20 2.25.1