Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp2033228rbb; Tue, 27 Feb 2024 08:37:09 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUsjTUBFejnnqtZnFG53XqxER6VDA6SUySJLIxn9x7c2/HKkO+U+7q7jrvPDsF4HuiiGXfVl7hrOzktTQ3CrpznopenedamQD1uX8c9Lg== X-Google-Smtp-Source: AGHT+IFMRaLt2tiM5q4IHL1C8p8pBWmGvVpM4ayM+UF96mZoXwNtfYZzbLwTAbCtVk2nQFsR64I/ X-Received: by 2002:aa7:d958:0:b0:565:3574:c71e with SMTP id l24-20020aa7d958000000b005653574c71emr6722151eds.28.1709051829118; Tue, 27 Feb 2024 08:37:09 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709051829; cv=pass; d=google.com; s=arc-20160816; b=lLit0B5jOpkJrC565ZLbBsq/hbsQnQDNazhR1GbCH1X8Eu35jIgp/86wZ7Tqs12T+C VJFZJ63jGpRQjhU+Jd0PukUZ1QpYVVTmbmcdQ5ds/rwMvJJYLP7DCBqQ81g6zdw5eUDk P6dri1jCRCl4mQ3chQgUrWGvYyeZqROx3/2aNMm8m5W1bqMc6lVn0JhKNs9LT8eaQ7Ah KOyNYofn3vkYbe6IsAksiebo1KZ60jQszGeb/VloXlx6eBlG8568j4fGGkwpfEwGaC+y ax+EcV4k+e+xkXkJRAt8SFl7vSqSTFntN6hgE7509/luC0MRTkM1C0oWr9L4zZWc6eLe AALw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=9i5hlJapLP6jPwsym6zkalPtVBE+pFBSRmyXNbEoAEY=; fh=rWgQR3Noc84bCdbZYLWLKsh4tIx2s6rgTg4m4nrj+9o=; b=uTRx3fcz45fqScuIebvM8T9/IZy+/ClTf6/r7yPfS9i+izOMRv/s94wq8cPJ4zlB2Z +12yWoKe75xSq1q5ojeFUh1dP1hW2P6x1rkd7z87ku8iC2TucWqmhy/XxIcwB5U/QFKC Mn2ipT88oK2tJdMp44n0ldDto3cgPRbYlRrNfoXC1+F34I8v2dHJXbgyuXAIzW8cDVpP RQ7GEOkxMBocYAaUfN9MjbwOfY6jjWO0ibr09lzYSwNRJEuHavfzulfbrTbtiBpUaXS1 RXhsWtYNq5bdIJz3z+XGHzJzMIgs3AWCTCkrercOedMGvVR9qBwJTKMtx0QCc54dgMOt XJHQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b="2xN/NWyP"; arc=pass (i=1 spf=pass spfdomain=baylibre.com dkim=pass dkdomain=baylibre-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-83613-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83613-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id b5-20020aa7c905000000b0056514608449si817403edt.425.2024.02.27.08.37.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 08:37:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-83613-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b="2xN/NWyP"; arc=pass (i=1 spf=pass spfdomain=baylibre.com dkim=pass dkdomain=baylibre-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-83613-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83613-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 2D4941F22114 for ; Tue, 27 Feb 2024 16:36:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8AD121EB5F; Tue, 27 Feb 2024 16:36:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b="2xN/NWyP" Received: from mail-lj1-f181.google.com (mail-lj1-f181.google.com [209.85.208.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9B6E91D698 for ; Tue, 27 Feb 2024 16:36:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709051783; cv=none; b=Rb5NxlLSa4DnafgZsWs4mE3jNchGVZ31brstAbjP+TAmwJUQohN6bZk5iw7T3gk8a9yb8fZEU0auTIFJe63bJXXN84jFFudKq1JLXigGZAeHyI0ErEIgBobsLKu4BiCFJYh0GdBf9lA4K3prCf2zJ+IwbLNxKXZrautBHtUrVGU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709051783; c=relaxed/simple; bh=9i5hlJapLP6jPwsym6zkalPtVBE+pFBSRmyXNbEoAEY=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=dl5IZx0SCIPkl4aFuuoynLsi8cBejqiosowP9HY24GHa3xSuV7JxezdKUjYey5hv1feklaYtd6GjLOM8rHeVvR7FiSILGOfGwG6+CtvfnFeiCCVar3O425aj2UL0PJFJlS/N4jMY70yNFWR/TdiixDjmCT8WLCwUI0/g8j8+vBM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b=2xN/NWyP; arc=none smtp.client-ip=209.85.208.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Received: by mail-lj1-f181.google.com with SMTP id 38308e7fff4ca-2d094bc2244so53886011fa.1 for ; Tue, 27 Feb 2024 08:36:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1709051779; x=1709656579; 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=9i5hlJapLP6jPwsym6zkalPtVBE+pFBSRmyXNbEoAEY=; b=2xN/NWyPit65yZi63g9mDUgJJqD/xbqgpnu8+p+Lf6Tp/V6ZAlAu2jatg4oLQVkbCS 2nml10CFtTWF7+cYsVZKA3ZHmpOtp5xZjJAfC2gvkscm3ZxjDjhbBPo32niH0nnno/jC Ltq9JzdI+ODlmZnILiU9uq97wIAQ2MgKDbvFSKbNdDX1BARG9Y//ksia5pXe66psxU46 zO548gJnTDq5oROX/1x9j7dYicdedUE97zuRNDkTv0OH1Xi0qzhIVqVLILOUOibXYmbM yvJ8jEjQRNHUkvtJoOQvi4Cmh3XHcJ6DOnMZqdxLZap1cxcwnCb+kBGv06vZCiFJ1f4k j1hw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709051779; x=1709656579; 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=9i5hlJapLP6jPwsym6zkalPtVBE+pFBSRmyXNbEoAEY=; b=RT/8VushD12Ot3ch9OGtr+KaJpE9rLrqq7zkh9zwWWXzJMlQWdFjwfRJVfzwK2MRuU t7hpbaLtkynirEyzo+cycKCWCDDQw8lRySDL8uArJZSEa5YdJzPjJ9Ywjx4w9v2fC0BI fKXNSYdWu58HbiGTeNIevEVhwPNym9cMasMBzbS3q/Pjxp5eO/zOqBYkjMn6n0tLMhAn WUfri5hCf05dJ1c2Wbdhrn9u3UNTSXn4hX7R9J3HNUuqa4eig98fVgcsMlRJig4rx5LY 7qXLflGGkbH+p7hssUTFx7Xmpy9b8bOtmPiZNiTr06mBxMauvyPh9/jnOZMDoC9g5sD9 VjlA== X-Forwarded-Encrypted: i=1; AJvYcCWODfxzIzFC0D/LshsvKaJx8Jz8npVXtx5s9NCP3WrHZ8nBdqFjjXcCXpJDW7jh+D8zIWfxI2dWaXt9t0yv4X0NA6MWD8RqGGpOfEmf X-Gm-Message-State: AOJu0Yw4Z6UJpF5ROPlq4kXincacvZuc89qEPaepUhJaoH2mdX1B48LQ ApCoOYsIqgzZGKuWIoFGW3OL26iECeqsn3/23sUwJyYA9q4l7gS2I7MyaKF1Kv/P/bz1RzSIVdO Aftmdl/Xd7omzoKsGpl/li6EGyvTG46fSGqR7fw== X-Received: by 2002:a05:651c:2c4:b0:2d2:7580:e220 with SMTP id f4-20020a05651c02c400b002d27580e220mr5748651ljo.15.1709051778879; Tue, 27 Feb 2024 08:36:18 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240219-mainline-spi-precook-message-v2-0-4a762c6701b9@baylibre.com> <20240219-mainline-spi-precook-message-v2-5-4a762c6701b9@baylibre.com> <20240224165706.18cc0d7e@jic23-huawei> In-Reply-To: <20240224165706.18cc0d7e@jic23-huawei> From: David Lechner Date: Tue, 27 Feb 2024 10:36:07 -0600 Message-ID: Subject: Re: [PATCH v2 5/5] iio: adc: ad7380: use spi_optimize_message() To: Jonathan Cameron Cc: Mark Brown , Martin Sperl , David Jander , Michael Hennerich , =?UTF-8?B?TnVubyBTw6E=?= , Alain Volmat , Maxime Coquelin , Alexandre Torgue , linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-iio@vger.kernel.org, Julien Stephan Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, Feb 24, 2024 at 10:57=E2=80=AFAM Jonathan Cameron wrote: > > On Mon, 19 Feb 2024 16:33:22 -0600 > David Lechner wrote: > > > This modifies the ad7380 ADC driver to use spi_optimize_message() to > > optimize the SPI message for the buffered read operation. Since buffere= d > > reads reuse the same SPI message for each read, this can improve > > performance by reducing the overhead of setting up some parts the SPI > > message in each spi_sync() call. > > > > Signed-off-by: David Lechner > Looks good to me. > > As this is the driver you asked me to drop earlier this cycle, > how do we plan to merge this series? > > If Mark is fine taking 1-4 with the user following along that's > fine by me, if not I guess we are in immutable tree territory for > next cycle? I've been out sick for a week so trying to get back up to speed here. It looks like Mark has picked up the spi changes, so that part is resolved. I'll work on getting the ad7380 driver resubmitted, then we can come back to this patch after 6.9-rc1 (assuming the SPI changes make it in to 3.9 of course).