From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ot1-f41.google.com (mail-ot1-f41.google.com [209.85.210.41]) (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 1C2EC2F84F for ; Wed, 15 Jul 2026 00:16:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784074567; cv=none; b=HUeFSgGieobYDpLnJRLnX3Yow2TsG1X1rV+YsgWN9Cn5uUnhajbtmityTUw/TeSTMsw1Doqmev3/nG7zIM236ul+mINiLii4XAwMGnMiQFs9GH/KL8Onep9/Of2NVbCIK2iMYigDY4N6JzIOcHMxDEMmUC2QCwNPeJDqcm+PWEE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784074567; c=relaxed/simple; bh=N5TlvO5iZe9P2vr4aiEd6RD7NLTdSfHOkOJZXZGkKtg=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=K77y7ptA9NzEH8ARYs44H69I8JzmxYy/vwSlMfvugGbPeou77vpFGx+1ZENviLkqFtNjSQXB2VDYifPe2jJMpbXxEuhFY98RY0BrgjIgpGNtAF8aceht7lkJ8XZ9Jsf23BwgYLTmJZPJYHztHdGWLvNLgxyDtHN7vIO/YMjTCsM= 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 header.i=@baylibre.com header.b=MihXKCjC; arc=none smtp.client-ip=209.85.210.41 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 header.i=@baylibre.com header.b="MihXKCjC" Received: by mail-ot1-f41.google.com with SMTP id 46e09a7af769-7ea9c6ea7deso3386852a34.3 for ; Tue, 14 Jul 2026 17:16:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1784074563; x=1784679363; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to :content-type; bh=v20txCudxnU90G5a1KJ/IuEQut4SBvkqPVwM403HGOg=; b=MihXKCjCc5SM/Ok9Wa9khUv58N/Mo8kEs9gkbbhUlNrMj7YbMSaDWjVKukvIemJ0E5 Z3XpF2+BmkNAQ6eEZnJPO6c+TCt1ska6+572USfhLZc0LwMdE8Lhxd+bHGZt7+lUxcq9 G31JHdQRkf4FOPcVwVXlBixs1QH4XDpHrSiRNw9OWQQnWVOWmlW85FzW0BUVwShNM9WF EVGe6TW7h0JzgF0heuEkUfAQQWa3k8QxCUwp5NHRIV5CZUdgCPpN1WaMu8uCblOWEqQv lEB66bDThSuxj2GwiLW7z3Ui3NtfN3dzQqV1HaJmCdPjvOHL43zDxhujVLan8pZ93WKl ikgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784074563; x=1784679363; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=v20txCudxnU90G5a1KJ/IuEQut4SBvkqPVwM403HGOg=; b=lQ5A0Ywt4rurFFNwS9PJSlfXKMiADxHW8dG+UbTETloLQkPknu3y/Vu8fuTG0wxs/y UeG6VeYznDG87VAEg4yv0cgfZjuWbX6/0OYZvcefmntxzOkgCmdhrUnJ6R/fysLE6GhQ 85T+Yp4typ8DIMBYn3tC54qogjXIhWwZtr+iYvkH7FMgiTDaMil87pNL+NPgtyftUAEN XaHd6wtyBcm0cvKuU9vSCXusWV5Z63oPD2F+JnDwzcqEt3yFuFNAxVOdD0xuvRjSTLVV kzOIgv5SmG/25CrqG7imGIv4MBaMt8op+ZzK0MAZEpvOoYbRC2EZNSXPtViDAEPeviH+ uzxA== X-Forwarded-Encrypted: i=1; AHgh+RocHHiUOKny7kGHCej4CpfqoIYZ1Pak8HE4aQ93ssAncfvECdDKgNXDxlRsLZKZexYkXdPxkGClAJqR@vger.kernel.org X-Gm-Message-State: AOJu0Yx25U5hgFgw4/UsAOE8ydj2LhVf8OlmEjz3JiSXnsiu549r6Boa kZFbWAZODjC2+MrggzkJP9n2KitGhVUzTl1XR5D7hHLf2+33zEiqcZnNv8WdvQkzRKc= X-Gm-Gg: AfdE7cn6i+n8UsyGEgN/6VVAZ1sXdIJlqbok6ZNII0o5E2nkBt9/1Z3RQH9vzmBy7Zq JIJauOBf3iEhtNNu8xz9f2+ORMeZaA99xoXSxfA+/SFwRtcF5mXAWjt+CsWI+Jpg9r/ygmecmJ7 peukmOyU2eHXQVXhsPMd0mLi/nElkkSddgc2pwaK4ofnmzMBdvDe5je234mUOVW8/n0mccd66Ef jsEqumzhkCAGhxPjpGoLq/OdPfpv/LZV1QKnM5adxCATur8bOsiaKgnJ1NGRbz5gpXv5Q2m+RD2 mJ/XqnWffSaBnUPZxXXyUpfXpYjQ942mgVZiaKiZRMqszVc4UY3Uv2NjeBCiZ3F/YYWQje6XvWd JXO/mC4rvyXizW96BwjqIgaWztimqKfxP0nlk1I0I4Ixf7QE+w2It7OrGPPesOLKBXaxLA2K5tH Mu95+N+PTdEIIdBr1Te5z3ZQ60fA23JOeYs01YywbcivGHzvhFYNWwhnMw0KAgWj8= X-Received: by 2002:a05:6820:188f:b0:6a3:78bb:c885 with SMTP id 006d021491bc7-6a3c62ada81mr3315258eaf.72.1784074562921; Tue, 14 Jul 2026 17:16:02 -0700 (PDT) Received: from ?IPV6:2600:8803:e7e4:500:280e:69fd:7612:d5a9? ([2600:8803:e7e4:500:280e:69fd:7612:d5a9]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-7ebcb2bc241sm16460743a34.20.2026.07.14.17.16.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 14 Jul 2026 17:16:02 -0700 (PDT) Message-ID: Date: Tue, 14 Jul 2026 19:16:01 -0500 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 5/8] dt-bindings: iio: adc: add ti,ads122c14 To: Jonathan Cameron , =?UTF-8?Q?Nuno_S=C3=A1?= , Andy Shevchenko , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Chris Hall , Patrick Edwards , Kurt Borja , Nguyen Minh Tien , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Conor Dooley References: <20260714-iio-adc-ti-ads122c14-v4-0-25f8e3084485@baylibre.com> <20260714-iio-adc-ti-ads122c14-v4-5-25f8e3084485@baylibre.com> Content-Language: en-US From: David Lechner In-Reply-To: <20260714-iio-adc-ti-ads122c14-v4-5-25f8e3084485@baylibre.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 7/14/26 6:21 PM, David Lechner (TI) wrote: > Add new bindings for ti,ads122c14 and similar devices. > > This is an ADC that is primarily intended for use with resistive sensors > (RTD, thermocouple, Wheatstone bridge, etc.). There are a few unusual > properties because of this. In particular, the reference voltage source > and current output requirements can be different for each measurement, > so these are included in the channel bindings. > > The REFP/REFN reference voltage is usually just connected to a resistor > that is being driven by the ADC's current outputs, so there is special > property for this case rather than requiring a regulator to be defined > to represent that. > > Reviewed-by: Conor Dooley > Signed-off-by: David Lechner (TI) > --- > v4 changes: > * Generalize temperature sensors to resistive sensors in commit message > and bindings description. > * Remove leftover paragraph from v1 in commit message. > * Added if to make clocks and drdy interrupts mutually exclusive. > ... > +# /DRDY out and CLK in use the same AIN7/GPIO3 pin. > +if: > + properties: > + interrupt-names: > + contains: > + const: drdy > +then: > + properties: > + clocks: false Doh, I thought I tested all combinations, but must have missed one. Sashiko correctly caught that this is wrong when interrupt-names is omitted and clocks is present. Tested correct is: # /DRDY out and CLK in use the same AIN7/GPIO3 pin. if: required: - interrupt-names properties: interrupt-names: contains: const: drdy then: properties: clocks: false And my responses to other Sashiko mentions on this patch are the same as last time [1]. [1]: https://lore.kernel.org/all/f1c5be4b-6bbd-41d9-a152-ee480988f44d@baylibre.com/