Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp3614573rwd; Mon, 29 May 2023 13:44:43 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4lCxH1cdSrMFDjS8TgcAiZz4rC1M3k2oMGkyg4ODSyYzC9Ss9dPH5rDlTK1pvePlJNHuZH X-Received: by 2002:a05:6a20:2449:b0:10d:951f:58ba with SMTP id t9-20020a056a20244900b0010d951f58bamr103548pzc.52.1685393083521; Mon, 29 May 2023 13:44:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685393083; cv=none; d=google.com; s=arc-20160816; b=gQrbnni7Hvu67zmbTa4wdRtCaBOVsqDloMC56kj8cDzo4dO/I1aJgUg6IUfgSAY5vz IydYG82V8/mbiaL8epZPuQHhd3r4semgbmCn5hAJEGq+RSDOiphtUF5N70U1lrYhONJr ghBfP4knWugbrgI3X2Ll42x66hpOukorf+DSbSHrPszgrA/UMbtxCvhy/ZaOPfNUv8KD HCthlMmpztJp33Rxz7ubHYSXhK/14tPkO7bHemmZeZ/D8soLOHbp9Y18FY4BWnRfrlPH jMU4m2veneuexrvkYvtch9Krpjn4pflaceTHL4hGujd86tMnB4FOcG6i+52hu4WOsHUi qgNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=8oVcB/3PU414dGGRa5XjMeY+ZP+wNwSmSLVI+C8Yxe4=; b=rW4Yh22OeIiCWKQFlhPbZZjR1T8OiCXQvB7BQdtwGGU1tzVmx7dyTjL3kWFoVyE684 ANfsvEE5iyi9XH4/woiD6JIn5QS6MyIEQ23E3xXtTEBsMYLRA8pOQczqBHXjopRo5fII EWPwYzwRQiZqnwTJtS3rNbxH6wJudqxsnp+FBGhB4lBp4qt3qyUjw9FGmD0CUuD4wY4k 70VUcRWLt9IawSlc5GQ3uyl3IQE5xNgYs0VogndBYTsuIDPLzOvHdEo1/FCFU6dPksNu umQ/Xg1tFVeXMo2ubmrOwW92l4PjMl47RfnpL5crZKV76dkT5XbWYQodTI3YIdnQNG18 K/lg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20221208 header.b=PsknnEmv; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m128-20020a632686000000b005303a7ca052si6991718pgm.491.2023.05.29.13.44.28; Mon, 29 May 2023 13:44:43 -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=@googlemail.com header.s=20221208 header.b=PsknnEmv; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229577AbjE2Ulq (ORCPT + 99 others); Mon, 29 May 2023 16:41:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52140 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229484AbjE2Ulo (ORCPT ); Mon, 29 May 2023 16:41:44 -0400 Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9DEACC7; Mon, 29 May 2023 13:41:43 -0700 (PDT) Received: by mail-ej1-x62d.google.com with SMTP id a640c23a62f3a-96f5d651170so944664466b.1; Mon, 29 May 2023 13:41:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20221208; t=1685392902; x=1687984902; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=8oVcB/3PU414dGGRa5XjMeY+ZP+wNwSmSLVI+C8Yxe4=; b=PsknnEmvP6wS6LwIMVDy541+2wS44WvjbYe8sUGBsjtPB9+YTtBJz367oliJzlKecq qq6231HCLJTLj5nXN7fGd4BWOsHorvyobp7shFhPwPsO/X1v6WX+jhZ1Zx3b5XSeWlKz FtjUUGlRv8XvuCVIBp62tiplKIsWU8zw/sjzgwccg8RbwYXchQqbZGutTshzbkXFzBrO UaXGTDhcQaNqtDwwipJW16ynLAc+dC11VAadqHBTasMdwF0fu8ZK9JWgatpex387mveG p9HMIWBB+Sj9NTztwj4F/DX/JGAwW90aChATDjGIY6lziSA71oD4hID+EFJFCvEVbS7t 6fPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685392902; x=1687984902; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8oVcB/3PU414dGGRa5XjMeY+ZP+wNwSmSLVI+C8Yxe4=; b=PiH7aS7/1PbLgp6dQfSq3MQFsscO07dSp4vmOFnvIa7UBNEIiymkj4Oe2ZbZWrAQJq byTb0AIHnzaYwueLemlt+FjVjRKKITtT03TJG7Vrh5CX0cXdFT6og+4IgzQD2ajUTrHB hTKGB6glaV/MgrwCkS3VXLPaaSm80HVZShQH2Y3uxXg0uF0xNpiW7GpCiBwRadRdqSlK XhwCFrX/K/m8u56U8rkKQ8xGb0+c09m7SAUEYkru81jWvRZjbAJBNon9YH00OIEZCKQj T/f1Rnxz39JOaXd1K7H4pcmbkn7YvziAxksIpm1RimY0vzvgXMbTzNcYWSNuksBkWDkj ihYQ== X-Gm-Message-State: AC+VfDxSLKHDygGOO3B7+cOjeCwaCH6LIrZ2IkhCc5/ERHLYeApBCKE9 CuT6eUCPaEMgbgojMKqtGcSp0IEfuCCUVWaoZ88= X-Received: by 2002:a17:907:868e:b0:96f:8afc:b310 with SMTP id qa14-20020a170907868e00b0096f8afcb310mr238082ejc.3.1685392901963; Mon, 29 May 2023 13:41:41 -0700 (PDT) MIME-Version: 1.0 References: <20230515210545.2100161-1-gnstark@sberdevices.ru> <6910550a-b025-0d97-0b39-bc89b235541e@sberdevices.ru> In-Reply-To: <6910550a-b025-0d97-0b39-bc89b235541e@sberdevices.ru> From: Martin Blumenstingl Date: Mon, 29 May 2023 22:41:31 +0200 Message-ID: Subject: Re: [PATCH v1] meson saradc: fix clock divider mask length To: =?UTF-8?B?0KHRgtCw0YDQuiDQk9C10L7RgNCz0LjQuSDQndC40LrQvtC70LDQtdCy0LjRhw==?= Cc: "jic23@kernel.org" , Dmitry Rokosov , "lars@metafoo.de" , "neil.armstrong@linaro.org" , "khilman@baylibre.com" , "jbrunet@baylibre.com" , "andy.shevchenko@gmail.com" , "nuno.sa@analog.com" , "linux-iio@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-amlogic@lists.infradead.org" , "linux-kernel@vger.kernel.org" , kernel , Vyacheslav Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 Hi George, On Mon, May 22, 2023 at 5:47=E2=80=AFPM =D0=A1=D1=82=D0=B0=D1=80=D0=BA =D0= =93=D0=B5=D0=BE=D1=80=D0=B3=D0=B8=D0=B9 =D0=9D=D0=B8=D0=BA=D0=BE=D0=BB=D0= =B0=D0=B5=D0=B2=D0=B8=D1=87 wrote: > > Hello Martin > > Actually you were right that my patch affects only meson8 family not the = all new ones, my bad. > It's clear from the driver code meson_saradc.c and dts files. > I've made an experiment on a113l soc - changingclock_rate inmeson_sar_adc= _param and measuring adc channel many times > and with low clockfrequency (priv->adc_clk) time of measurementis high > and vice versa. ADC_CLK_DIV field in SAR_ADC_REG3 is always zero. Thanks for sharing your findings! > I need to get s805 (meson8) board for example and made experiment on it. If you don't find any Meson8 (S802)/Meson8b (S805) or Meson8m2 (S812) board then please provide the code that you used for your experiment as a patch so I can give it a try on my Odroid-C1 (Meson8b). Best regards, Martin