From patchwork Thu Nov 11 15:22:49 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Trimarchi X-Patchwork-Id: 1742 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 19D043F07B for ; Thu, 11 Nov 2021 16:23:04 +0100 (CET) Received: by mail-wr1-f70.google.com with SMTP id q17-20020adff791000000b00183e734ba48sf1065034wrp.8 for ; Thu, 11 Nov 2021 07:23:04 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1636644183; cv=pass; d=google.com; s=arc-20160816; b=qbtSJLN0b1piLGa6X0O8Z1wP03gxJHtayaFbthS0b9aw1WCKC/BRu7rH+uAFWBLIcE 4U29E0uvoI2VSxp3dcTbcI6+AwJng3/of6QvCQMMLQbMZSZymXEd3o6p7abGwWOawYdK PXfwT4gS8uKKejfBLCNI0N2fVqXf1p6EyaNSnujdpufU1ApUb5eh+UEbbJ+1MF97uTGg sMQrs3OyJz9rDMB7Nw1shWvcfmr5MtAIYq01pXCAchxaADFUJf++EQsx4oiYn8NK3yTj d1xf1B9XTnFb5pOYEeEXSQVcfkkBE4U8+T8j8XLEgg0GhgfBsu5Qk5gjPUKUop/Au/Mr loDQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=dJGwW3VBknuY/4ZS/1PAfWU8h0RPGAgV9KcCzFkcVC8=; b=ojPus9B9fItYEO36puD431otaPr19wZRGTf6cck6K+T60WIdvJw+41g464XdqZ8XeP QhzmAiPlwOslQoSy2jZ76Hjv2OiK46PLR2ORJ05jDNDQYjqGaT9FT3EQlB1E3PumSHAA VfTQ9eTwV3p6VwcfC6wdViwKg9D9HVS+6sP+ctN3k68VCZQ+y+6XqAh4hkjjvRr/Rpsf EeWdBUn1/egYDiZMCtZnKRx62Ar4mNseGpAoez2wS/IO3qWN904aRrbKMjJehaiEFCJh mLJVIBypv1l8gyDmoaDjvIh5+R1xEEhidafug6OTirpHcrZ1MZGgOpi3DmwxlrfqgQrO hjpQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="p/mXwthC"; spf=pass (google.com: domain of michael@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=michael@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=dJGwW3VBknuY/4ZS/1PAfWU8h0RPGAgV9KcCzFkcVC8=; b=M94kRXHCOpTe7Fqco3NGQXe7TNub5+QxuAlLigr8Xi20A7BzPiRS+sWeEIeNpXKgNW 3TnLbaJyXqyXieU5X1nPplFMjwwZNtP/tUXajKmtpD6rardHiSwD8pFr75G3XX0HuRz6 fFFJJn52zOKxHqQNjFjL8h/hWsRm0ujteQQ5o= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=dJGwW3VBknuY/4ZS/1PAfWU8h0RPGAgV9KcCzFkcVC8=; b=JaCzhDjEW0k7aVb/wzsJMYTCDIK9jqd1qCdgfoXBH/mDVmqmSdNbC5ZHPTBbe75p8T kfF/N+uoaKQAJu0cdAwU8IZkescTC88AfzrGPZf8lHqdStW6njwa9MDe3rSA8N7FWvEJ WrCcm+635JPn+Oz4emXd9vEklEMk82aJl20wpu7a5AiZbdJj7pTzLHnbZSBrL1XpoYwS Y8KVeNtYLSdngrOlQbOQkbOhy88Grj1Jab5dEd3tSszFzJNwGQuVG+yEn6H30PMRymV9 WxFigyLpvjINUiefb1F0NlSWetjBB1zpObugbxUws4cWAcPlfvfoCbzqsgOo6A0qrN01 6l+w== X-Gm-Message-State: AOAM530yaPFnDDbG/nRrg8ZgHtt2ItRZp52nonJkBXRmDFjo8PofI5UC zcyXR0y90sFbIBet1KEh5WzmY+Lu X-Google-Smtp-Source: ABdhPJyYi3s4Z3HXx02jBypb1U9jjW51w4jkA0ysvv2zHogZHeRrRVnghAC5uaMmXIpy87jKcXRajw== X-Received: by 2002:a5d:680b:: with SMTP id w11mr9827626wru.345.1636644183781; Thu, 11 Nov 2021 07:23:03 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a5d:4092:: with SMTP id o18ls2187519wrp.1.gmail; Thu, 11 Nov 2021 07:23:02 -0800 (PST) X-Received: by 2002:a05:6000:1868:: with SMTP id d8mr9550155wri.285.1636644182787; Thu, 11 Nov 2021 07:23:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636644182; cv=none; d=google.com; s=arc-20160816; b=N+X7jQEvaZ0kpIW1IRGoZvlEAkTbgPN1jWsMD/zKVEY4M0p2kFxA3Xthk+3TGs18j6 8JOSME8ZEwypB7RnBgGf1DsJYVNxIhp72bXDDyQPv7Jb2G1oul0Q8OpTQHvut27V1dBN FlOi7kD8SD/OeZmg2iOv4kb+FthW0dEXEuI2Qfri5sUbCYWJkAm8gzWlYQ5Z1pxfhtUz TI66leGcSJy+g/NQtX645nKpIppslz95fDm1KwI0S95WHKEAK7s6yMwC9w0ufDvI32ib 22KayAx+XKmNSvEvOHl3lPwNL4OORC+tdv2cpDV1rgkhr9Ym9vbLk6yNRaL5nUfRRimI +JMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=d5uDcfWb9i0bf5/Bus/K1aJkyvR2P/nqkCsiQDRHFvs=; b=Hvk3KuM+nPDsdkFjct1jQrc/Q9D0LVr0udFwy6flIB7kCsx6c8aXKkIWl6TRXeeOLE GLMOT/yY1ofWn3KuZRw5/3Smhv6hd0FprKTqTIY9YmwO+/pgdOIwbmRfZL9mSckXVajy nWvYLGJzCt5fiQMdlq+phVxQZzyFT+w5s8aH4OMhwBsCQR4QY8bRQRdzJvuwrpAIMdTJ PaH6l0r7RT/dQgu8R8I01nuRi5xrqUFuVWp/bX9pV6bQeXrtO3UcNn5GKUNjtwCPyMjz TOUmjFL1aSTBbnydYvBGcndjgouNXAmbgCfFVnjRDrLMEk1t+zMeJk5uihrllDRha5BR 6Qxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="p/mXwthC"; spf=pass (google.com: domain of michael@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=michael@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 d8sor2244229wri.16.2021.11.11.07.23.02 for (Google Transport Security); Thu, 11 Nov 2021 07:23:02 -0800 (PST) Received-SPF: pass (google.com: domain of michael@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a05:6000:2a2:: with SMTP id l2mr9503502wry.110.1636644182485; Thu, 11 Nov 2021 07:23:02 -0800 (PST) Received: from panicking.pdxnet.pdxeng.ch ([5.171.215.77]) by smtp.gmail.com with ESMTPSA id f3sm8973683wmb.12.2021.11.11.07.23.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Nov 2021 07:23:01 -0800 (PST) From: Michael Trimarchi To: Ariel D'Alessandro Cc: linux-amarula@amarulasolutions.com, Anthony Brandon Subject: [PATCH 02/11] sound: soc: tlv320aic31xx: add rate divs for 12288000Hz Date: Thu, 11 Nov 2021 16:22:49 +0100 Message-Id: <20211111152258.26131-2-michael@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211111152258.26131-1-michael@amarulasolutions.com> References: <20211111152258.26131-1-michael@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: michael@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="p/mXwthC"; spf=pass (google.com: domain of michael@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=michael@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" 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: , From: Anthony Brandon Signed-off-by: Anthony Brandon --- sound/soc/codecs/tlv320aic31xx.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/sound/soc/codecs/tlv320aic31xx.c b/sound/soc/codecs/tlv320aic31xx.c index 52d2c968b5c0..6b54811be1ca 100644 --- a/sound/soc/codecs/tlv320aic31xx.c +++ b/sound/soc/codecs/tlv320aic31xx.c @@ -196,46 +196,57 @@ static const struct aic31xx_rate_divs aic31xx_divs[] = { /* 8k rate */ {12000000, 8000, 8, 1920, 128, 48, 2, 128, 48, 2}, {12000000, 8000, 8, 1920, 128, 32, 3, 128, 32, 3}, + {12288000, 8000, 8, 0, 128, 48, 2, 128, 48, 2}, {12500000, 8000, 7, 8643, 128, 48, 2, 128, 48, 2}, /* 11.025k rate */ {12000000, 11025, 7, 5264, 128, 32, 2, 128, 32, 2}, {12000000, 11025, 8, 4672, 128, 24, 3, 128, 24, 3}, + {12288000, 11025, 7, 3500, 128, 32, 2, 128, 32, 2}, {12500000, 11025, 7, 2253, 128, 32, 2, 128, 32, 2}, /* 16k rate */ {12000000, 16000, 8, 1920, 128, 24, 2, 128, 24, 2}, {12000000, 16000, 8, 1920, 128, 16, 3, 128, 16, 3}, + {12288000, 16000, 8, 0, 128, 24, 2, 128, 24, 2}, {12500000, 16000, 7, 8643, 128, 24, 2, 128, 24, 2}, /* 22.05k rate */ {12000000, 22050, 7, 5264, 128, 16, 2, 128, 16, 2}, {12000000, 22050, 8, 4672, 128, 12, 3, 128, 12, 3}, + {12288000, 22050, 7, 3500, 128, 16, 2, 128, 16, 2}, {12500000, 22050, 7, 2253, 128, 16, 2, 128, 16, 2}, /* 32k rate */ {12000000, 32000, 8, 1920, 128, 12, 2, 128, 12, 2}, {12000000, 32000, 8, 1920, 128, 8, 3, 128, 8, 3}, + {12288000, 32000, 8, 0, 128, 12, 2, 128, 12, 2}, {12500000, 32000, 7, 8643, 128, 12, 2, 128, 12, 2}, /* 44.1k rate */ {12000000, 44100, 7, 5264, 128, 8, 2, 128, 8, 2}, {12000000, 44100, 8, 4672, 128, 6, 3, 128, 6, 3}, + {12288000, 44100, 7, 3500, 128, 8, 2, 128, 8, 2}, {12500000, 44100, 7, 2253, 128, 8, 2, 128, 8, 2}, /* 48k rate */ {12000000, 48000, 8, 1920, 128, 8, 2, 128, 8, 2}, {12000000, 48000, 7, 6800, 96, 5, 4, 96, 5, 4}, + {12288000, 48000, 8, 0, 128, 8, 2, 128, 8, 2}, {12500000, 48000, 7, 8643, 128, 8, 2, 128, 8, 2}, /* 88.2k rate */ {12000000, 88200, 7, 5264, 64, 8, 2, 64, 8, 2}, {12000000, 88200, 8, 4672, 64, 6, 3, 64, 6, 3}, + {12288000, 88200, 7, 3500, 64, 8, 2, 64, 8, 2}, {12500000, 88200, 7, 2253, 64, 8, 2, 64, 8, 2}, /* 96k rate */ {12000000, 96000, 8, 1920, 64, 8, 2, 64, 8, 2}, {12000000, 96000, 7, 6800, 48, 5, 4, 48, 5, 4}, + {12288000, 96000, 8, 0, 64, 8, 2, 64, 8, 2}, {12500000, 96000, 7, 8643, 64, 8, 2, 64, 8, 2}, /* 176.4k rate */ {12000000, 176400, 7, 5264, 32, 8, 2, 32, 8, 2}, {12000000, 176400, 8, 4672, 32, 6, 3, 32, 6, 3}, + {12288000, 176400, 7, 3500, 32, 8, 2, 32, 8, 2}, {12500000, 176400, 7, 2253, 32, 8, 2, 32, 8, 2}, /* 192k rate */ {12000000, 192000, 8, 1920, 32, 8, 2, 32, 8, 2}, {12000000, 192000, 7, 6800, 24, 5, 4, 24, 5, 4}, + {12288000, 192000, 8, 0, 32, 8, 2, 32, 8, 2}, {12500000, 192000, 7, 8643, 32, 8, 2, 32, 8, 2}, };