Received: by 2002:ab2:2994:0:b0:1ef:ca3e:3cd5 with SMTP id n20csp441353lqb; Thu, 14 Mar 2024 16:23:37 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVHXBy9kxQohAcxhDsSHwkg37wtkRE/141DpS0eMTHhFXczCnCt460+MJPPZpZdkuubtnGQl+zWTgty3zUWvY/cP6ihcVusT3D4049kNA== X-Google-Smtp-Source: AGHT+IFPJZq4gHWQfP3mq7F3hHAcc531dnjGyV7D90yoAljQw6Sa/LkgIXc31HOmlvShvdcK6uLt X-Received: by 2002:a05:6a20:bc9c:b0:1a1:1f7b:9b08 with SMTP id fx28-20020a056a20bc9c00b001a11f7b9b08mr3154897pzb.47.1710458616899; Thu, 14 Mar 2024 16:23:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710458616; cv=pass; d=google.com; s=arc-20160816; b=OIrAhfnNzoh3daZyJZ1tTX0c+ahLRicAidHVcF/q5Uo5+dCYvHOPOI46hb1CnQJnEm Knlh4rIwz357Vq8UouRglq6yq/CmR+zhRxk7d5kmilj50+DZ7Na/LREAb5/uTELN0qT4 bQ51bkqa7z4IXMIW3kHOEM8uexFJAB3V9xgxBdBL1dJG9DYqkspW/bzg9MO9hcESQ9rg Gv3UZs7+T1GoUfL0/VS+SqMSMfPDf8IL0UaVhN58tlmXVIoK7Z6syBFUtvn8AFzHp+lI JK9SGjVcZlQV/ipWGQc/o4cSesndMqq1+lKMZwbnpzJojsfGybHLdQjkEo1ft5GpPgIL SB8Q== ARC-Message-Signature: i=2; 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=JVEInx1VsQ+k5oHrMWuJJb1gmeD/iUbSkd2IAOMDuc8=; fh=6fazmJZ6RUBBUbcJPYiVlNgtHukOuuOcvF4KK/s3Fdc=; b=CpAQ1vAHSOT//1DlrfZovnQe3zhntXV5/ihrqcQnzA9NLmBrF6S2KyQQntvouAKRx7 PP7Jqvn97LpJgI/RGMF30E+d550vaxBbo+L7cy0AHSTSNkEYz2w1fpTB5nzgSJOKG8dz KhfqMSVTrkrNF30LkpHi8hZMPJCAlZxPgUO1YmetOMKWOINifo+r2AV944Vt7Cnsawvb RERcFkCFlyCjCKIoXENd0YRyi48iFI4BNCBVlDJyCnrIgk5LAjK3an78G6GZ25uRrHA6 FHn6IU0og+Vdub91ZV/vVf4SOVaBQVL0FNEQ5nE8Fif2YyyLSKaQqJIynDNFVT3C1zfL F5eA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@salutedevices.com header.s=mail header.b=Pnxk4JYQ; arc=pass (i=1 spf=pass spfdomain=sberdevices.ru dkim=pass dkdomain=salutedevices.com dmarc=pass fromdomain=salutedevices.com); spf=pass (google.com: domain of linux-kernel+bounces-103864-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-103864-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=salutedevices.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id v14-20020a170903238e00b001def031e74bsi41086plh.37.2024.03.14.16.23.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Mar 2024 16:23:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-103864-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@salutedevices.com header.s=mail header.b=Pnxk4JYQ; arc=pass (i=1 spf=pass spfdomain=sberdevices.ru dkim=pass dkdomain=salutedevices.com dmarc=pass fromdomain=salutedevices.com); spf=pass (google.com: domain of linux-kernel+bounces-103864-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-103864-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=salutedevices.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 91B992828FB for ; Thu, 14 Mar 2024 23:23:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C22CC14AB4; Thu, 14 Mar 2024 23:23:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=salutedevices.com header.i=@salutedevices.com header.b="Pnxk4JYQ" Received: from mx1.sberdevices.ru (mx2.sberdevices.ru [45.89.224.132]) (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 0B311F9FE; Thu, 14 Mar 2024 23:23:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.89.224.132 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710458586; cv=none; b=bEoGfXO1HMXzlkHlL0QFHysRbubJL/iYR2MOMOoeeMJQVKgsS/egAf0TLvkSK5cMweYiApDTbQ7qPRin+vw9YHjIFgXEwnnt88dp1kfdxDVNjjTQzr8mQZFRbZqUWycyrH/URYlQsouQiIoroJT1tnZ36dwIOfig8LyIRkn2cRk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710458586; c=relaxed/simple; bh=IzEKonS3Rk9mP1viG+w4DpVU37kIVPLD3KQHL9qY338=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=cKPwsMsy1eCl4QyEV+LORnySUY1H7ZziiXAZviS/UXASuHMBXXNm2YWyy9X/XBYOx+qGCgX3Zs5/40dzz0m2K6zewWRsDcotWE982hFy3+WrWjAJ1pssRIftt67F1wrEflMIE//ONsx66/Fgnc4DLlmDXW3OrOiYMCBMkbI+aUg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=salutedevices.com; spf=pass smtp.mailfrom=sberdevices.ru; dkim=pass (2048-bit key) header.d=salutedevices.com header.i=@salutedevices.com header.b=Pnxk4JYQ; arc=none smtp.client-ip=45.89.224.132 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=salutedevices.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sberdevices.ru Received: from p-infra-ksmg-sc-msk02 (localhost [127.0.0.1]) by mx1.sberdevices.ru (Postfix) with ESMTP id BFF02120005; Fri, 15 Mar 2024 02:23:00 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.sberdevices.ru BFF02120005 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=salutedevices.com; s=mail; t=1710458580; bh=JVEInx1VsQ+k5oHrMWuJJb1gmeD/iUbSkd2IAOMDuc8=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:From; b=Pnxk4JYQBKVCYVvRS/2Brp3Ukypy7RKzgprVi0yh+stIP98DPYmv5GriGrKlsewzg 3eXevzf8rSqB2LMWKc+LISmVwiqWdNiDdr+EfgZKhADZPTmuFZnHH4IzAdxe4bTaHD 4YlOa3nz4MC9X2xzM5xvSihLRVnjnNGnIPSpniXSG1N35YIqAskEkbcRjr9Q7MMIRw nM3xaSeEKQgnG8lWaNUvWoEYd+fLsZUfLjRZ/T6inuQfXk5pcY9e9L6TUkEg+QX/w0 vMStx9edszET+iCpoomFrDZh3fz96XwHjIMKdVHDZ1kd0/Ks1ZzRyNWb0PiH/rJTJU IjJsqsBvZNY9Q== Received: from smtp.sberdevices.ru (p-i-exch-sc-m02.sberdevices.ru [172.16.192.103]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.sberdevices.ru (Postfix) with ESMTPS; Fri, 15 Mar 2024 02:23:00 +0300 (MSK) Received: from CAB-WSD-0003115.sberdevices.ru (100.64.160.123) by p-i-exch-sc-m02.sberdevices.ru (172.16.192.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Fri, 15 Mar 2024 02:23:00 +0300 From: Jan Dakinevich To: Jan Dakinevich , Neil Armstrong , Jerome Brunet , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Philipp Zabel , Kevin Hilman , Martin Blumenstingl , Liam Girdwood , Mark Brown , Linus Walleij , Jaroslav Kysela , Takashi Iwai , , , , , , , , CC: Subject: [PATCH 01/25] clk: meson: a1: restrict an amount of 'hifi_pll' params Date: Fri, 15 Mar 2024 02:21:37 +0300 Message-ID: <20240314232201.2102178-2-jan.dakinevich@salutedevices.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240314232201.2102178-1-jan.dakinevich@salutedevices.com> References: <20240314232201.2102178-1-jan.dakinevich@salutedevices.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: p-i-exch-sc-m01.sberdevices.ru (172.16.192.107) To p-i-exch-sc-m02.sberdevices.ru (172.16.192.103) X-KSMG-Rule-ID: 10 X-KSMG-Message-Action: clean X-KSMG-AntiSpam-Lua-Profiles: 183875 [Feb 29 2024] X-KSMG-AntiSpam-Version: 6.1.0.3 X-KSMG-AntiSpam-Envelope-From: YVDakinevich@sberdevices.ru X-KSMG-AntiSpam-Rate: 0 X-KSMG-AntiSpam-Status: not_detected X-KSMG-AntiSpam-Method: none X-KSMG-AntiSpam-Auth: dkim=none X-KSMG-AntiSpam-Info: LuaCore: 7 0.3.7 6d6bf5bd8eea7373134f756a2fd73e9456bb7d1a, {Tracking_smtp_not_equal_from}, FromAlignment: n, {Tracking_smtp_domain_mismatch}, {Tracking_smtp_domain_2level_mismatch}, {Tracking_sender_alignment_int}, ApMailHostAddress: 100.64.160.123 X-MS-Exchange-Organization-SCL: -1 X-KSMG-AntiSpam-Interceptor-Info: scan successful X-KSMG-AntiPhishing: Clean X-KSMG-LinksScanning: Clean X-KSMG-AntiVirus: Kaspersky Secure Mail Gateway, version 2.0.1.6960, bases: 2024/02/29 19:21:00 #23899999 X-KSMG-AntiVirus-Status: Clean, skipped Existing values were insufficient to produce accurate clock for audio devices. New values are safe and most suitable to produce 48000Hz sample rate. Signed-off-by: Jan Dakinevich --- drivers/clk/meson/a1-pll.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/clk/meson/a1-pll.c b/drivers/clk/meson/a1-pll.c index 4325e8a6a3ef..00e06d03445b 100644 --- a/drivers/clk/meson/a1-pll.c +++ b/drivers/clk/meson/a1-pll.c @@ -74,9 +74,9 @@ static struct clk_regmap fixed_pll = { }, }; -static const struct pll_mult_range hifi_pll_mult_range = { - .min = 32, - .max = 64, +static const struct pll_params_table hifi_pll_params_table[] = { + PLL_PARAMS(128, 5), + { }, }; static const struct reg_sequence hifi_init_regs[] = { @@ -124,7 +124,7 @@ static struct clk_regmap hifi_pll = { .shift = 6, .width = 1, }, - .range = &hifi_pll_mult_range, + .table = hifi_pll_params_table, .init_regs = hifi_init_regs, .init_count = ARRAY_SIZE(hifi_init_regs), }, -- 2.34.1