Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4462122pxf; Tue, 16 Mar 2021 14:15:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy3uiwalQX7qFdj6Xha23UirvezL5C+7hPiUqnh1qojBQvroFU7Pbd476pOqcZJJgRfcVwJ X-Received: by 2002:a05:6402:447:: with SMTP id p7mr38410357edw.89.1615929340664; Tue, 16 Mar 2021 14:15:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615929340; cv=none; d=google.com; s=arc-20160816; b=QUyqbBQHqX3CA4PxvbyyMCSRlxQE75k43smPz3BKPubR1KVJjGHM6qDQ7jWjIOiw4T Cuw2XMiQqwcWEAmgICuNI/IJth8eFxxsLZPb4/rFIknznuU/hqeclk46ztrvl5icBJyf nAz/ALpKDPq8MfVMI0Kg66iPStalmK8YwCDjQWI4YNShL8+IFMLhlIX2jW3LhrWvfm6R XTfwvuxTUO+1V8oBxpX5MlEGsL+cAmr4k7K6J5dWFWg0sJTfTuvt1fUXXXxrUT1KZ9KQ vC2sL61ToDMYsX7bTC4CG2xcjG4wmaFoDMVkBjMtI2WsjmhVZJjI4x5ffvlnDPbZjNG+ 5Xfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=l7cCd6nspXNqWfZCDlihpaBU82Un768UFhkLI5YdecA=; b=HMVCbE+jPzdd4om+5yaci0koH2T7apmawgxiEPZ+bc16Q+yqnskPBEgwrLTnHB0sDF Y0uE5U65x3Wko93CIV9JWZL1+H2NZeyQ9D/1edb01vEgWYR1QavEoydCQxag1YPM2aiQ 5TNap0baoq4X3eVyy3g7JNqA4XNQmxpeRfe8Ahh/3w0T17qyfK/IuYB7CPxW0RbZUhPE iUs9Y9nPzWGYK07zztw8yqHPee7f6oxAX7FPo7v4doA5zu01y1H7OJwhSVf+Qj24S20X Yw8LIYL0PG8Q8iiUtj78687/pl1vuFS6CzQIsA5SAe23zoc5zsQ8vWUqAvOObkKHNue5 +ZYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=oqhV9HUS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g20si14090833edt.518.2021.03.16.14.15.18; Tue, 16 Mar 2021 14:15:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=oqhV9HUS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239359AbhCPRyR (ORCPT + 99 others); Tue, 16 Mar 2021 13:54:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232019AbhCPRxp (ORCPT ); Tue, 16 Mar 2021 13:53:45 -0400 Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 94B0AC06175F for ; Tue, 16 Mar 2021 10:53:43 -0700 (PDT) Received: by mail-pj1-x102b.google.com with SMTP id s21so11036071pjq.1 for ; Tue, 16 Mar 2021 10:53:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=l7cCd6nspXNqWfZCDlihpaBU82Un768UFhkLI5YdecA=; b=oqhV9HUSqXuokLziiYGQaGZD9a0vvmOFl8k5q6vYZsPrI6VCFKvROrD/JCEpFkpEtJ GjsWOvZTShbysMcvoqo1r3FfEsWergIHb1xBnfZl29JA2K2uZ21z9MbQPg3fVVCEAcGa s1BgeTOzgS6ema+La6r3p7GJO7K5/509sGUZ5kJlHxg3Q9rxuhpDbGSp93c+imYKVCmc VId911dl6zfytPRNWmL2Pec8XWa9uxoVFdRk358YOsy/PY84HaGBF8kERUi8EIr+fi4A eS3J1BF5EgDAMCvYzzlE7aeYDRfMJmtE4jei2lPsUkvLriRNMOSB1hhwXDw9y2OsiQ4w rgRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=l7cCd6nspXNqWfZCDlihpaBU82Un768UFhkLI5YdecA=; b=NdrGVqPQy1vTTf5WJN48MCaSv0K/RQz4JbnDTUJCvEPt9ZZccsEcEXnBd6Jj0opRmD My8Gv+TNW5JTiTJ+Eakr+Ea2WcFD7ZgextOINk4o0haOwEMRzHYD/IItEkWozx3jvBV0 ODLSP70VW+nSFjfXfKNdW+JJrYIUSkGNy1CdBEaK/AaIV5hpEE07VRTnk0RQ490yi7Hd NtAbd9CVL+t+jbvAeDtTF8PXfsLVVeVF2oZnpPbwJ/YXpKZjjcUjQfuxzcXn6sa37tbr NtNqof62oEVbXMj2h8F1xHaZQW7/xczReQ5eF/oc6cHlKklH53HLhw9Eb4l/QV8CuV1v AsSA== X-Gm-Message-State: AOAM533wkgNnZeTs1UCO5gnbYljHA1I9yL8pa3fUFgMSQMaNcqaLEu/v +LWf1rR77o4koajziKP/BBnoB7PnjDgOHnYftElK0Q== X-Received: by 2002:a17:902:7407:b029:e4:9b2c:528b with SMTP id g7-20020a1709027407b02900e49b2c528bmr602784pll.6.1615917222874; Tue, 16 Mar 2021 10:53:42 -0700 (PDT) MIME-Version: 1.0 References: <20210309231259.78050-1-jbhayana@google.com> <20210309231259.78050-2-jbhayana@google.com> <20210311210844.34371d8d@archlinux> <20210312121639.00001c31@Huawei.com> <20210312133101.GG30179@e120937-lin> <20210313171107.4c8215e7@archlinux> <20210314154033.3facf1a2@archlinux> <20210316131314.GI30179@e120937-lin> In-Reply-To: <20210316131314.GI30179@e120937-lin> From: Jyoti Bhayana Date: Tue, 16 Mar 2021 10:53:31 -0700 Message-ID: Subject: Re: [PATCH v7 1/1] iio/scmi: Adding support for IIO SCMI Based Sensors To: Cristian Marussi Cc: Jonathan Cameron , Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Mauro Carvalho Chehab , "David S. Miller" , Rob Herring , Lukas Bulwahn , linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, Sudeep Holla , Enrico Granata , Mikhail Golubev , Igor Skalkin , Peter Hilber , Ankit Arora , Guru Nagarajan , kernel test robot Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Christian, Thanks for porting the driver to the new interface. I have commented on changes in v7-0025-iio-scmi-port-driver-to-the-new-scmi_sensor_proto.patch. Thanks, Jyoti On Tue, Mar 16, 2021 at 6:13 AM Cristian Marussi wrote: > > Hi > > I reposted my series on top of the take3 immutable branch from Jonathan > at: > > https://lore.kernel.org/lkml/20210316124903.35011-1-cristian.marussi@arm.com/T/#t > > You should have received an email regarding the relevant IIO SCMI patch > > v7-0025-iio-scmi-port-driver-to-the-new-scmi_sensor_proto.patch > > which includes the port of your v7 IIO SCMI driver to the new API, and moved > also the notification registration to the probe phase to simplify it > further. > > On my side I tested with some fake emulated sensors emitting periodic > 100ms SENSOR_UPDATE notifs...and verifying that notifications are still > dispatched and received fine. (values are just fakes) > > If you can have a look, comment and possibly Ack. > > Thanks > > Cristian > > --- > > (debian-arm64)root@debarm64:~# /root/iio_generic_buffer -a -c -1 -g -l 100 -N 0 > iio device number being used is 0 > trigger-less mode selected > Enabling all channels > Enabling: in_accel_x_en > Enabling: in_accel_z_en > Enabling: in_timestamp_en > Enabling: in_accel_y_en > -9465 -9457 -9449 6169807244683640832.000000 > -9464 -9456 -9448 6169807244683640832.000000 > -9463 -9455 -9447 6169807244683640832.000000 > -9462 -9454 -9446 6169807244683640832.000000 > -9461 -9453 -9445 6169807244683640832.000000 > -9460 -9452 -9444 6169807244683640832.000000 > -9459 -9451 -9443 7169807022831960064.000000 > -9458 -9450 -9442 7169807022831960064.000000 > -9457 -9449 -9441 7169807022831960064.000000 > -9456 -9448 -9440 7169807022831960064.000000 > -9455 -9447 -9439 7169807022831960064.000000 > -9454 -9446 -9438 7169807022831960064.000000 > -9453 -9445 -9437 7169807022831960064.000000 > -9452 -9444 -9436 7169807022831960064.000000 > -9451 -9443 -9435 7169807022831960064.000000 > -9450 -9442 -9434 7169807022831960064.000000 > -9449 -9441 -9433 8169806800980279296.000000 > -9448 -9440 -9432 8169806800980279296.000000 > -9447 -9439 -9431 8169806800980279296.000000 > -9446 -9438 -9430 8169806800980279296.000000 > -9445 -9437 -9429 8169806800980279296.000000 > -9444 -9436 -9428 8169806800980279296.000000 > -9443 -9435 -9427 8169806800980279296.000000 > -9442 -9434 -9426 8169806800980279296.000000 > -9441 -9433 -9425 8169806800980279296.000000 > -9440 -9432 -9424 8169806800980279296.000000 > -9439 -9431 -9423 9169807128884412416.000000 > -9438 -9430 -9422 9169807128884412416.000000 > -9437 -9429 -9421 9169807128884412416.000000 > -9436 -9428 -9420 9169807128884412416.000000 > -9435 -9427 -9419 9169807128884412416.000000 > ^CCaught signal 2 > Disabling: in_accel_x_en > Disabling: in_accel_z_en > Disabling: in_timestamp_en > Disabling: in_accel_y_en > > > On Sun, Mar 14, 2021 at 11:47:25AM -0700, Jyoti Bhayana wrote: > > Hi Jonathan, > > > > No worries. Thanks for the update. It looks good now. > > > > Thanks, > > Jyoti > > > > On Sun, Mar 14, 2021 at 8:40 AM Jonathan Cameron wrote: > > > > > > On Sat, 13 Mar 2021 11:55:39 -0800 > > > Jyoti Bhayana wrote: > > > > > > > Hi Jonathan, > > > > > > > > I still see the old version 6 in ib-iio-scmi-5.12-rc2-take2 as well. > > > > > > OK. I'm completely confused as to what is going with my local tree. > > > I have the right patch in the history but it didn't end up in the final > > > pushed out version. Fat finger mess-up I guess and too many similarly named > > > branches and the fact I didn't check the final result closely enough. > > > > > > There is now an ib-iio-scmi-5.12-rc2-take3 branch > > > > > > This time it definitely has your patch from the 9th of March with no > > > instances of long long in it. > > > > > > Sorry I messed this one up (again!) > > > > > > Jonathan > > > > > > > > > > > Thanks, > > > > Jyoti > > >