Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp2909013iog; Mon, 27 Jun 2022 05:33:46 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sfdaJi/HK91pjeLA2L7+MXeV/MuaSR/JzDg9C+mq+5dHuO1Q2h+B7eR9XdGO/dDLfOS8Iu X-Received: by 2002:a63:3fcb:0:b0:40c:4da1:555a with SMTP id m194-20020a633fcb000000b0040c4da1555amr12498677pga.3.1656333225744; Mon, 27 Jun 2022 05:33:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656333225; cv=none; d=google.com; s=arc-20160816; b=oDNSBkOW8vlJ6aaF6A9Ml3IUjTau5a3Swbhn+lN5kwkZHK92yd+cAdDyt78vdaKOiB NKjU2mtNQlJAmbPrnWUx6U1GccVdUQJ85B48FZInDG74kRZVG11InIHaFvZzDe0/cKXk bf/b8C46kajNa2Fggl8JncpbTcYk9aLspT5AMEY6vdRRIACzkEB7ctcPQjdrqd5nl61P jm6+Z5NwHKTKNhl8v16GiaMMwoONEZthqmzqj6n5RhIOu8FwuZxtPx0ehfjBvGyktkTG jirL872Xr7h+csqvZks7hNJdhTcu1PZzD9qWZkWwMTTDOvE0uWM+INd/bplr0L9QdZrj VGGA== 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=QLUNb0IaI/F1bxnrutRwnBPzzDotcyqm9vMIKkMm7DI=; b=gQncBas0vHvboswceh4bef7JbG7U+0N7XY0lQEhqSY0lf7FG41Q4OfSSJr0sZ8i5nB h861O7tIZjJzdW2xk5H+iYnK+rFnX+z7Owdp5qSl411WWzgF/WdMn9UkfIo1SIzDuXc4 JSVmItJHNf+fh5CBQlaauFT0uU/8wg+pjcYhJW+K+jczS0ziEsgQZBU6atGMLQkIqyQF DBmz4f+C0TOOhSsUQylUXAW9BflhY9oAqX7YGp/20VPrzit6sx5OLaEuIAP2/v09iXGV CRGfwlDx+BlM3cduP7VrV9Y1PD6NKn8fOvFPhi83y0F/Dzar1TpRfJevpyGN82NEp7pw CDZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=SZKhFD5A; 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 u17-20020a170902e21100b0016a4e50d4absi11901431plb.32.2022.06.27.05.33.31; Mon, 27 Jun 2022 05:33:45 -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=SZKhFD5A; 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 S235298AbiF0L1o (ORCPT + 99 others); Mon, 27 Jun 2022 07:27:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46076 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235105AbiF0L0n (ORCPT ); Mon, 27 Jun 2022 07:26:43 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 416DC65D8; Mon, 27 Jun 2022 04:26:33 -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 01274B8111B; Mon, 27 Jun 2022 11:26:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6903DC3411D; Mon, 27 Jun 2022 11:26:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1656329190; bh=4viCvBWNjlVqiYuJe3YQwX6lDbcoBs/EOvALTfDMLeg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SZKhFD5AReQKoaUheQMbbyJ0o5Kv3CCySAXeEEpn5SG6UqaM/RHZfXmSj1B4u3RAJ Qjyq4UyN19u69aOUZrSBySnB54+3g2DkQftdW8SUVhp6epq4iCEn4sogho4RLVU6x9 BCIM3osiovQQSyIRaLD6IPzVHJfx/PcwsM0eFKe0= 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.10 079/102] iio: adc: stm32: fix maximum clock rate for stm32mp15x Date: Mon, 27 Jun 2022 13:21:30 +0200 Message-Id: <20220627111935.812598474@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220627111933.455024953@linuxfoundation.org> References: <20220627111933.455024953@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 @@ -797,7 +797,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, };