From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oa1-f46.google.com (mail-oa1-f46.google.com [209.85.160.46]) (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 6155641746 for ; Thu, 14 Nov 2024 14:47:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731595662; cv=none; b=C3Ow6TXrOLXeGBO9b0AsoIT1+8X54aLTP9Yf1sh7eGtW5Qid3uMRMC56L6TasshRwz1GggIrgDFkVU7166CG2bEgVCv9yTlatW1Zdn6AtZRvcx/5ebPgP1ZcfnuFcAPz/IEx5wm2fTfaDV+oj8nIK+ic6lBz1ZUSYhbIyCFzdTQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731595662; c=relaxed/simple; bh=D87S/2iSrjHxhqbhQk/BOfUi6afFT8Obf1Ai+4fFrJg=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type; b=KDmlA0v5mfcqigkQsr2usMlSwXW3E+mlaDY2wGKjqexVCJq/wqzmpBkvffn4/GkNGYTz5vuO1vdbMWoC/jFrqZH6GKhR1Ng0FVWZ6KO94tYAc72s61UtiAPPnLJ10U9WttoMDyl7h/w3kllshiUt29oJjUFXGsQHiGi3xgtQ4TU= 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=rllvoBDo; arc=none smtp.client-ip=209.85.160.46 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="rllvoBDo" Received: by mail-oa1-f46.google.com with SMTP id 586e51a60fabf-28847f4207dso324725fac.0 for ; Thu, 14 Nov 2024 06:47:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1731595658; x=1732200458; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id:from :to:cc:subject:date:message-id:reply-to; bh=cLiPIwku9aoV6FsuTm9hcLzf19Zpgfkgh5a8Q3+4iME=; b=rllvoBDowtvMqUajVenWBtI6Kk8TXpIzLTMwdi5NrHAcJN7a0uZEbfEi0va+PA/ppW uB2PkItf9GOp4KKSb4rfcA22I0m7fb+s6I9QMV2ELkJeOGvb70VHdwoF0umMtNBb4u1L eqrpHE1/ooKJyFYDvDQpS8filBbTD4IeX8KCKQVjvHehdKq8UgjLNK/ceGQdPfsphtDy lzaukoeYQmaPvx/ctYaSjc2YEsiBm5BXlPa6AgC8lzBYr7EyKSYdAfzUR6b6eIPMoJLf t9z6B4uhzzezr2uURl3lSvWWz3KzGWMzYCtzLjxSOfINfEOk7I4FgY4lAcGyJQvEnTbr KhpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731595658; x=1732200458; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=cLiPIwku9aoV6FsuTm9hcLzf19Zpgfkgh5a8Q3+4iME=; b=LTgQzOqJeypIOzslNcZ69zG4bdtSfMBzHj0lTkg2A2smYhnOW3slFZBxaA8/lB7Jvw xOFt4XQGAdUVBA9L9z+67dc3qqnzSWYvvPM5h83p7P9Drx+lWiMMd5W827TPjh3ywYkm rXF8PF7pGHka8dWG/ymlu30IGcF0M+zXtPbdLvqaHc41Ay1qdGB1rGM5xSN8TlqtP+WT I4WgTX7O3xch4lheaQyakk6CLC+aeOfCJIGZPFZxnxEim0k7nWrPdeBE7DGFTjGmeH3M /LcbNmEw116RGjF5C27F3klACUHhUfsBYKkygDYdxpmq2MbhRCdEUhcDDhjEbtie1iQk AhwQ== X-Forwarded-Encrypted: i=1; AJvYcCXwOaf62hqr8qNbPJ28QMbOAwVQAplmWvioWogHvmWYGKDL9fHVU6FDTVyFEi9WaHbo3OLVqES+Ukc=@vger.kernel.org X-Gm-Message-State: AOJu0Yx4cJhdwJbhQPcdXDjxmSAYyQpZKb2JTDMaZ7TS7PsQKvXk4TgY +1vpEY3K3yx/XjAW6duKpNyD+jBSw0B6ugjafZFtvpriYMQhI4l0pq2DLZ74Gx8= X-Google-Smtp-Source: AGHT+IHBm+MOajtqOgOa+JMdH4SOD2OUJSIzHMmwYlCDI8AZFsAhsMFjNqy7TNSKark8sXQo5dShXg== X-Received: by 2002:a05:6870:bac8:b0:288:64a4:fbea with SMTP id 586e51a60fabf-295e9042896mr8021848fac.42.1731595658412; Thu, 14 Nov 2024 06:47:38 -0800 (PST) Received: from [192.168.0.142] (ip98-183-112-25.ok.ok.cox.net. [98.183.112.25]) by smtp.gmail.com with ESMTPSA id 006d021491bc7-5eea0230e35sm347718eaf.33.2024.11.14.06.47.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 14 Nov 2024 06:47:37 -0800 (PST) Message-ID: <6c034f2c-1f07-4dfb-8e65-dbf41e803f01@baylibre.com> Date: Thu, 14 Nov 2024 08:47:36 -0600 Precedence: bulk X-Mailing-List: linux-pwm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v6 8/8] iio: adc: ad4851: add ad485x driver To: "Miclaus, Antoniu" , "jic23@kernel.org" , "robh@kernel.org" , "conor+dt@kernel.org" , "linux-iio@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-pwm@vger.kernel.org" References: <20241111121203.3699-1-antoniu.miclaus@analog.com> <20241111121203.3699-9-antoniu.miclaus@analog.com> <4b48ae8e-4eba-4d86-af8b-2b749c53639f@baylibre.com> Content-Language: en-US From: David Lechner In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 11/14/24 4:39 AM, Miclaus, Antoniu wrote: >> On 11/11/24 6:12 AM, Antoniu Miclaus wrote: >>> Add support for the AD485X a fully buffered, 8-channel simultaneous >>> sampling, 16/20-bit, 1 MSPS data acquisition system (DAS) with >>> differential, wide common-mode range inputs. >>> >>> Signed-off-by: Antoniu Miclaus >>> --- >>> changes in v6 (implemented most of the review comments in v5): >> What is the plan for addressing the rest of the comments? > For the rest of the comments I think I replied inline in the previous series. > I didn't look very close yet, but at a quick glance, I saw that all scan_type are still only signed, there is no unsigned for when the channels are used as single-ended. And the scan_index ordering is still wrong. This makes me doubt that buffered reads are working correctly for all configurations.