Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4226920pxj; Tue, 25 May 2021 03:15:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwp0MeVhnaDtkBqSqwrDEb+eglhXLdZiM9Ovog9RiDL0Uu6cPab2w27UK9hceEVzIJRw7qw X-Received: by 2002:a92:cecb:: with SMTP id z11mr18747942ilq.186.1621937730098; Tue, 25 May 2021 03:15:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621937730; cv=none; d=google.com; s=arc-20160816; b=poW9pGbjuRTsx08nI7gPvBn9koY+ZdkPJPo3zu2PZ1mtKXz3ESunUtvGQUr+deYWxU dAmH9N03myEaEtJCIlUbUdTaY99EMhVG8gnOAGY8/OlUG4QI3NDgQOwQb9JlOaNx1fTx t54s/kjQkavmGl8aU/6hqZFnF/EwQV8MvTHl9zSQ6GGCuRHhZNd4CoXyLi00mXJYhFbk KUCAJU5AvALAjuHiV1gHfgomgHSc9SMUT7Bd93mICatY0B5hGPdD9jTvXwV0G3jlBj2L xhekkS8Z3bDmtqBOeSPezGkJIrcDu3GAXwiiUOJMrRFBF4vfnfJ3KrI2M+N04UTt2tPy wGEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=d7UhS+W2FOwndxvIAkxfbMukXOAC9IY6MJrDQH8KHJg=; b=fg96199k0iZ0FbV4k2gMJTsfUCUOnj4Tcc8IyvahNMumECdppP+XDofxo09VjloqA+ pZ5ZAQSOz4M13vc0B3aRh6lrkc8/k5o0Nh50bz1bmTStazEGX2fvXfGYfb/Tgh+qJHAs sBOofSc8goUN1eBHxNhyLvSx9ErgYY5cIGEho+4vODXNtqOC1226M5v6enaE8uDhnRSq E/7Sl9mIjFdQjZBJBR5m7sUoGv7i+KaxeMpAF8nHiIdjv4JS8WlgsIFQHv1g1eGvJiyl 9Rp383xc4WIBgH8Lem2JyPQyyQGIu1/TdHrdomcj8zjLhsBYj2cMM4euvCX1yt1V4ftw c5qw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=qqJI3L+Q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l11si19088416jaj.50.2021.05.25.03.15.17; Tue, 25 May 2021 03:15:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=qqJI3L+Q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232291AbhEYJKJ (ORCPT + 99 others); Tue, 25 May 2021 05:10:09 -0400 Received: from mx0b-001ae601.pphosted.com ([67.231.152.168]:52640 "EHLO mx0b-001ae601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231429AbhEYJKH (ORCPT ); Tue, 25 May 2021 05:10:07 -0400 Received: from pps.filterd (m0077474.ppops.net [127.0.0.1]) by mx0b-001ae601.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 14P97Uaa008722; Tue, 25 May 2021 04:08:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cirrus.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=PODMain02222019; bh=d7UhS+W2FOwndxvIAkxfbMukXOAC9IY6MJrDQH8KHJg=; b=qqJI3L+QLRAkoDp3A06eki9kyouKaSqGQbuC2EvIbxE7AvBDIRZSGCz3i3KIYY69pmIz bGGF02gdYedb73zCF3K3QqvdIuArLTUwTdM7pH5Jw6tnABMVVuiCIZ8KBc3XrfIpSW2K MyLx46QK/386toNdP8kG5gIWSC84JJrCpwQKMevSGlJC7/YctRNBn8yvvC/nQfZTWJVh VSOwTMqSh4x+Nbxk6yvk34uVC228k2uh3lFv4L81CxF8RpfR5E7rQK0jtSEVmhdNsIjY Rck5jK5ZmETaWkug7b72/n72vvH8tyICpVOTnlNGAQ8b0llTx2Za9kP8hZisshYM7zr3 tw== Received: from ediex02.ad.cirrus.com ([87.246.76.36]) by mx0b-001ae601.pphosted.com with ESMTP id 38r28v1khv-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Tue, 25 May 2021 04:08:26 -0500 Received: from EDIEX01.ad.cirrus.com (198.61.84.80) by EDIEX02.ad.cirrus.com (198.61.84.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Tue, 25 May 2021 10:08:25 +0100 Received: from ediswmail.ad.cirrus.com (198.61.86.93) by EDIEX01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server id 15.1.2242.4 via Frontend Transport; Tue, 25 May 2021 10:08:25 +0100 Received: from aryzen.ad.cirrus.com (unknown [198.61.64.177]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id B044711D6; Tue, 25 May 2021 09:08:24 +0000 (UTC) From: Lucas Tanure To: James Schulman , David Rhodes , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai CC: , , , Lucas Tanure Subject: [PATCH 2/4] ASoC: cs42l42: Add support for 2304000 Bit clock Date: Tue, 25 May 2021 10:08:20 +0100 Message-ID: <20210525090822.64577-2-tanureal@opensource.cirrus.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210525090822.64577-1-tanureal@opensource.cirrus.com> References: <20210525090822.64577-1-tanureal@opensource.cirrus.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-ORIG-GUID: P-lrBFySrlD0Nq47y6Oneh72fiFUVmsw X-Proofpoint-GUID: P-lrBFySrlD0Nq47y6Oneh72fiFUVmsw X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 clxscore=1015 suspectscore=0 priorityscore=1501 malwarescore=0 spamscore=0 mlxscore=0 lowpriorityscore=0 mlxlogscore=999 bulkscore=0 impostorscore=0 adultscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000 definitions=main-2105250061 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add support for 24bits, 2 channels, 48k Sample rate bit clock Signed-off-by: Lucas Tanure --- sound/soc/codecs/cs42l42.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/codecs/cs42l42.c b/sound/soc/codecs/cs42l42.c index 94788a55fa3b..07223b5fb2d6 100644 --- a/sound/soc/codecs/cs42l42.c +++ b/sound/soc/codecs/cs42l42.c @@ -598,6 +598,7 @@ struct cs42l42_pll_params { */ static const struct cs42l42_pll_params pll_ratio_table[] = { { 1536000, 0, 1, 0x00, 0x7D, 0x000000, 0x03, 0x10, 12000000, 125, 2}, + { 2304000, 0, 1, 0x00, 0x55, 0xC00000, 0x02, 0x10, 12288000, 85, 2}, { 2822400, 0, 1, 0x00, 0x40, 0x000000, 0x03, 0x10, 11289600, 128, 1}, { 3000000, 0, 1, 0x00, 0x40, 0x000000, 0x03, 0x10, 12000000, 128, 1}, { 3072000, 0, 1, 0x00, 0x3E, 0x800000, 0x03, 0x10, 12000000, 125, 1}, -- 2.31.1