Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp3665272rwd; Sat, 10 Jun 2023 12:03:30 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7QFysgd0f7EcoZF3pBAar1PN1FQt/lIWb2mj1nux2hbkBrqiiOuwp71f74zWJjqhu3BnHD X-Received: by 2002:a17:902:f544:b0:1b0:4bc1:f28b with SMTP id h4-20020a170902f54400b001b04bc1f28bmr2703954plf.25.1686423809985; Sat, 10 Jun 2023 12:03:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686423809; cv=none; d=google.com; s=arc-20160816; b=c+TWaDFJneAAa99kYPoXvcQwpjRAZQuL3Qw132k66SB/49UtsWJXpUK+Lvyw09o1fk qHBrTkDtgVjD1oc/TfUcQU5Y7KpMBHklWhomNuMq4fjypU654zAAcurvOkeF9EiNvh3A TQkhlt589NLzsdgm3KhfQ577WuHiIufvDKb93Bxe0mhWvVlLUglK3WtII7znUT63pNGM hvZ5hxLdxzDnw/oUMxYlzd2/ULUzypPeXpwGFhRwyONsgsfgJLFn3/dnS8XsHYTIREIN 56pU9rzNmbOV3NB6MdUn5xlz+8x+uX1aR9D0QDV6095XlnzAeNRMvAMthzMJNHTBWq3J h3WQ== 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 :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=ppLiWWOkV1PGpCWdvGHGHXnFNwK/4/TpvlXYV6X7HGU=; b=zGF1Br5pNn26Hfy/8k4ePdo16mrN8xJMHCPsynuc/FNXm6tQenUOjyhadJrna7yPL1 EP4d+kwjM0DEqeurE3hdYhyr+w3O5nLScoUnbNU2rcEMPjI+TUcc6v9AA5EPFfvRaf1K ogqpx10vcEdoGQiPlggC2Ol1enizRkRVFGT7OjTyUCZybDh1JfCZxtTpth1yHcfmqSv6 lowDIkg68RgQ1uD/QdKvV1oCPceGcMXKzKqTXtPLdSSQQU54TKnoD1jVuJxk5rzYklQ2 JUIYZ9hJ+ZNtHCyRHQ6mXhv5771QE4H/+dtVIIdSMueDNZ5AFAk4x29ebKbZLGzUowto WYjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GAijoixu; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pc11-20020a17090b3b8b00b002567ce1c798si707874pjb.137.2023.06.10.12.03.18; Sat, 10 Jun 2023 12:03:29 -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=@kernel.org header.s=k20201202 header.b=GAijoixu; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230060AbjFJRmr (ORCPT + 99 others); Sat, 10 Jun 2023 13:42:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38686 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229512AbjFJRmq (ORCPT ); Sat, 10 Jun 2023 13:42:46 -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 4D7553594; Sat, 10 Jun 2023 10:42:45 -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 D678A60B07; Sat, 10 Jun 2023 17:42:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CA234C433EF; Sat, 10 Jun 2023 17:42:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686418964; bh=PahXCgyPj76KySfEBE99L6HcX3V7pO0Pti25w6elUbg=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=GAijoixuha5UwXmNzveDG/CArdpP5R3fMR4KZqIHapHWVoalTSdR7ynG7SjFszTGU Tuhw6LFmFSuH+byUFgLEMIh5D1QLlsdp4AOrjqj/Mr33xdoRzhH5XK/V0+fo7Od0xz xdjn0Lg5zBqamZKNwiTpOpB5zUPgL132+Se9iGJpkGOlce+ZNBB6RslUxE1lFvFRfS FQCjcsG0NSndD9SFcph0M+NvyVxCTsxRo03e0Dk14fm+fAfrX8u9OEf3uudDq0/zps K0zeNDpovJBDLn9+eedXInW2+Fas2J9EVIB+uQJqb44LIfYXA5IiHLxjv4rMZaWX6K HQEEx5nHkfcnw== Date: Sat, 10 Jun 2023 18:59:18 +0100 From: Jonathan Cameron To: andy.shevchenko@gmail.com Cc: George Stark , lars@metafoo.de, neil.armstrong@linaro.org, khilman@baylibre.com, jbrunet@baylibre.com, martin.blumenstingl@googlemail.com, andriy.shevchenko@linux.intel.com, nuno.sa@analog.com, linux-iio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, kernel@sberdevices.ru Subject: Re: [PATCH v3] meson saradc: fix clock divider mask length Message-ID: <20230610185918.7c85b66e@jic23-huawei> In-Reply-To: References: <20230606165357.42417-1-gnstark@sberdevices.ru> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 On Wed, 7 Jun 2023 01:52:26 +0300 andy.shevchenko@gmail.com wrote: > Tue, Jun 06, 2023 at 07:53:57PM +0300, George Stark kirjoitti: > > According to datasheets of supported meson SOCs length of ADC_CLK_DIV > > the datasheets > > > field is 6 bits long. Although all supported SOCs have the register > > 6-bit > > > with that field documented later SOCs use external clock rather than > > ADC internal clock so this patch affects only meson8 family (S8* SOCs) > > s/SOC/SoC/g, and mind the grammar period at the end. > > I believe Jonathan can fix when applying this, no need to resend unless > he asks for it. > Indeed - done and applied to the fixes-togreg branch of iio.git + marked it for stable inclusion. Thanks, Jonathan > FWIW, > Reviewed-by: Andy Shevchenko > > > Fixes: 3adbf3427330 ("iio: adc: add a driver for the SAR ADC found in Amlogic Meson SoCs") > > Signed-off-by: George Stark > > --- > > Changelog: > > > > v1 -> v2: > > * Update commit message > > v2 -> v3: > > * Update commit message > > --- > > drivers/iio/adc/meson_saradc.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/drivers/iio/adc/meson_saradc.c b/drivers/iio/adc/meson_saradc.c > > index 85b6826cc10c..b93ff42b8c19 100644 > > --- a/drivers/iio/adc/meson_saradc.c > > +++ b/drivers/iio/adc/meson_saradc.c > > @@ -72,7 +72,7 @@ > > #define MESON_SAR_ADC_REG3_PANEL_DETECT_COUNT_MASK GENMASK(20, 18) > > #define MESON_SAR_ADC_REG3_PANEL_DETECT_FILTER_TB_MASK GENMASK(17, 16) > > #define MESON_SAR_ADC_REG3_ADC_CLK_DIV_SHIFT 10 > > - #define MESON_SAR_ADC_REG3_ADC_CLK_DIV_WIDTH 5 > > + #define MESON_SAR_ADC_REG3_ADC_CLK_DIV_WIDTH 6 > > #define MESON_SAR_ADC_REG3_BLOCK_DLY_SEL_MASK GENMASK(9, 8) > > #define MESON_SAR_ADC_REG3_BLOCK_DLY_MASK GENMASK(7, 0) > > > > -- > > 2.38.4 > > >