Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp1141195lqd; Thu, 25 Apr 2024 07:10:28 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV4E5PQOWfskYIjje03AUCYjYyKvN55kOkdidfYP8vj9N2G0wl3JJC+YD9KJt3eaODEV0Yk430G9wPW6Mr81jnpjwvqpmDPluW8dBkuzA== X-Google-Smtp-Source: AGHT+IHaS+KwIF0ABVFs8lEYXv/6CjLs6eU57kBTjvQmwE5PR8TYcn54felfunO+Tgs49cygxVAZ X-Received: by 2002:ac2:4c01:0:b0:515:cf45:2dbb with SMTP id t1-20020ac24c01000000b00515cf452dbbmr3935315lfq.34.1714054227991; Thu, 25 Apr 2024 07:10:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714054227; cv=pass; d=google.com; s=arc-20160816; b=MxQl4BnqThjRqDM1q3OiQ5jNf3JlLBwY2ZelqgkYkTUe6cmKCq0Hblrxak9UqaUa+i Cpo120AYKfvzMy7J+ED30HW0CN805oUI3S0NltcpzwWqx00M4sjQv2SHjDtM8TjuGQAS sfwZU0EgEfIqsRPLCXDH0ldMKmpC4mAKNv9xrJpABWAwHxLjPUQjgOCDNlW17uTkE1/J ul4JLd2sQn4uCi0qALwqA/IkQ/M0jEQgm3NAgwsEgnEhH2/9C1VOp3h/gWxINB2iOORt kgCIQ/+kWwvC+iqmReVhdhGDrWyQu+bEzrP6c28tkTfTFHCG0Jdgclz49eLC6dniGo2A If5g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=/EIvcYkNNA7uNCHReQKx+DoUp53lMP7MDiBbZ5jB3G0=; fh=KRLZTy9C9I/2KtBBAxA6rYjRY+COg/bW6oYCi/wCcLo=; b=lHoK8J06KnniYCV3qV+BcNRz0kWdSczDCAr2JZGw+P+q1t+j7IPySM7Xcn8D+IrtNl s3z5cFY896kbXElZDvuu24a3/eE59kPGSd5OJ9ncNYcLTKG6Xb8mC3qwsYuuKPeRwwZt g35argkdzv5c6s7sXT5NQlLPXLa1l/jMeH+E29BWS3qWjHMNqao/5IZIREwR0fH5y/E6 Qi+IPnw4/YkDQ3eGhfyA5xAxrVhQb6JR6MknZXmc0Z5lnAvgCr6pUwLz5jXpDi+YM2iT oV8aZO+95YVDrjZCnALk9EcFkLTvvXUN6UP2U4dNoXeUwbXcy1L6kGnQmSpoJe40DJYV 4v8g==; 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=mKpb3Fly; 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-158661-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-158661-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 k6-20020a1709062a4600b00a558822e48asi8652732eje.558.2024.04.25.07.10.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Apr 2024 07:10:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-158661-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=mKpb3Fly; 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-158661-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-158661-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 B20BB1F27655 for ; Thu, 25 Apr 2024 14:10:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6843314A096; Thu, 25 Apr 2024 14:10:17 +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="mKpb3Fly" Received: from mail-oa1-f45.google.com (mail-oa1-f45.google.com [209.85.160.45]) (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 C2BA7149C79 for ; Thu, 25 Apr 2024 14:10:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714054216; cv=none; b=GmKjqiyI/NlbhDXbFaRoULw388GjTsezqG78c3nlcM1rS+YTROttbO7dVWAnp3Jw96f5tvscVMXrYLYaEhxyX8RG0Nqp7Stf9evJKHNkKVMquJf8PU5v7C5VitRVyIn/OWAdzLSQk/BRdoY+qkdZxZnh5RI0aQCd2Gnf+qlYOgg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714054216; c=relaxed/simple; bh=PMcrQr7vfTZSRSNcRmkCpyQp7LWBnFY770gK/C5SUSk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=CJjCKzS9qye0fx3GZ39zsKtoDSxc/qjRJWEsO0gsLY2rE5WhBgiQtEePqXJrrcsWMUAR4Sp3Kl7RMLHe9bwAULOBMxRxkp/Omal4FnUiyLEnARkLV4PNgZ5SdWK5qlV0JzchNzHijQBF+ZMGdfW6rv69En+PPKSnqaYI4Ufpvc0= 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=mKpb3Fly; arc=none smtp.client-ip=209.85.160.45 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-oa1-f45.google.com with SMTP id 586e51a60fabf-2351c03438cso408597fac.2 for ; Thu, 25 Apr 2024 07:10:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1714054213; x=1714659013; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=/EIvcYkNNA7uNCHReQKx+DoUp53lMP7MDiBbZ5jB3G0=; b=mKpb3FlyRk44HMN9uezQae6MeQSwZ107oJt0ulYJ5nBVmj4A3A7lp0y0WaaRQyVObP Du/eHRzlA/hviFHvjSYTxzdhVFydjLZMlihRhCFMYFsnxfWu1c8UHTf/VgVA1LY4PxMT eqZARisR0YCl8o/E7fzS3WFnSO6gzS84fxv2jlVGADiEfBUF6njP7By8HVzHiR5cQG+6 F3LNAT1kg6vAfuURYk8v8SFX4k6hKBwtF5cBFjS9mxv1fhrsTxjlPKjzZjhbIwia21Lu UDadC7YV2P13PUcbfgye4ZT78SOFcyTjAYetKIR7AW+06T8qX4x7010+NniHYdgBWh4C EPgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714054213; x=1714659013; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=/EIvcYkNNA7uNCHReQKx+DoUp53lMP7MDiBbZ5jB3G0=; b=OMn0BXpkp4PXuEpOWuDIfuUCAOqioc/jahIvwWvvg7G9Kmimju9DHHHuCBp7Ot2Ndc ex9bDPoSpedt6Snn8jSHKR/nvgYfpPoQVRSFl9JM26f5lGsYADcU14MuR9p485NLYmr2 2G530DLxL7idF9qQ07CzaFqUp/QnwUos/sCLMmT3QTWzZ0t/IDXi+iMaekA6dNuDcko0 FiB2tln0fmBqjylnC1dffsPCbtgSqZ3kVYjxHqpDnO/KUIB9nYL+Sik1y0TZdPB9e78R KPrrJkmCEG4nf7DpuKrlbUYjbnNLKGX7kZRutqOByU9NrB2Z4mxEaWI8uuDFTOvwBYNz 939Q== X-Forwarded-Encrypted: i=1; AJvYcCXZ25mmpWQT9FEBGd0oVFwJNkRuhe99eqPh90vIlHntpPytCAwqqeB6LqTPDsHCukvP7u/YiM44A3L2WcHx1xM5cg9H7JzK0sgwQzlR X-Gm-Message-State: AOJu0Yz15UEzLEDB6HDHtr0WXe4iJcLsX0EVxdzkXpL2Cr8euRRSRHYi DIzUSFyqrQXSd3BpwZlFmyZ0zv4BTfuXROZZh7MM6r7C2/qouL3B/pGpoFD1neA= X-Received: by 2002:a05:6870:e408:b0:22e:b2b4:f00b with SMTP id n8-20020a056870e40800b0022eb2b4f00bmr6380665oag.39.1714054212707; Thu, 25 Apr 2024 07:10:12 -0700 (PDT) Received: from freyr.lechnology.com (ip98-183-112-25.ok.ok.cox.net. [98.183.112.25]) by smtp.gmail.com with ESMTPSA id pz8-20020a056871e48800b0023b5203fc58sm294786oac.37.2024.04.25.07.10.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Apr 2024 07:10:12 -0700 (PDT) From: David Lechner To: Jonathan Cameron Cc: David Lechner , Michael Hennerich , =?utf-8?q?Nuno_S=C3=A1?= , Jonathan Corbet , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org Subject: [PATCH 0/2] iio: adc: ad7944: implement chain mode support Date: Thu, 25 Apr 2024 09:09:58 -0500 Message-ID: <20240425-iio-ad7944-chain-mode-v1-0-9d9220ff21e1@baylibre.com> X-Mailer: git-send-email 2.43.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Mailer: b4 0.12.4 Content-Transfer-Encoding: 8bit This series adds support and documentation for the chain mode wiring configuration to the ad7944 driver. In this configuration, multiple chips are daisy-chained together in series via the SPI data lines. So it appears on the SPI bus as a single device with multiple channels. --- David Lechner (2): iio: adc: ad7944: add support for chain mode docs: iio: ad7944: add documentation for chain mode Documentation/iio/ad7944.rst | 30 ++++++- drivers/iio/adc/ad7944.c | 186 ++++++++++++++++++++++++++++++++++++++++--- 2 files changed, 204 insertions(+), 12 deletions(-) --- base-commit: b80ad8e3cd2712b78b98804d1f59199680d8ed91 change-id: 20240424-iio-ad7944-chain-mode-f5c4e6a856f6 Best regards, -- David Lechner