From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 438583A83AC; Sun, 28 Jun 2026 14:09:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782655794; cv=none; b=Ga8Wgs6wWZcOR6bE/JTrBqwmKeIf8nLRA3gchSJsQdyidq2dVaDkL9h2KupAKwrzSwQF5QiyfioSkD9KndnBrarCpQtRjjriB+LbhhKpNA1asknx88gihgvHOZTmbLOP3vXsLis7gshd3PkQdJi/Nz2mkIrESa7O04mlrwtdJzY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782655794; c=relaxed/simple; bh=x2GL0GsNDsjpB7I7H/5ycLEWa7K7jpFlr1IN4vmfFi0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=JbItEpX3ZgMTH4zOQ4Le7NbzyqCYXIkKnwrwOdRmy8mrUFNYmZYBitSfLR6fcgGGxniWxUPzkqT+UC/2XbyUsDVQHhbJagMkTC/sUUZHqKsYuZ3dDMku7XXkP47zWwaPiTOvMcuuZ9cfQJfwEtpSvFvtBcvWEppEb8uHJ8/uRg0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=dJY2ar/T; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="dJY2ar/T" Received: by smtp.kernel.org (Postfix) with ESMTPS id EB6A3C2BCC6; Sun, 28 Jun 2026 14:09:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1782655794; bh=x2GL0GsNDsjpB7I7H/5ycLEWa7K7jpFlr1IN4vmfFi0=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=dJY2ar/TJU/18Pp0Swu1AFWHKoAL8i4ffDx9q7ZoLEF+M/Cm4ZyFmUXGNVpoji6JW 8UtCPD6zBfjQG1IlGv94NRzECG53i3Pup4CKUNWDypbihcNb2F/Oz57WGawdYSyOuo CCYwKdVzkhz0FZS1YSOAzZqdv+QIZCeDJJUcVd3uECu0yFG649tKe2MH/O7w6UM20p 2jrn2BKpvt6mx2HYxqsLliaSk5l2yUWQOmiIQHsYHhygX1cWaCUWbl+KMaxfciJDKt 1gyxOG+9cn8p1mv2PAtT3JSx99+4ptRjFEtK6jjkrf+XSkuJgmaRa8ruiCc9tqvSJ3 GHMM89wsbsKAQ== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id E3E76C43458; Sun, 28 Jun 2026 14:09:53 +0000 (UTC) From: Rodrigo Alencar via B4 Relay Date: Sun, 28 Jun 2026 15:08:09 +0100 Subject: [PATCH v5 02/12] dt-bindings: iio: dac: ad5696: rework on power supplies Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20260628-ad5686-new-features-v5-2-577caadbf7c0@analog.com> References: <20260628-ad5686-new-features-v5-0-577caadbf7c0@analog.com> In-Reply-To: <20260628-ad5686-new-features-v5-0-577caadbf7c0@analog.com> To: Michael Auchter , linux@analog.com, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org Cc: Michael Hennerich , Jonathan Cameron , David Lechner , Andy Shevchenko , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Philipp Zabel , Kees Cook , "Gustavo A. R. Silva" , Rodrigo Alencar , Conor Dooley X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1782655792; l=2556; i=rodrigo.alencar@analog.com; s=default; h=from:subject:message-id; bh=M2ZxcKplq9dYBzPvJ4Kk2806O8GaXfgsF0JAQRB+TJs=; b=8vpgSG1gBaaitvIjVfcBCfboo5V+we49A0fR3RS2twQS5B4cE22QPxP0IG7vwkhGp1xCiAkPg 6aEGgfCSZIoArT+JeSkDUZawoPzWluyyDdr9MysXIoY92bet+/EGfFW X-Developer-Key: i=rodrigo.alencar@analog.com; a=ed25519; pk=ULeHbgU/OYh/PG/4anHDfLgldFItQHAhOktYRVLMFRo= X-Endpoint-Received: by B4 Relay for rodrigo.alencar@analog.com/default with auth_id=561 X-Original-From: Rodrigo Alencar Reply-To: rodrigo.alencar@analog.com From: Rodrigo Alencar Add supplies for VDD, VLOGIC and VREF input voltage pins. The vcc-supply property is deprecated, once it does not really exist as none of the devices describe any power input with that name. VCC is also misleading as it sounds like the input power supply, but it is being used as an external voltage reference, which should be called VREF. Certain devices require vref-supply to be available once an internal reference voltage is absent. For correct operation vdd and vlogic supplies are required. Acked-by: Conor Dooley Signed-off-by: Rodrigo Alencar --- .../devicetree/bindings/iio/dac/adi,ad5696.yaml | 34 ++++++++++++++++++++-- 1 file changed, 31 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/iio/dac/adi,ad5696.yaml b/Documentation/devicetree/bindings/iio/dac/adi,ad5696.yaml index cc343cdf6085..e10f8596f9d3 100644 --- a/Documentation/devicetree/bindings/iio/dac/adi,ad5696.yaml +++ b/Documentation/devicetree/bindings/iio/dac/adi,ad5696.yaml @@ -33,9 +33,22 @@ properties: reg: maxItems: 1 + vdd-supply: + description: Input power supply. + + vlogic-supply: + description: + Digital power supply. On some tiny package variants for single-channel + devices, this supply is internally connected to vdd; in that case, specify + this property with the same regulator as vdd. + + vref-supply: + description: + Reference voltage supply. If not supplied the internal reference is used. + vcc-supply: - description: | - The regulator supply for DAC reference voltage. + deprecated: true + description: Use vref-supply instead. reset-gpios: description: Active-low RESET pin to reset the device. @@ -62,8 +75,21 @@ properties: required: - compatible - reg + - vdd-supply + - vlogic-supply allOf: + - if: + properties: + compatible: + contains: + enum: + - adi,ad5693 + - adi,ad5694 + - adi,ad5696 + then: + required: + - vref-supply - if: properties: compatible: @@ -90,7 +116,9 @@ examples: ad5696: dac@0 { compatible = "adi,ad5696"; reg = <0>; - vcc-supply = <&dac_vref>; + vdd-supply = <&dac_vdd>; + vlogic-supply = <&dac_vlogic>; + vref-supply = <&dac_vref>; ldac-gpios = <&gpio0 1 GPIO_ACTIVE_LOW>; }; }; -- 2.43.0