Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp2909430iog; Mon, 27 Jun 2022 05:34:07 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sqIdZCwjzr2JI7HpeOtSLDeIGLLFUGgWZ/UelIv+EjzqGAQOduXlMV18l87A/VQCnbJQVB X-Received: by 2002:a17:903:2c2:b0:168:e323:d471 with SMTP id s2-20020a17090302c200b00168e323d471mr13899667plk.147.1656333247515; Mon, 27 Jun 2022 05:34:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656333247; cv=none; d=google.com; s=arc-20160816; b=YAxFM19v1Cr3w3Fc+jG100nbrwkozoKVoYQld0Wb4JlcbX1VOKrKGrXckorRsaVUHj cM7hzGmSa5yrwX4aAkdyk81t9AcncHPTWYJP4rG2A2OlIfOUVlnUwbKARho9md/zFU2O TcYduVBzFGaYmfbrmjXNfaO0Il4AUnuQ9tJrAzx16GH6M2c6LyvUiaDQ+DJcWJEhPR3W lxX5PDyHReYFP9Hm1ZSuH/jEAo5AFmFyg+8S5W7P4OyoxOUTOXBuzJgBAYxZubr0LqPr 3vT5OGs6H3Yw9Jv2Rumgv9ikTr97M6xXXCCmfh8d4aSD456Xxyhw1umHU6i6gLfVyDPY /N0A== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=qx9wrY+W3L3l7+nvqNrzuSeH6dSgKP2ohNmj25nBPqI=; b=h3cfvFp7vraeljIfZw/7C/zhjqZVMeKOEIRmvKYl3HHF71CIAserD+CCnGIIhwCwCf sqq1jv3SjhBjdwzqD86AMmk75Gn7/U7AgIKCtrEMBJnBRbTL73bCiitUamYk6jwmgEXQ QZ0rKIpK3J6DAAnbw3x5FP/u83mSvLcpqyzyhCh40JQRmXFWAMKkk14vPa9jf032GO1z qfCWQDp3hGWk+ctY6GkqRpEjdKu5TohWqSryUrk+Rw/sYxelF5MOFRo4ifdHe7IdmQy6 efWEr34CRKzitn92GgXQUYdaB26romC8bhyl+g2YJq9De2HLx2PJiia2o0PwUK5YOeEY 402g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Cy8MMJx1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y18-20020a656c12000000b0040ce4de349csi15487356pgu.291.2022.06.27.05.33.54; Mon, 27 Jun 2022 05:34:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Cy8MMJx1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235745AbiF0Led (ORCPT + 99 others); Mon, 27 Jun 2022 07:34:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235989AbiF0LdB (ORCPT ); Mon, 27 Jun 2022 07:33:01 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 29FA5BCA9; Mon, 27 Jun 2022 04:30:03 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 89038B81120; Mon, 27 Jun 2022 11:30:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 017DEC3411D; Mon, 27 Jun 2022 11:29:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1656329400; bh=oS4JqcnqTMwkuhSqxF7Xow7fCFBCovJFEcg1qA2kNVE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Cy8MMJx1kBwNvWFBFynh2Ut8Gl49vS6VbfYwIJje7bmLDVwN9rqXZSpp58ms9xPEb HaEzptH8qooah0WnjdDQrzJ+/+FbfzSCCOV8syNhTiflu909RY4PFruez/ZJ99iwkG bBDkLYer91qXQtr4o53eWWppiTdGSh/bgxIamPD0= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Olivier Moysan , Fabrice Gasnier , Stable@vger.kernel.org, Jonathan Cameron Subject: [PATCH 5.4 44/60] iio: adc: stm32: fix maximum clock rate for stm32mp15x Date: Mon, 27 Jun 2022 13:21:55 +0200 Message-Id: <20220627111928.986365479@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220627111927.641837068@linuxfoundation.org> References: <20220627111927.641837068@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Olivier Moysan commit 990539486e7e311fb5dab1bf4d85d1a8973ae644 upstream. Change maximum STM32 ADC input clock rate to 36MHz, as specified in STM32MP15x datasheets. Fixes: d58c67d1d851 ("iio: adc: stm32-adc: add support for STM32MP1") Signed-off-by: Olivier Moysan Reviewed-by: Fabrice Gasnier Link: https://lore.kernel.org/r/20220609095234.375925-1-olivier.moysan@foss.st.com Cc: Signed-off-by: Jonathan Cameron Signed-off-by: Greg Kroah-Hartman --- drivers/iio/adc/stm32-adc-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/iio/adc/stm32-adc-core.c +++ b/drivers/iio/adc/stm32-adc-core.c @@ -815,7 +815,7 @@ static const struct stm32_adc_priv_cfg s static const struct stm32_adc_priv_cfg stm32mp1_adc_priv_cfg = { .regs = &stm32h7_adc_common_regs, .clk_sel = stm32h7_adc_clk_sel, - .max_clk_rate_hz = 40000000, + .max_clk_rate_hz = 36000000, .has_syscfg = HAS_VBOOSTER | HAS_ANASWVDD, .num_irqs = 2, };