From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ot1-f50.google.com (mail-ot1-f50.google.com [209.85.210.50]) (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 16D9942BC44 for ; Wed, 15 Jul 2026 00:16:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784074566; cv=none; b=pzJ6/sx8vSRCkZsYIQaszpoKeRIdIA51lp8ZP/gX/LYFDGxLcffjsfGZjjs6JS3kUubcOSysoFN+X/u2iocXp8ZyTIUJjGGzeNFsOn5+gDHVxcSwjAzLs7R6JbAXSzjYpO8Vx82yBHb8U4puZmN1CgRV0l39to1OgUg6WsmI8/8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784074566; c=relaxed/simple; bh=N5TlvO5iZe9P2vr4aiEd6RD7NLTdSfHOkOJZXZGkKtg=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=sHhZZJ5qDE38u0SbjAGMowFPXZbL9NbVDil/8thgHn3DMqMYaXckej+u8UQZ6pjRJImbwfU5gDCfTFdp1bvDsXQDLAVi8nkTYzNBGqFS8NnKFKp2Dzq6RKsVvAp3ovxxlQQJugSR07R7AHf+mcFdFTqMLlD18CQ7HiEElQDuWHs= 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.50 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-f50.google.com with SMTP id 46e09a7af769-7ec3b429a3aso1258181a34.1 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=jv72XfQGEr+9FfQtzW8SVXorE+hPwh9cSD4zvmjq3ecdPxoLKrz+g7CgfjLdohOzav lGsDIHJzGiB1gemBCkUKaqLkNXRmdhvv7WeQmH6SPhOe0VqQalfbk2ff3pnIfsMyalXn lq95rYBSa7qLk7P6D/LBHATLD6eWGFiQGVhvVQrl0av0A06TP2cjs9cGXmjH0I1jacg+ s2OQW3qZGu8LWda6c2zdZTFpKx5kFzFR9C2nT/b/McdTau6fKFfhY3th9oUQeLkdwNej y/Zk4SZIhpMr5Kmmh9YdR3kfasoDVavnSGuU2l9Ab2eC9QJxzQLJQp03jeBeThgXiQTn ct/g== X-Forwarded-Encrypted: i=1; AHgh+Rqh2AY/A7xWvzdrFArJvp5ATuYZTlMynS5lU+C6vGNPIFq8yFwfsEkYZNDvHDv2Ze/r6KMYOtkdZYpEkx8=@vger.kernel.org X-Gm-Message-State: AOJu0YyopCgUk/YX7dyd+YCYl6/ejfsbHGGP2tyHFyPnZJ4Lo8bFOUyH NJZPq5FGkrgzU99+RSaj93kyE2IK0o74A7i6+q4fpHVtGw8k2edheOLg0qCRQi1zng0= X-Gm-Gg: AfdE7cn80c9TYkMSsH2Ys0RDXb9t9XAA6bVGYRdrB2ihRaOfpq6qwIzWquQip1QizER YETbUL4iXT/mplVA5T9IHEd7uY2VnzelM0+Nab4Ftv4ehSli3e+pSyqDnzK9QK3Yns3dq36H1fL 6bZO1sQMUejnGm1hai6F1gqMMGo2PQWAx4wTxMkvwl8gLBSVrHo/5+IriLfp/yonvwDPYo/H/y+ //HtlXECRG8Bt+2ElD4bvxIC98HnYj3RSXoCX0hOoKiCmPhh685VhCO1p8895RH/tf+WBpo//jS kU03/Mdfr5Bvs+0bZXT2jLb8PYdtrPOkCnna07SLoOk3tNbqXDnEgliPErKfMuxqne4ZUI2SXIb Vo+et6iT/W5fD7cRrg7rysDyWu1g6Joud0mWhb1NhSWPO7LOFEG+Bs05UNQSvJKPtlsGNqPCE5g Czm4E9rlOgaoErGUWoLj74mQJfaqAeXLlJxy+/uZ8Xk9clVo4ehEmUeP+knLpRxlQ= 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: linux-kernel@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/