From patchwork Wed Jul 31 13:48:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Gamblin X-Patchwork-Id: 13748819 Received: from mail-ot1-f51.google.com (mail-ot1-f51.google.com [209.85.210.51]) (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 A18A21B0136 for ; Wed, 31 Jul 2024 13:48:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722433689; cv=none; b=DZFDB8ty8gO1OoFVvDU9srePOQBF83FQ+9E8L9eQkdTWQommvlo9J0uwrRYSkgdylcgc9x8lqkHh6TCAhgBSF3n64uEWhhv7lqJVy1C2ckVa0YAmbavisgs1+QDgsfbfa9NaCHRHC+aynrbN0LpiNSaV9PKtfF2MH6TL7/h+kck= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722433689; c=relaxed/simple; bh=jDRgG/QLRcrZ3k33DG+HUit1LgtQ0AiJ4a37RlX/MEo=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=iX8VS/9XgkDDIJXTwmY06Em8+vFXxeAkaOmh3cSJ3nsDWh7ZI1D2u8w67xQxYXYDmBJnO6qGDIyKQaQ4AkpuEf66+RI0LmNZY6rfvWxES5mEKWEqu203uV46gYDHJ0D+K7i/hkJ5g8Zd1thgC72t9br+3Lrgqre7TIWf+JfMAeM= 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=nwL1aMJR; arc=none smtp.client-ip=209.85.210.51 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 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="nwL1aMJR" Received: by mail-ot1-f51.google.com with SMTP id 46e09a7af769-7094468d392so2265625a34.0 for ; Wed, 31 Jul 2024 06:48:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1722433686; x=1723038486; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=bdRZF0zEVgJezgw1kjlb7+blA/W6S32stDzVeGft97I=; b=nwL1aMJRIMYI11TxcL0iw+A+yVDajClnIsgVIbNSuH1r6VmSu9/6xACu3BPdSqa1+J l35qlAHP4lrqIBRqkdFnNMTb10VTpqqnUed3Df7y/ZerRAOjpb2fobQoIwiZHk10Dc1H Xr6/Z8llBJpGg/vNozdRsikL7re54tv45zPs8A0gEzJbu22W2an6CMiUuFja4gLBC82E Takv2hd0fsqPGIau4y1wWEoIcA7NBUDqixFl0Jzoc/aJTPcONh5XqbiEbCY5rr9XSZrc 22ajVsKWlEZD9sV33DRcVqTjtczX1szHhD1yOHIgmujxMPbDPx04aFTm4fhPMX5NQ5BT 9tjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722433686; x=1723038486; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=bdRZF0zEVgJezgw1kjlb7+blA/W6S32stDzVeGft97I=; b=DHaif2Sz3ZV/dGZrVr3BBu1EOZyz6FwSNK/jJZPTCz8qMoNYcHtxe2fe4M/L6cRY4k c+KgpRHle2qd2XTZ4PZdplk6LZvXv+hQlnrKdupY2ukh01JH+STudgE3vab/2gQzrTR3 3lboJ99hCuhioZAyMzAN7I1m8/0rxufuWPrl+enOgdu3iPFQXkVHkrekBmyTDLMnWghz L2qKhAQpVaev0s4mspfWlng6gRust9N/9tKgsKik4bfW9YxyTZdGloeeR4fJaGk8+ErG J1UOu4ZNsGs9SzvKWddO/eWhGH6iHSLyamY3bPpzpqXnd7EYJwTL54JQ8uiNnjMZTfBU roTw== X-Gm-Message-State: AOJu0Yw+NIcXXYD5dn/EqTG0U+51EMbWy2LKHER1/u3mGwZodYjzvT/V W4KfBcvmFF0FX8DmmOtj0uZO5tH0dl1NuREqSJ49OXvgfF5yFGP3scK2uanDfjA= X-Google-Smtp-Source: AGHT+IFuGK3+GfRNWwUpwAOBceLvx7l5m5dsWdus7T/LXIS+gjchpPdFnIJvpqhgswgrT52cWnyV2g== X-Received: by 2002:a9d:6e11:0:b0:703:5dbc:1aa9 with SMTP id 46e09a7af769-70940c18633mr14176869a34.13.1722433685650; Wed, 31 Jul 2024 06:48:05 -0700 (PDT) Received: from [127.0.1.1] (d24-150-219-207.home.cgocable.net. [24.150.219.207]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7a1d73955ccsm746209985a.11.2024.07.31.06.48.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jul 2024 06:48:05 -0700 (PDT) From: Trevor Gamblin Subject: [PATCH RFC 0/3] iio: adc: add new ad7625 driver Date: Wed, 31 Jul 2024 09:48:02 -0400 Message-Id: <20240731-ad7625_r1-v1-0-a1efef5a2ab9@baylibre.com> Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAJJAqmYC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIxMDc2MD3cQUczMj0/giQ10zgxRD89REIwtLUwsloPqCotS0zAqwWdFKQW7 OSrG1tQCtbOUMYAAAAA== To: Lars-Peter Clausen , Michael Hennerich , =?utf-8?q?Nuno_S=C3=A1?= , Jonathan Cameron , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jonathan Corbet , David Lechner , Uwe Kleine-Konig Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Trevor Gamblin X-Mailer: b4 0.14.1 This series adds a new driver for the Analog Devices Inc. AD7625, AD7626, AD7960, and AD7961. These chips are part of a family of LVDS-based SAR ADCs. The initial driver implementation does not support the devices' self-clocked mode, although that can be added later. One aspect that is still uncertain is whether there should be a devicetree property indicating if the DCO+/- pins are connected, so specific feedback on that is appreciated. The devices make use of two offset PWM signals, one to trigger conversions and the other as a burst signal for transferring data to the host. These rely on the new PWM waveform functionality being reviewed in [1]. This work is being done by BayLibre and on behalf of Analog Devices Inc., hence the maintainers are @analog.com. Special thanks to David Lechner for his guidance and reviews. Signed-off-by: Trevor Gamblin --- Trevor Gamblin (3): dt-bindings: iio: adc: add AD762x/AD796x ADCs iio: adc: ad7625: add driver docs: iio: new docs for ad7625 driver .../devicetree/bindings/iio/adc/adi,ad7625.yaml | 176 ++++++ Documentation/iio/ad7625.rst | 91 +++ MAINTAINERS | 11 + drivers/iio/adc/Kconfig | 15 + drivers/iio/adc/Makefile | 1 + drivers/iio/adc/ad7625.c | 626 +++++++++++++++++++++ 6 files changed, 920 insertions(+) --- base-commit: ac6a258892793f0a255fe7084ec2b612131c67fc change-id: 20240730-ad7625_r1-60d17ea28958 Best regards,