From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-vk1-f173.google.com (mail-vk1-f173.google.com [209.85.221.173]) (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 EA0981DED49 for ; Sat, 22 Nov 2025 00:25:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763771146; cv=none; b=mRTJm2JaSQe4VxZVYoAak+jA34iX5p/w+sAICGketuAYk1jbozd0eLU4bGJn+Y7vWL3pJPRBewTnR2Bm6P54gz9kBn+kayLId5FtwgWbIsstAx7pwsAxIaG7arStK5mcB20baI6bw94/tQrsLVb6oYQ3qerRbOhQWWbXeDOyScs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763771146; c=relaxed/simple; bh=3FbzkVndmK8QpJownEkpXhfdxMtc5cCwZkNZ8Jg1ch0=; h=Mime-Version:Content-Type:Date:Message-Id:Cc:Subject:From:To: References:In-Reply-To; b=A5TlCyfMlOWci/L4D+sJ2jWQVNYTdDbm4fFQXXIxllXjnaVhh+eKi33IORqTXX0RzpulVCk2xKFhvmE/oAuZPaPfVjPdhufE4k/TRpKachkv4WXR2veps/0ysNEKHD3zp2HJXZP2xqoV+N5U2AbC56x64L/MXnetih2HfWqvOLI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Jo4sToj2; arc=none smtp.client-ip=209.85.221.173 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Jo4sToj2" Received: by mail-vk1-f173.google.com with SMTP id 71dfb90a1353d-55b4dafb425so2303800e0c.1 for ; Fri, 21 Nov 2025 16:25:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1763771144; x=1764375944; darn=vger.kernel.org; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-transfer-encoding:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=0W8r43+CmjiXPg0JACx3RiyUF49vynFvG9uLrKdatF8=; b=Jo4sToj2OjpByJ4hiwCVPZ4hlAydPlMvRe/aHrINtxv06tJqsoz7vX0INLlI8nmld4 2tihMeUCHmJlfRJNV6nQUEW6gxQhLYrLM0tCWt4nrNHcBwESPkzXBqur8C3xEEDrKXfS ltoBUw/SCrubLVlelFmHGfFcn2zNkdzyeoabUaDVhQzRq+XE79MovPE6lfXGomdgDuGX mcSA+/Wt1CC8Zw/5oJWqG19C4K7Myl/20i8xq9oWRMVqqa5y/SaQEy7qCnHlrEtI10rS CWLulsBS4VVnka8dvzrxziOpYsZfWa7gke9whHqVtEdC+/McYYo+R5MZ8DpvqFFVdtFN 6rrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763771144; x=1764375944; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-transfer-encoding:mime-version:x-gm-gg:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=0W8r43+CmjiXPg0JACx3RiyUF49vynFvG9uLrKdatF8=; b=GIqQnCRHNo5z2uInk6hFUDTqE7lehXfmvX42WP/7d7ybgQRrk3scb5uE+u/CqyOfEH Fm5yrT6xpVvrqZ1/trm72GIq7bzHntussAKOoMueT4exB1v01J923QorUcbqKJlZTCC3 rQ5cy0kiVVTb3GOWnSr2j4PBdc31hrm4UI/ly1rWqcASVvajh78wyBsVqFNcJcqoBtSA RKlY/2bl0oWL68em3cUNDUcNWyfdzULwq05Q5Dd1Gjr38GlK9WCQ3/ES+a2FqhsXpeoa Jc497pq0AgMOvZA7ZH6Pz6a4hJGm1VSh1SFz6qN1/HOHXAbxBkWHmiB84uCQsk1FXyUY xydA== X-Forwarded-Encrypted: i=1; AJvYcCWj47cg50T5LIgB5Raz+QCEIDgOUF45SYED2+ovj6lQQdkXO7eigULG3VatEzyAprsnvDmXzvFoHKhhoXg=@vger.kernel.org X-Gm-Message-State: AOJu0Yx1iyYfZIeelZsDCPrA/ZL1YvQX7ZWon9Rp/7H76x0sTHSq2Usl 9jLKQ9lrNwWApEEtpLlgb73jAACydOVdvZOPU5htQh6Jhj3/TX8oqSzAxhd2RA== X-Gm-Gg: ASbGnct0VeQXMXWuyjhrnDDrMuboDVjZPZfxPpEVoVaxkABkvPBKYSH21FaYNoawCau 8shL9hfR/MIB1VvP/wEcysejlnVe2+0VvedEo2Kly4pVLqzFQfTAlLLj2/qYQdoRAXozCINn/Pg kjB0eFHqZy7ByZvxUIfhpQVJKEs8i//J6z82lWn817OUqK2WaMMrBV5lQJXAiKd0xqSNaMxntZr z8wMxVZQz8uaQE+4Tq9jfX0MkcKAgldcl8DMzIg/j53LXMvp5TexTU+ICD2DQyhrPMHG7QZoSpr 4HmOH+dMdqGfKPo5FNDwl0vukexo7qiYkrnZVn+D/8ekUydbwW6CUg0z00hsXdjDTY2xRi21Dma Vjda+zlDE1E9+TAv4Uz+uJvETx0zXoFJtR4awMtbRZrAxtjBYDXDo1VJx/+38T0rpN2MJ1jPgSC KP7us= X-Google-Smtp-Source: AGHT+IGz1qzq15xr6FFYF1N+SU5pv821ORcu/7J8UUR75MhdpYi6aaDdWxpQ+x4HwuY7ULlTff3Jag== X-Received: by 2002:ac5:cda8:0:b0:54a:a2a3:b16b with SMTP id 71dfb90a1353d-55b81a1729emr2689162e0c.3.1763771143836; Fri, 21 Nov 2025 16:25:43 -0800 (PST) Received: from localhost ([2800:bf0:82:3d2:875c:6c76:e06b:3095]) by smtp.gmail.com with ESMTPSA id 71dfb90a1353d-55b7f7749f3sm3098987e0c.11.2025.11.21.16.25.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 21 Nov 2025 16:25:43 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Fri, 21 Nov 2025 19:25:41 -0500 Message-Id: Cc: =?utf-8?q?Nuno_S=C3=A1?= , "Andy Shevchenko" , , , , "Jonathan Cameron" Subject: Re: [PATCH 1/2] dt-bindings: iio: adc: Add TI ADS1018/ADS1118 From: "Kurt Borja" To: "David Lechner" , "Kurt Borja" , "Krzysztof Kozlowski" , "Jonathan Cameron" , "Rob Herring" , "Krzysztof Kozlowski" , "Conor Dooley" , "Tobias Sperling" X-Mailer: aerc 0.21.0-0-g5549850facc2 References: <20251121-ads1x18-v1-0-86db080fc9a4@gmail.com> <20251121-ads1x18-v1-1-86db080fc9a4@gmail.com> <32e76bff-f535-40ce-88e2-7bbf7da87620@kernel.org> <2676d37e-fe3c-4504-8990-fbee0ce8407a@baylibre.com> In-Reply-To: <2676d37e-fe3c-4504-8990-fbee0ce8407a@baylibre.com> On Fri Nov 21, 2025 at 5:40 PM -05, David Lechner wrote: > On 11/21/25 2:56 PM, Kurt Borja wrote: >> Hi Krzysztof, >>=20 >> On Fri Nov 21, 2025 at 2:10 PM -05, Krzysztof Kozlowski wrote: >>> On 21/11/2025 18:16, Kurt Borja wrote: >>>> Add documentation for Texas Instruments ADS1018 and ADS1118 >>>> analog-to-digital converters. >>>> >>>> Signed-off-by: Kurt Borja >>> >>> You did not test it before sending, so no full review but few nits to >>> save you one round of reviews: >>=20 >> My bad! I will fix the errors. Thanks! >>=20 > > ... > >>>> + interrupts: >>>> + description: DOUT/DRDY (Data Out/Data Ready) line. >>>> + maxitems: 1 >>>> + >>>> + drdy-gpios: >>>> + description: >>>> + Extra GPIO line connected to DOUT/DRDY (Data Out/Data Ready). T= his allows >>>> + distinguishing between latched and real DRDY IRQs. >>> >>> I have feeling that you miss proper handling of IRQs (e.g. active level= ) >>> on your board. >>=20 >> Can you elaborate? Should I specify active level here? >>=20 >>> > The problem is not about the levels. It is rather that the behavior of th= e > interrupt when disabled/masked is different on different interrupt contro= llers. > > On some controllers, if an event happens while disabled/masked, it "remem= bers" > that and will trigger the interrupt as soon as it is enabled even if the > condition doesn't exist anymore. Not a great hardware design IMHO, but th= ere > is real hardware that does this. I can attest to that. My hardware (RPI 5) does this haha. > > I think a better wording would be to leave out "latched" and say that > it is needed to be able to distinguish between an interrupt triggered > by the DRDY signal vs. an interrupt triggered by SPI data. I'll take this wording, thanks. --=20 ~ Kurt