Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp1154444rdb; Fri, 20 Oct 2023 09:49:09 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFwPSmkODnKB8PTuTBcvCGvnHIvjXMo18FSWVLxsupy1jU+TpiZ1S3bjdlmZvYNL8N8T4MK X-Received: by 2002:a05:6a21:47cb:b0:162:650c:76b8 with SMTP id as11-20020a056a2147cb00b00162650c76b8mr2290373pzc.45.1697820548908; Fri, 20 Oct 2023 09:49:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697820548; cv=none; d=google.com; s=arc-20160816; b=S2nCFs+LBGdicrnSkzZrS/4+O/6+XFHHp89hwDw8nokWj3aXYWeYe7UISH+HdvJA8L 5oylxI1fU7RLmyiaPYhRwU2tNWt6tn3rKye+rZQGqA3vGFxJBxAjf5c4a+EgnyAsfwOu l8pTnlUdCsvyqNLSme/BC9g3uYIIkD+n6MuKekUfl3FjIPuQ9h3K1poWRaPACHpe2n7L 9HqWMk1p9yhkCIKOJ4hHmyGrJXxsdmAmI/9kI8odcUml3vNz4qC9mQIqbyIgMDKsl18F nfBEroueNxhQYjHGcvO6VgS5vSJ+RRpJIlh22Mu1YlhZ5aZq7cgBjofTHUeVPZF1bTVL nwNQ== 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=fCY85xuTO08uoVJ5sJjWD5Qhzy1JSbB53Ehoe5wYMoI=; fh=NuGN0PjCX09V7aVQb2jxmlpl3lYOIDW7iGRjeBUcozc=; b=yx3kl/UpG4mlLaps9yTAakNgYMlrmYZK8wuZ1eaadROywLRD0CUmav2Ysy3cOYeS5k Q4v2VdS1GUMySb1aYuhhJ/7WUYzESOMZZc4WSejo6tWAY397jCiOsHUcnCIckWAeFaos DcvY4vUZ0b67Na5zSxYm2R3LOHjm6lJqk44Dn33v+OgLyg4PY/nhTEXWlftX+ex13YuH CHLDIqtAaemyhN6LLlRYR3KzJVrnEgkUcJQdi13rcgmbSlJyUSJRjfZ6wN9Gl7JzckDD IRdtdBiJEC5p44g5eS31Hf1ZND2HS7hrkDxhSKgEwuH4ryXoK3vwPDIqwOchKuMlj4ZF 3UHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=UgTEX0BP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id fj1-20020a056a003a0100b006b6424d826asi2296744pfb.16.2023.10.20.09.49.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 09:49:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=UgTEX0BP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 61955810DEE2; Fri, 20 Oct 2023 09:49:06 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229797AbjJTQtA (ORCPT + 99 others); Fri, 20 Oct 2023 12:49:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41218 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229522AbjJTQs7 (ORCPT ); Fri, 20 Oct 2023 12:48:59 -0400 Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 00EF6CA; Fri, 20 Oct 2023 09:48:57 -0700 (PDT) Received: by mail-ed1-x536.google.com with SMTP id 4fb4d7f45d1cf-53e84912038so1542295a12.1; Fri, 20 Oct 2023 09:48:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697820536; x=1698425336; darn=vger.kernel.org; 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=fCY85xuTO08uoVJ5sJjWD5Qhzy1JSbB53Ehoe5wYMoI=; b=UgTEX0BPakXiOXtGOKyA05fs6C4b6d1Gfvr/c03WRLJkTlFbzvcpnod+kWYJZUXV97 dVFfGrourcs29xBW6cN6/ZwR3UVlS90LQdN/lcObQNR9Ht+M/zGpBgGXXSVd0a2/o1gr 4QdZuNXw58lKydZfTnQzYQQh3GxBdRqrSOZCRJ27dPCSpBO2D61MDBf1lZRxV0cTNJUM KyE4Qz1sV4LY4qFnh+v/F8yUPJNWzrl7/Bav87HWnHIKcS38yZqUJEOIm0fJiAnI0P8w MNhgdqjpz48Mp7bAT8fKL7AY96lk0l6oezLEWhAFI6hvgFbTiwCzukwGt0oNZfBWppAb Xibg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697820536; x=1698425336; 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=fCY85xuTO08uoVJ5sJjWD5Qhzy1JSbB53Ehoe5wYMoI=; b=EN9J46qNsjnBt4uTuEglrGc762TiAZ4ryLCYoayJtXT25rHQgLw8Hh8mxRpkC71gh1 JfDdX9YprY2TGLQ2HSk23Y9YkHrasZ+ijPZEfWTqoaDUaKzO66YjJxw4/U+lVyHD/eY5 Qm1vg628CXfTa1i/SZtphCs2VtmqjaTEqNXF0iaZS4UMpJzBGmwNYy0+eV3TnL+YLQdH 8IT2Vpf2htbi2OUeeS3nnlQF3+Jcb36K4jaQwqYBL29x+X83Ntfu1EG0u6Ywsgtn29dJ yK+YJ7HX1wlXAEBkOtBKMo6ivX1VcRNh9WW/l58c5mrR77hZLjnANgelbBzVPP/Vg/Nw QBEA== X-Gm-Message-State: AOJu0Yx/7Ayzck36AOVSPQy2IFu/cVm+2DvLBFeW1PEAoiFg14brGX1p dRLOZQGJTIq4mqTn4ZOtDroO57ufidNd2bfmK74= X-Received: by 2002:a17:907:74a:b0:9be:4bfd:6a6c with SMTP id xc10-20020a170907074a00b009be4bfd6a6cmr1766721ejb.41.1697820536140; Fri, 20 Oct 2023 09:48:56 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Jagath Jog J Date: Fri, 20 Oct 2023 22:18:44 +0530 Message-ID: Subject: Re: [PATCH] iio: kx022a: Fix acceleration value scaling To: Matti Vaittinen Cc: Matti Vaittinen , Jonathan Cameron , Lars-Peter Clausen , Mehdi Djait , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Fri, 20 Oct 2023 09:49:06 -0700 (PDT) On Fri, Oct 20, 2023 at 5:39=E2=80=AFPM Matti Vaittinen wrote: > > On 10/19/23 21:21, Jagath Jog J wrote: > > Hi Matti, > > > > On Thu, Oct 19, 2023 at 6:54=E2=80=AFPM Matti Vaittinen > > wrote: > >> > >> I did only very quick testing on KX022A and iio_generic_buffer. After > >> the patch the values seemed to be correct order of magnitude. Further > >> testing is appreciated :) > > > > Values are correct with this change, Thank you for fixing. > > Tested-by: Jagath Jog J > > Thanks a ton for testing! May I ask which component did you use (or did > you just use some 'simulated' regster values?) Hi Matti, I just simulated with the register values, Should the 'tested-by' tag only = be provided after hardware testing? I referred to this driver because it's the most recent accelerometer driver that was merged. Regards Jagath