Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1132353rwd; Tue, 16 May 2023 12:16:32 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4OxeK9chxtxQ3mk45o7SygPUoi3ZAxbSr844dqU0yLNyfhrNtyvKs9s4H+TW6UsuiB6ekz X-Received: by 2002:a05:6a00:acc:b0:63b:435f:134a with SMTP id c12-20020a056a000acc00b0063b435f134amr48634535pfl.28.1684264592101; Tue, 16 May 2023 12:16:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684264592; cv=none; d=google.com; s=arc-20160816; b=K6g1iGqSDxS7oOwzJKWzm97gCkLC5qCUJ7KSu0f2+C8wrngpTxGNQmA1qNxorXHYJR N7T35y+b7UmrMF9FpHqmo4dMPX7EWneM+kSJC6QMNSvg/Swc8g0TLmKgIfQgNJCsKX/V lK/MysTrPAmn3+ooHFudry3a+N0ePwMRpvDCx/Je2K/rMVfuIddTax7fC5LDWgIlwzwe e0UMl5C+8z10o0uM7wtj2UZuPseWl8s+SZtpBkd2aeiGye8C6Kx+AueB4J07BBAUnp+O W5GVlX9IkgluT7F9qpzctEuc7FSy/GVIczdletP5neAfj7IKqManMNv59uOfVmzQkocm /MCA== 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=/WtzMLu63pIrTGFp+PcKVzZjdLbw2sc1wB016+LNuaU=; b=qTtygO6u8Qcl4AuxL4Uq8xj4JVcf2y0c+8dRMxsPvCROsQFxiFNlecFZN0Ij9vyyoa 6wkRXLfK6oI9s6P3GJL2UuaiKwzhGHBBODTq2nN2TaQ2vdl/UxMWQN2/huTZ4MFgtVFQ gwFAOL15AxQ6JAcICcj9m9HlsNKf/tfWvyCU2Qw4PP8O80SKe8x670hW4lD67VgdlqNO s9x3hZjLJp1CsPKhq7CjFk8y8YA+V+TFvGSQi0m5Qi5DXwDLl4HBLCpegywbDjH35RbY NGOfZC21ETZB2I2O4BQiTXnd16gUArFSll2ard/f2XuTU/qW8i4LnSfxs0aLl4p8lrzS GFYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20221208 header.b=UTDLK4JB; 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 b201-20020a621bd2000000b00643a695e976si19934903pfb.291.2023.05.16.12.16.18; Tue, 16 May 2023 12:16:32 -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=UTDLK4JB; 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 S229550AbjEPTIl (ORCPT + 99 others); Tue, 16 May 2023 15:08:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229452AbjEPTIk (ORCPT ); Tue, 16 May 2023 15:08:40 -0400 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A518E7A; Tue, 16 May 2023 12:08:39 -0700 (PDT) Received: by mail-ej1-x62b.google.com with SMTP id a640c23a62f3a-96aadfb19d7so988358566b.2; Tue, 16 May 2023 12:08:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20221208; t=1684264118; x=1686856118; 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=/WtzMLu63pIrTGFp+PcKVzZjdLbw2sc1wB016+LNuaU=; b=UTDLK4JBXJdCSsteU249UG5b0kr62BoJEtt/hUKzhj09Rr78qyUa3slTquGZhGkZfM RV3BAbyoQTatQUS66ycgD0Vgk/MwBEo/LrszGnPA9OWAD9FNg6v/JQa8WB1fssf6MB18 q1xJj4lraxXhLckehH06aljsrrPcycuHHoJTYu4gWc3t/pmegbfL2HpkvcnQClUNfO3m ixnRtgW8ffIddpC9fdnetEZyCUk9yhhv7tPI5TCVK7/rEFglF9IfoQ3K0n5ekMpl29qC r+KM2Dd4DuhPXWoHd4Ee3jO9SEfR6JF5FxTgLQx/pXso3EqL6ZYuRzWdvZelCYeL4oDa Ge0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684264118; x=1686856118; 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=/WtzMLu63pIrTGFp+PcKVzZjdLbw2sc1wB016+LNuaU=; b=eDeeQj9BQsYmb4e5v5Xbq6UE8a2aNJOsx3nC47aG1S0P29DuMu9yViZYRKdjqbFft2 Nck1DRx4S05hcfmY7zLM1G3n5gIyb9IoSgmVKDMwFRbgWCeWbnZJYMeQ+86NFRzevSjI adL8ie3VjFtxV+qzHPaIizUrAnQCubxq9Jvz7uOcEJ7ztZ28j6poFeMcCPIVZj3B1hPT m+Si0k8jgzLPxqhw2jz4alTsc5FKkzNNNStJ9KEzIaIYRgp2bsbfOmpUQLnB8d9/cZRK NLzH5AZW1Z55HJVe8qGKJ0C9cr55p0fjuZGvu8hLtjJ+rwwt1xocg4MYgJNrCDveqgg0 3bEw== X-Gm-Message-State: AC+VfDy+pok/jkDU3FSsjBISsYTGB4EoKBma6rdW0asF+dHQI3OC3OEM snk3aSNejg+/dUcHSjoO3pvDz+nu6QiC2URThi+2ecGE X-Received: by 2002:a17:907:c1e:b0:94f:250b:2536 with SMTP id ga30-20020a1709070c1e00b0094f250b2536mr36485052ejc.28.1684264117702; Tue, 16 May 2023 12:08:37 -0700 (PDT) MIME-Version: 1.0 References: <20230515210545.2100161-1-gnstark@sberdevices.ru> In-Reply-To: <20230515210545.2100161-1-gnstark@sberdevices.ru> From: Martin Blumenstingl Date: Tue, 16 May 2023 21:08:26 +0200 Message-ID: Subject: Re: [PATCH v1] meson saradc: fix clock divider mask length To: George Stark Cc: jic23@kernel.org, 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@sberdevices.ru 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, URIBL_BLOCKED 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, thank you for this patch! On Mon, May 15, 2023 at 11:06=E2=80=AFPM George Stark wrote: > > From: George Stark > > According to datasheets of supported meson SOCs > length of ADC_CLK_DIV field is 6 bits long I have a question about this sentence which doesn't affect this patch - it's only about managing expectations: Which SoC are you referring to? This divider is only relevant on older SoCs that predate GXBB (S905). To my knowledge all SoCs from GXBB onwards place the divider in the main or AO clock controller, so this bitmask is irrelevant there. > Fixes: 3adbf3427330 ("iio: adc: add a driver for the SAR ADC found in Aml= ogic Meson SoCs") > Signed-off-by: George Stark Since my question above doesn't affect this patch: Reviewed-by: Martin Blumenstingl