From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oa1-f47.google.com (mail-oa1-f47.google.com [209.85.160.47]) (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 222C43438BB for ; Sun, 12 Jul 2026 16:07:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783872466; cv=none; b=Kd7RpaZKod2md6utxwAfSXKY9aT3XFFGfnf5B+AW1v45MHuQ35SZPPO8+ls4NSd7NbfQY7yUiI0tlDtyx7t2jCDjN5/Ut59yO8vKQL0OfIN+6AVs3vR2sHylgWusGWHVTpCSZ4N0teWmpWEVQSQfqB6IOK3zLU1fGxvD8qUZWQs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783872466; c=relaxed/simple; bh=/Lvsg/ZJR/lfpgoUMIiOWitMqmPb9MoVhYs6ClRrfg4=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=jufNjZYR9Ql82O033BBmhmp0pu7ErULs7cBxUKi8T0Ply7VbyzzBaEDX/xnS3FBoR7zJjOfDZ6fIHmid33rcpR2quyOpFTy77glaLuT/rrFfaQgjxSAH2xQarxNIeV9/WyHRVupWaQrQ1xo+BK8G+MfhVyaCvetKjysDx4UymqI= 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=bS5NqABn; arc=none smtp.client-ip=209.85.160.47 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="bS5NqABn" Received: by mail-oa1-f47.google.com with SMTP id 586e51a60fabf-44cedfaab6bso1071879fac.3 for ; Sun, 12 Jul 2026 09:07:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1783872463; x=1784477263; 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=uVpYadVTuJ7Oa9ZoTB5rgj6lqcEBWKLs7QhoK6MvLlk=; b=bS5NqABnb3IrzzCXGNzFQUFOq3VQgzYZKi+bhB+usfs5AjjguDll7xUPIPvq64mD+Y VZCN/PjROGVKPdWskoa3068iA253zDh6Da6mCDh1pmmOmmySOw6I/CaQJSJplgpIjCen xmIBp3/rG2TOu1xICOgMeFMyFYM/DvtqqkvMlVdqKvZdlxNNpI5C61GK/EblxEzFp6Ju RyzT4/IhGjkMraU9Y+u0RF6oYavekZxC9fxJJPcDFi+pL2pxXpDnrL3dQyR+ktGLQaKM uAds6MENRCW2CHoKYKDEt4MGjsE5YTeZnfPU0dGZZ4W3Tp3KXR2oep2ud39/+RsWx+1j qK3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783872463; x=1784477263; 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=uVpYadVTuJ7Oa9ZoTB5rgj6lqcEBWKLs7QhoK6MvLlk=; b=Lz9hRkD0df1jHmWF/n9965SWc8OObtlxdgjVoVRwcD/bEmMoyvrtPX85mr4/LiKthP jXjSMcibOJt0A+69g6M6LO+v3Jz4abHmI+U53dDw17VY2fwtq0jtDu3R3P1O7kFRH09+ MOGKUzGTy94Yv+QzEMdHURSnCkC2dnByp3W98hF+J971CGuZtmLHZ/B29UYlHk/1VORH HsAgWvisrvZnDObc8Etvf0tYxKGy4zpixG3w7RO1dFjRyG6xDZ6EUHwFwxFZ8T4+5IWr h59X7qmAjZFNV9us+D/TxiL13amhEhLgSTcJl9XO0qv1zOlxHkuB59q8K6nfVcwi/RBC 8Bew== X-Forwarded-Encrypted: i=1; AFNElJ/5oY6tVn5dhk2XsdXPN36hQynf+EC7ay53LzmUwxJKXclQL8xB3dItS+JD+lIDO6MK+6TO5s04oTk=@vger.kernel.org X-Gm-Message-State: AOJu0YzrJwDl4+VvVVxdH4WsNws2N93qPFLfMGc5ySkSWKVUwO6GSGGA tVEDF/1cLQyx8OsuMd3K8vcQzPNIJrepwIAHFq6Rj4JUmXut/yJ53IXvjEmEBjL9UiM= X-Gm-Gg: AfdE7cmfwBv0sjmupu0ZP3Sw3Cq8pCnTNt22+5EbBEdTBk3X83S26n6t5k12cEzTnrS gquFHKGw6U/05vN6nVGovwsHxIFv+/bUcr7dfMt3cZYMtpnKHxM3U+hU4AmIOLgZWmRE0jnDgo3 v8AK6TnRbwM5aX5ZIhU09gtZnCqBBeHTXAjLZOuuGCowYb/qIq/c0bWQcPvwTg9schjLdT2TsYZ cMmuQp1SrBt58IVtDJ6veVemX1zZP0KkUObzDZjQ1ff6bbKi7hBoyg0StZ5tgYO/RtLw6tuR77z qKPxo1b9R6Lu+EncT6NAYBr5zIDV5vmqU0E7nZUVYxiurxA/ZVdykpscGC8hrLShVBwNUyA2Yhq Xd4ZLZbTa6EaWoRRC7LLWdJBwULJPgHCtGqjTlQ9laMQL4RMXf12j/WjseZ4DKNZYVFWQb51k3j edl6G5o3aFLP7r5IluAI73nFwlsi3MH770/R70TjygeAhMchA8di38ro3q2B69Shg= X-Received: by 2002:a05:6870:e187:b0:449:a0db:5917 with SMTP id 586e51a60fabf-451f1445225mr2893250fac.41.1783872462881; Sun, 12 Jul 2026 09:07:42 -0700 (PDT) Received: from ?IPV6:2600:8803:e7e4:500:3af7:75b0:bf02:8cf8? ([2600:8803:e7e4:500:3af7:75b0:bf02:8cf8]) by smtp.gmail.com with ESMTPSA id 586e51a60fabf-455c73a335esm321788fac.12.2026.07.12.09.07.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 12 Jul 2026 09:07:41 -0700 (PDT) Message-ID: <4b548db9-323c-4754-8e91-26ce94669600@baylibre.com> Date: Sun, 12 Jul 2026 11:07:40 -0500 Precedence: bulk X-Mailing-List: linux-doc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/6] dt-bindings: iio: adc: Add AD7768 To: Jonathan Cameron Cc: Janani Sunil , =?UTF-8?Q?Nuno_S=C3=A1?= , Michael Hennerich , Andy Shevchenko , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Olivier Moysan , Philipp Zabel , Linus Walleij , Bartosz Golaszewski , Jonathan Corbet , Shuah Khan , linux@analog.com, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-doc@vger.kernel.org, jananisunil.dev@gmail.com References: <20260709-ad7768-driver-v1-0-44e1194fd96a@analog.com> <20260709-ad7768-driver-v1-1-44e1194fd96a@analog.com> <36df7c4f-82ea-4ed5-a4f9-3a29c75dc99a@baylibre.com> <20260710013322.595f8ee4@jic23-huawei> <20260712023918.119fbecd@jic23-huawei> Content-Language: en-US From: David Lechner In-Reply-To: <20260712023918.119fbecd@jic23-huawei> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 7/11/26 8:39 PM, Jonathan Cameron wrote: > On Sat, 11 Jul 2026 09:40:32 -0500 > David Lechner wrote: > >> On 7/9/26 7:33 PM, Jonathan Cameron wrote: >>>>> + adi,common-mode-output: >>>>> + $ref: /schemas/types.yaml#/definitions/string >>>>> + enum: >>>>> + - avdd-avss-half >>>>> + - 1.65V >>>>> + - 2.5V >>>>> + - 2.14V >>>>> + description: >>>>> + Common mode voltage output selection. >>>> >>>> Why not using standard regulator provider bindings for this? >>> >>> Interesting question. If that was done there would need to be >>> a consumer which means explicit modelling of any analog circuit. >>> We do that in a few cases but so far (and yup this is a driver thing >>> in a dt-binding) I don't think we have any way to consumer data when >>> a backend is involved. >> >> There is also the regulator-always-on property, so strictly speaking, >> a consumer is not required. > > Makes some sense I guess. > > How would the voltage be controlled? Set min and max to same value? yes > > J >> >>> >>>> >>>>> + >>>>> + adi,vcm-power-down: >>>>> + type: boolean >>>>> + description: Power down the common mode output buffer >>>> >>>> Is the buffer separate from the output? In that case I would expect >>>> buffer to be in the property name, otherwise this should just be >>>> part of the enum options above (and the default one at that). >>>> >> >