Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp1821911rdh; Sat, 28 Oct 2023 08:24:09 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFuLqV7/8CwQnqI7dQpFgZasWbseLtxEdw9FikB8033DjvsQ072pphMmpWtUclsPy4vBmEM X-Received: by 2002:a17:902:da91:b0:1cc:2f64:5cc4 with SMTP id j17-20020a170902da9100b001cc2f645cc4mr2348807plx.60.1698506649292; Sat, 28 Oct 2023 08:24:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698506649; cv=none; d=google.com; s=arc-20160816; b=k/EBi9Mjio1upjto0nbEVHA/retiX6vllUDt02F69H+llbfCcr98kXeK+1y1HQAvtj 8+W1fLHEbwwK5VuiP3I4UsRTdds4HoOb9xGrwJPYRRAk7WhvQbBO8Y7yuhrNY+WtxwEf FuwzJxd0aB95ibYoRwX83oQn7EXlbiMsKsCCrVtv6fw2Ee0antBsWBW/8F3MeOT91TpW fIncJ7V28uZEP/zFTQonOefSxHWHFVVc+L1Mlxf89hiFmh2RAVDVVg8NFBcy1/8BYD4/ B/b70GiSbfWceywKeDkcc117ivrN17blP8SquBHjB4kdGKK6ApsNuD2yGNojEXNsBy4f 3+nA== 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=G5wDYbzfJVuyR3ODiu5BG19IteHsstAt6vEy+fUqnpo=; fh=OY3S3ZtWCNvAHC5uUqEHF3o3JI13DEkAJe6V8PWWWzE=; b=Blqq2y0vSM9q3iVuuuiiZ1h5H2UEgrbxVCnpgFU2yMLhhUGu0Xb7tC+rWj51U4j2NF F3NSNmiX6mQ6vjr7GjcCgWvu24pznh76XR/caFEbIoCcmB5PIzbUw1tJWEuLLDzPF8E9 jx35YnA8b0S0RozpiLrdF+FSrsidTk4rsmq/fLV/vMrTOSIbA4VfcVlU0oMGmf0ME4ek wJ5yk52NB5zVFo0DYCXbiiQ+TzzvkYW3W0Yy4TJWusBe/Yo+zviEApwBuMCT3vcz4Cjm gJ1sqLvs0nYe0mPTQhF4ro+0SrQYHuofL0oe68frwlyQU9IefmlLD179deWjyWKVzo5V OMug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CO+Y4f5T; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id f2-20020a170902ce8200b001c7380aca09si2758340plg.512.2023.10.28.08.24.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 Oct 2023 08:24:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CO+Y4f5T; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 4756D805B206; Sat, 28 Oct 2023 08:24:08 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229539AbjJ1PXz (ORCPT + 99 others); Sat, 28 Oct 2023 11:23:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54314 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229446AbjJ1PXy (ORCPT ); Sat, 28 Oct 2023 11:23:54 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C62A093; Sat, 28 Oct 2023 08:23:52 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 815ACC433C8; Sat, 28 Oct 2023 15:23:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1698506632; bh=DfA14lJV5fCHDlTRV9h2PoOcI7/ngGn2Ntb0yXI7Urk=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=CO+Y4f5T7gTsX618YlDV3vWfgHW3+gp8LfOaz19r5Ua6TD3X7XyhXe/dDZNfOpzZI dhHYHS3kIpeU0aXZIZxsKB7A4dEPN0gMQelz1Two+6C8Y1PdtymcHj+PeDucTrB1Cs zxqs9uEx4WsOD9ACCTQDD1lYML1IXmS9u37r1kSBlrAuTJB+ZQoXbJnSZ83tqfN8Pm H8qpc7dVg7pKT6Gq/t3L2IcdX+QuKHciJZDmxXzU6Su/6aNLipFCtfJ0DmSg0BLsia VOmAZ8lh1H5cdXUHwjxNRFLNQZVTc/uJbo66lmZ2VOZz+eiUl5iRP+Ct6jgh0x29KZ fq5QHS4jqfZ6A== Date: Sat, 28 Oct 2023 16:23:13 +0100 From: Jonathan Cameron To: Ramona Gradinariu Cc: , , , , , , Subject: Re: [PATCH v3 0/3] iio: imu: adis: Use spi cs inactive delay Message-ID: <20231028162313.5babf107@jic23-huawei> In-Reply-To: <20231027140358.328699-1-ramona.gradinariu@analog.com> References: <20231027140358.328699-1-ramona.gradinariu@analog.com> 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 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Sat, 28 Oct 2023 08:24:08 -0700 (PDT) On Fri, 27 Oct 2023 17:03:55 +0300 Ramona Gradinariu wrote: > A delay is needed each time the chip selected becomes inactive, > even after burst data readings are performed. > Currently, there is no delay added after a burst reading > and in case a new SPI transfer is performed before > the needed delay, the adis device becomes unresponsive until > reset. > > This commit is adding the needed delay directly to the spi driver, > using the cs_inactive parameter, in case it is not set and is > removing the additional chip select change delay present in adis > APIs to remove the double delay. Series applied. I'm a bit confused though as this one is turning up in patchwork. Meh, maybe a delay and it will show up soon. Jonathan > > Ramona Gradinariu (3): > iio: imu: adis: Use spi cs inactive delay > dt-bindings: adis16475: Add 'spi-cs-inactive-delay-ns' property > dt-bindings: adis16460: Add 'spi-cs-inactive-delay-ns' property > > .../bindings/iio/imu/adi,adis16460.yaml | 4 ++++ > .../bindings/iio/imu/adi,adis16475.yaml | 4 ++++ > drivers/iio/imu/adis.c | 18 ++++++------------ > 3 files changed, 14 insertions(+), 12 deletions(-) > > -- > 2.34.1 >