Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp2907079iog; Mon, 27 Jun 2022 05:31:46 -0700 (PDT) X-Google-Smtp-Source: AGRyM1s6SXpB1O/AYY5Vs3w4qoF4UwF7VS7sjOB/FvesSjVHN25TB7tB1ljTjw/wPZHBhfzxPKS+ X-Received: by 2002:a05:6402:294c:b0:435:2155:fbe8 with SMTP id ed12-20020a056402294c00b004352155fbe8mr16654195edb.256.1656333106583; Mon, 27 Jun 2022 05:31:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656333106; cv=none; d=google.com; s=arc-20160816; b=iM27zPFJ7nP36eKZePi6j1k/4rzBBJhzJOstPfVS05SqEzg7326/lvEfNx25Dh3SG5 dvzxs+Aw/lD0yoTrVdg68X5s82yo+oNsYnhxiAAvksPP7sfRgZ9xLUYDaQaO3q/B2/Qe RgG78opMbh2tBx4a3XaLqONr0s2700WpT1aVdQSNcsBgeORtf2M91a7jRLIu85gk8anp +Ghw/iu7sD7k/O8yOmnzKFmx6zSUjH/rwlvck7jyhpawFG0llvoLt7fhDRux4fWdnAId vQ18mkYFAUSOAu7vMDfaLev8oeC3bvh3TkYx+ERUwgEwJ8yrN4w7xorSN+LjUawL6uph kTPA== 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=TW1HQ9kB+yPH0POjMbticGSMp+EfgIa/b85wrGlFMvc=; b=Qxd5qTEbUsuMgdxAJJq5dcFYQVpVeC0cHm7LvbIKD9IvWubKUrujJPT95Nl7oALFZ9 TeFm+G199i/Teb1KntihxslFLUgww5NyMqn7/+8KJQydv9xq7oMpbc/ztPAjYBezFOwB EfXwqMCFvjrTH3dl1qKJM8zMC4SMuK47jjKFn6wGd8LGD7lQEPiUTsFFiJHVcnHZ2oQh LPh72y0YXIc6VNQu4G/WDt9Hm5wkxBMMNXMiSyCgdG86IP93ikQ1a93/8d9y+GXDcs18 9QOOGgD3d6lkhCzkPy0Y/yFzSfBPmopChONAmhlAdwWx1nlwBDa7xSKff/Xh8pbn4Y77 BRuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=PLVz4ZR9; 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 11-20020a508e4b000000b0041e0cd418dasi12282979edx.115.2022.06.27.05.31.20; Mon, 27 Jun 2022 05:31:46 -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=PLVz4ZR9; 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 S239620AbiF0MAa (ORCPT + 99 others); Mon, 27 Jun 2022 08:00:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56004 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238898AbiF0Lws (ORCPT ); Mon, 27 Jun 2022 07:52:48 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8F20DF0F; Mon, 27 Jun 2022 04:46:22 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 869E261187; Mon, 27 Jun 2022 11:46:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 997C5C3411D; Mon, 27 Jun 2022 11:46:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1656330382; bh=JI8q8nWm4Q7nBzEZmsr6UgIbIz5QfLN/iEi1FTJoC14=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PLVz4ZR9aLGSVqPDwg/ZQJcWJpBJMnuEb02XlRPGSG/2Tp3g24At7SDBychg/UfU2 A1seSsFs2t6B7JBfkK93snLAL9HmFnCM9d7t2Ji8y0QeRSvsW2pC/0fW26lHhgkBAH O4wh/rTOO8eBmBybxC0sDUFdeIEiJWNSZPUgnpkM= 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.18 139/181] iio: adc: stm32: fix maximum clock rate for stm32mp15x Date: Mon, 27 Jun 2022 13:21:52 +0200 Message-Id: <20220627111948.718532192@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220627111944.553492442@linuxfoundation.org> References: <20220627111944.553492442@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 @@ -805,7 +805,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, };